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.
openapi: 3.2.0
info:
title: Macfax Alerts 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: Alerts
paths:
/api/v1/alerts:
post:
operationId: create_mac_alert
summary: Create a standing listing alert (email, human-confirmed)
description: 'Watch the market for a configuration: a daily email when new matching listings appear. CONSENT CONTRACT: create an alert only for a user who explicitly asked for this alert on this email address. The first alert for a new email is created as pending_confirm and activates only when the email''s owner clicks the confirmation link — nothing sends before that, and unconfirmed alerts don''t exist for any other purpose. Every alert email carries manage + unsubscribe links. Per-email creation is capped at 5/day. Rate limits: 2/min and 3/day per anonymous IP; 4/min and 6/day with a free key.'
requestBody:
required: true
content:
application/json:
schema:
type: object
required:
- email
- config
properties:
email:
type: string
format: email
config:
type: string
description: config_key_l0 or _l1
ram_gb:
type: integer
storage_gb:
type: integer
max_price_usd:
type: integer
min_tier:
type: string
enum:
- listed
- free
description: free = only listings with a verified Macfax report attached.
under_typical:
type: boolean
description: Only listings under the config's typical asking range (p25 gate).
responses:
'201':
description: Created — status is active or pending_confirm.
'400':
description: 'Invalid email or config, or undeliverable_email: the address''s domain is a placeholder or has no mail server.'
'429':
description: Rate limited (per-caller or per-email).
tags:
- Alerts
components:
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