List sets
Cursor-paginated list of sets, ordered by game and then by code. A card's `set` is the `code` of one of these, in the card's game and language. Send `game` to list one game's sets. Zero results is a 200, not a 404.
Cursor-paginated list of sets, ordered by game and then by code. A card's set is the code of one of these, in the card's game and language. Send game to list one game's sets. Zero results is a 200, not a 404.
ApiKeyAuthorizationBearer <rar_live_*>Send Authorization: Bearer rar_live_..., or use rar_test_... for a test key. Both lanes currently read the same catalogue. Without a key you stay in the anonymous lane: 30 requests/minute and 1,000/day, against 60/minute per key and 2,000/day per organization with one on the Free plan. Sending a key that is malformed, revoked or unknown is a 401; sending none is not.
lang?stringLanguage of the print. Never negotiated through Accept-Language.
^[^\u0000-\u001f\u007f-\u009f]*[^\u0000-\u001f\u007f-\u009f\s][^\u0000-\u001f\u007f-\u009f]*$"en"cursor?stringOpaque cursor returned in next_cursor. Do not build it by hand.
length <= 512limit?integerItems per page. Safe integers are clamped to 1-100, not rejected.
-9007199254740991 <= value <= 900719925474099120game?stringGame code, as returned in a card's game.
^[^\u0000-\u001f\u007f-\u009f]*[^\u0000-\u001f\u007f-\u009f\s][^\u0000-\u001f\u007f-\u009f]*$If-None-Match?stringETag already known to the client. A 304 does not consume rate limit.
A page of sets. Zero results = 200 with data: [].
application/json- response
List envelope. Zero results is a 200 with data: [], never a 404.
object*stringdata*array<>has_more*booleanThe only end-of-pagination signal.
next_cursor*|Present and non-null if and only if has_more is true.
curl -X GET 'https://api.rarity.dev/v1/sets' \ -A 'my-app/1.0 (you@example.com)'{ "object": "list", "data": [ { "object": "set", "game": "one_piece", "lang": "string", "code": "OP01", "name": "string", "release_date": "2019-08-24", "source_code": "string", "updated_at": "2019-08-24T14:15:22Z", "search_uri": "http://example.com" } ], "has_more": true, "next_cursor": "string"}List price sources GET
Returns the market, currency, freshness, attribution, commercial-use policy, terms and games covered by every configured price source.
Download the latest export for a bulk type GET
Returns 302 to the latest timestamped immutable object. Redirect following is normally automatic; disable it to inspect Location.