Macfax Lookup API

The Lookup API from Macfax — 1 operation(s) for lookup.

GitHub OpenAPI

Operations 1

GET /api/v1/lookup Identify a Mac, iPad or iPhone by serial number #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/macfax-com:macfax-com-lookup-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

macfax-com-lookup-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Macfax Lookup API
  version: 1.1.0
  description: 'Free JSON API for the used-Mac market: serial lookup, sale and asking price statistics per configuration, quality-gated live listing search with deep links, single-listing trust checks, verified condition reports, and standing listing alerts. Nothing is sold: there are no paid tiers, credits or plans.


    Every response is `{ data, meta }` (or `{ error, meta }`): meta carries `as_of`, `source`, `docs`, and — on price-carrying endpoints — `attribution`. Prices ship as two labeled slices, never blended. The `sold` block is the headline sale estimate, labeled by `sold.basis`: "direct" = percentiles over verified sales (n and window disclosed), "calibrated" = the asking band scaled by a measured, disclosed clearance ratio. The asking band (`price_basis: "asking"`, field names say `_ask`) is seller listing guidance — what sellers list at, not what Macs sell for. Preserve the labels when citing.


    Identity is graduated, never a wall: anonymous per-IP limits → an instant free key (`POST /api/v1/keys`, returned in-response, no email) at roughly 10× limits. Honest `429`s carry `Retry-After` and `X-RateLimit-*` headers, and a refused lookup carries a `help` object naming the exact next call to make.


    Serial lookup is the one operation with a daily allowance of serials, because identifying a serial Macfax has never seen draws on a source it does not control. Anonymous callers get 5 new serials a day and a free key gets 25, within 200 distinct serials a day; serials Macfax has already answered, pre-2021 serials and repeats within 24 hours do not count as new. A new serial is a 2021 or newer (10 character) serial that Macfax has not answered before and that this caller has not already asked about in the last 24 hours. New serials also share one ceiling of 2000 a day across every caller. `GET /api/v1/limits` returns a caller''s allowances and what it has used.


    Changed 2026-11-14 (1.1.0): prepaid credits are gone. `GET /api/v1/credits` and `POST /api/v1/credits/checkout` answer `410`, lookups no longer return a `billing` block, an `X-Credits-Remaining` header or `402`, the refusal object is `error.help` rather than `error.offer`, and `new_serial` says whether a lookup counted against the allowance.


    The same tools are served over MCP (streamable HTTP, authless) at https://macfax.com/mcp, registry name com.macfax/macfax.


    Attribution: cite results as "Macfax" linking the `html_url`/`macfax_url` in the payload. Listings must keep their deep link to the source marketplace. Bulk export and catalog replication are not offered.'
  contact:
    url: https://macfax.com/developers
    email: support@macfax.com
  termsOfService: https://macfax.com/terms
servers:
- url: https://macfax.com
security:
- {}
- bearer: []
- apiKeyHeader: []
- apiKeyQuery: []
tags:
- name: Lookup
paths:
  /api/v1/lookup:
    get:
      operationId: lookup_mac_serial
      summary: Identify a Mac, iPad or iPhone by serial number
      description: 'Resolves an Apple serial number to its exact model, including 2021+ randomized serials whose characters encode nothing (so no character-decoder can read them). Macs, iPads and iPhones resolve; device_type carries Apple''s device class. status says what came back (resolved, unknown_serial, unsupported, retry) so a batch never has to parse note. record is the device''s history on Macfax: first seen, how often it has been looked up (in buckets), countries in 30 days, and any listing, report or sanitization record on file. For a Mac it also reports whether a verified Macfax report exists for the serial (report carries its URL) and what the model is worth (market: the same object /api/v1/market returns, or null). Lookup ≠ proof: it cannot verify condition, Activation Lock, or possession; a Macfax report can. Free, within daily allowances: anonymous callers get 5 new serials a day and a free key gets 25, within 200 distinct serials a day; serials Macfax has already answered, pre-2021 serials and repeats within 24 hours do not count as new. Running a batch: https://macfax.com/developers#batch. Rate limits: 10/min and 200/day per anonymous IP; 100/min and 2000/day with a free key.'
      parameters:
      - name: serial
        in: query
        required: true
        description: '10 characters on 2021+ devices (a letter first, then digits and consonants: never a vowel, B, S or Z), 11-12 on older ones. Anything else is a 400 that counts against nothing.'
        schema:
          type: string
          pattern: ^([CDFGHJKLMNPQRTVWXYcdfghjklmnpqrtvwxy][0-9CDFGHJKLMNPQRTVWXYcdfghjklmnpqrtvwxy]{9}|[A-Za-z0-9]{11,12})$
      - name: context
        in: query
        required: false
        description: 'Optional. Why the serial is being looked up: inventory (counting devices an organization holds), intake (devices arriving for refurbishment, trade-in or repair), resale (pricing or listing one to sell), buyer (checking one before buying), support, or other. Set it once in your client. Any other value is a 400.'
        schema:
          type: string
          enum:
          - inventory
          - intake
          - resale
          - buyer
          - support
          - other
      - name: run_id
        in: query
        required: false
        description: Optional. A UUID you mint once per batch and send with every serial in it, so the run's answers group together. Ignored when it is not a UUID.
        schema:
          type: string
          format: uuid
      responses:
        '200':
          description: 'The answer for this serial, including the unresolved ones: status tells them apart, and new_serial says whether it counted against the daily allowance.'
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    $ref: '#/components/schemas/LookupResult'
                  meta:
                    type: object
        '400':
          description: 'invalid_serial: not the shape of a serial (a word, or an O where a zero belongs). invalid_context: context is not one of the listed values. Neither counts against an allowance.'
        '401':
          description: 'invalid_key: the key sent is unknown or revoked.'
        '403':
          description: 'blocked: contact support@macfax.com.'
        '429':
          description: 'Honor Retry-After and resend the same serial. error.code says which limit: rate_limited (the per-minute or daily request limit for this caller), novel_budget (this caller''s daily allowance of new serials), answer_budget (a free key''s 200 distinct serials a day), or daily_capacity (the shared daily ceiling on new serials across every caller, which no key lifts). error.help carries the next call to make. Sleep for the Retry-After given, never a fixed pause: a daily limit can take hours.'
      tags:
      - Lookup
components:
  schemas:
    LookupResult:
      type: object
      description: One serial's answer. Branch on status; note says the same thing in English for a person.
      properties:
        serial:
          type: string
          description: The serial the answer is about, uppercased (with letter O read as zero when only that resolved).
        corrected_from:
          type:
          - string
          - 'null'
          description: The serial as sent, when it only resolved after reading letter O as zero.
        serial_kind:
          type: string
          enum:
          - randomized
          - legacy
          description: randomized = 10 characters (2021 on), legacy = 11-12 characters.
        status:
          type: string
          enum:
          - resolved
          - unknown_serial
          - unsupported
          - retry
          description: 'resolved: the model is identified. unknown_serial: no device has this serial, usually a typo; final, cached, so asking again is free. unsupported: a real Apple device whose model cannot be identified yet; never charged, and asking again gives the same answer. retry: a temporary upstream failure; never charged, so resend it later.'
        resolved:
          type: boolean
          description: True exactly when status is resolved.
        model:
          type:
          - string
          - 'null'
          description: 'Apple''s name for the model, e.g. "MacBook Pro (14-inch, 2021)" or "iPad (A16)". Display text: names vary between sources.'
        device_type:
          type:
          - string
          - 'null'
          description: 'Apple''s device class: "Mac laptops", "Mac desktops", "iPad" or "iPhone". Null when unresolved, or for a device outside those four. For iPads and iPhones it is the one structured field, since model_identifiers and market come from the Mac catalogue.'
          examples:
          - Mac laptops
          - Mac desktops
          - iPad
          - iPhone
        model_identifier:
          type:
          - string
          - 'null'
          description: The Apple model identifier when exactly one fits, e.g. "MacBookPro18,3".
        model_identifiers:
          type: array
          items:
            type: string
          description: 'Every Apple model identifier the model can be: the stable join key for a Mac catalogue. Empty for iPads and iPhones.'
        model_code:
          type:
          - string
          - 'null'
          description: Apple's configuration code, when the resolver returns one.
        year:
          type:
          - integer
          - 'null'
          description: Model year when Apple's name carries one. Null for chip-only names such as "MacBook Air (13-inch, M5)" or "iPad (A16)".
        report:
          type:
          - object
          - 'null'
          description: A verified Macfax report on file for this serial (id, url, model_name, model_identifier, hardware_verified, issued_at), or null.
        market:
          type:
          - object
          - 'null'
          description: What the model is worth, the same object /api/v1/market returns. Null for iPads, iPhones and Macs from before Apple Silicon.
        record:
          type:
          - object
          - 'null'
          description: What Macfax has seen of this device, built from every lookup of the serial and joined to what is on file. Counts are buckets, never raw numbers. Null when the serial did not resolve. No identity, place finer than a country, or referrer is ever returned.
          properties:
            first_seen:
              type: string
              description: Month of the first lookup Macfax has of this serial, "YYYY-MM".
            times_seen:
              type: string
              enum:
              - first_time
              - 2_to_5
              - 6_or_more
              description: Lookups of this serial, counted as distinct callers per day and including this one.
            times_seen_30d:
              type: string
              enum:
              - first_time
              - 2_to_5
              - 6_or_more
              description: The same count over the last 30 days.
            countries_30d:
              type: integer
              description: Distinct countries the serial was looked up from in the last 30 days.
            listed:
              type:
              - object
              - 'null'
              description: A live listing on Macfax for this device (source, url, asking_usd, since), or null.
            report_url:
              type:
              - string
              - 'null'
              description: The latest verified Macfax report on this serial.
            sanitization_url:
              type:
              - string
              - 'null'
              description: The latest sanitization record on this serial that was not voided.
        note:
          type: string
          description: The answer in one sentence, for a person.
        caveat:
          type: string
        new_serial:
          type: boolean
          description: Whether the answer needed a brand new 2021+ resolution, which is what the daily allowance of new serials counts. False for serials Macfax already knew, pre-2021 serials, repeats within 24 hours, and answers that came back retry or unsupported.
  securitySchemes:
    bearer:
      type: http
      scheme: bearer
      description: Optional free API key (mfx_…).
    apiKeyHeader:
      type: apiKey
      in: header
      name: X-Api-Key
    apiKeyQuery:
      type: apiKey
      in: query
      name: api_key