Pagination

Swappr uses cursor-based pagination everywhere. Offset pagination is forbidden — it breaks under inserts and gets slow on large collections.

Query

Response envelope

Sorting

Default sort is by creation time descending (newest first). Endpoints that allow alternate sorts document them explicitly via ?sort=field,-otherField with a whitelisted set.