SiteSwapDevelopers
Principles

Pagination

Lists go page by page with a cursor.

Lists take limit (1 to 100, default 25). When there is more, the answer has a next_cursor: send it back as cursor for the next page, with the same filters. On the last page next_cursor is null.

curl -H "X-API-Key: ssk_YOUR_KEY" "https://dev.siteswap.pro/api/v1/listings?marketplace=materials&limit=100"
curl -H "X-API-Key: ssk_YOUR_KEY" "https://dev.siteswap.pro/api/v1/listings?marketplace=materials&limit=100&cursor=NEXT_CURSOR"

A cursor continues after the last listing you saw, so listings posted while you page never move a page or show twice. A cursor is opaque: do not build one yourself. One that the API did not give answers 400 invalid_cursor.

SiteSwap API v1Support