Principles
Responses and numbers
The envelope, money in cents, times in UTC.
The envelope
Single items answer { data: {...}, meta }, lists { data: [...], next_cursor, meta }. meta carries the request id:
JSON
{ "data": { "id": "1042" }, "meta": { "request_id": "3f9a1c0b7d2e", "api_version": "v1" } }The same id is in the X-Request-Id header. Quote it when you write to support.
Numbers and names
- Money is whole US cents:
price.cents: 1250is $12.50 a unit. Bodies you send take dollars (price,total), as the forms do. - Quantities are numbers in the listing's
unit.quantity.openis what is not promised to an accepted offer. - Ids are strings of digits. Treat them as text.
- Times are ISO 8601 in UTC:
2026-12-02T14:03:20.991Z. Dates you send areYYYY-MM-DD. - Places: a listing shows its town, state and straight-line miles. Exact addresses and ZIP codes never leave SiteSwap.
SiteSwap API v1Support