API ReferenceFull Dump

Full dump

GET /api/v1/merchant/items/full-dump

Entire active catalogue in a single response. Regenerated every ~60 s, pre-gzipped in Redis. Use this for bulk sync instead of walking /items page by page.

Requires Authorization: Bearer mer_live_… (Authentication).

Headers

HeaderDirectionNotes
If-None-MatchrequestSend the previous ETag to receive 304 Not Modified.
Accept-EncodingrequestSend gzip to get the compressed blob (much faster).
ETagresponseStrong ETag of the current dump.
Last-ModifiedresponseHTTP-date of the last regeneration.
X-Items-CountresponseTotal items in the dump.
Content-Encodingresponsegzip when the client advertised it; otherwise omitted.

Example

curl --compressed "https://api.tradeon.market/api/v1/merchant/items/full-dump" \
  -H "Authorization: Bearer mer_live_…" \
  -H 'If-None-Match: "etag-from-previous-call"'

200 OK body:

{
  "generated_at": "2026-05-05T16:00:00.000Z",
  "items_count": 312487,
  "items": [ /* ... CatalogItem objects ... */ ]
}

Each entry follows the CatalogItem schema.

304 Not Modified — your ETag matches; no body.

Errors

HTTPcodeWhen
503FEED_NOT_READYBriefly after a deploy until the first dump is generated (≤60 s).