Skip to content
SETSimple Easy Transactions
SET DocsSET Crypto API Suite and SET API referenceCurrent as of 2026-11-21 · wallet release 7d8a79fb
Browse: SET API

SET API · Account export

An export's objects, as NDJSON

GET/v1/exports/{export}/objects

Key scope: read · Success: 200

An export's objects as NDJSON: one JSON object per line, object naming the kind, then the row as SET holds it. Kinds come in the order counts lists them; within a kind, oldest first.

Path parameters

export stringrequired
The export's id, exp_ and 32 hex characters.

Query parameters

cursor string
The SET-Next-Cursor value from the previous page, unchanged (400 cursor_invalid otherwise). Leave it out for the first page.
limit integer
Lines per page, 1 to 1,000; 500 by default. Outside that range: 400 limit_invalid.

Notes

  • Needs a key with the read scope: a read-only key can page an export that exists. The export must be yours (404 not_found).
  • The body is NDJSON, content type application/x-ndjson; charset=utf-8, not JSON.
  • Each line is the row as SET holds it: snake_case field names, livemode as 0 or 1, and the provider's object ids.
  • Response headers: SET-Export-Lines is the number of lines in this page; SET-Next-Cursor and Link rel="next" are present while there may be more.
  • Follow the cursor until SET-Next-Cursor is absent; that is the end of the export. Do not count lines to decide you are done: one page visits at most 8 kinds, so a page can hold fewer lines than limit before the end.
  • Each object shows its state now, for objects created at or before asOf.
  • This example is a recorded run of SET's own code (wallet release e9b03447) with a sandbox key; ids and times are that run's.

Errors

  • 404 not_found
  • 400 cursor_invalid
  • 400 limit_invalid

All codes: Errors.