/api/v1/:tcg/expansions/:expansion_id read:catalogFetch one expansion by its id. An expansion id from the other game returns 404. Wrapped in `{ success, data }`.
GET /api/v1/pokemon/expansions/sv3pt5 These inputs are shared across all docs pages — an id entered here carries over.
{
"success": true,
"data": {
"id": "sv3pt5",
"name": "151",
"total": 207,
"language": "English",
"language_code": "en",
"series": "Scarlet & Violet",
"code": "MEW",
"printed_total": 165,
"release_date": "2023/09/22",
"logo": "https://gjnrvwqtdlspyfpezgox.supabase.co/storage/v1/object/public/tcg/sets/sv3pt5.logo.png",
"symbol": "https://gjnrvwqtdlspyfpezgox.supabase.co/storage/v1/object/public/tcg/sets/sv3pt5.symbol.png"
}
}curl -X GET 'https://service.rip.fun/api/v1/pokemon/expansions/sv3pt5' \ -H 'X-API-Key: rip_…'
| Field | Type | Required | Description |
|---|---|---|---|
expansion_id | string | yes | Path param — the expansion id, e.g. `sv3pt5`. |
select | string | — | Comma list of top-level fields to keep. |
data)| Field | Description |
|---|---|
data[].id / name / series / code | Expansion identity |
data[].total / printed_total | Card counts (incl. secret rares vs printed) |
data[].language / language_code | Canonicalized language + ISO code |
data[].release_date | Release date, `YYYY/MM/DD` |
data[].logo / symbol | Artwork URLs |
data[].translation | English name under `translation.en.name` for non-English sets |
| Status | Code | When |
|---|---|---|
| 404 | not_found | no expansion with that id for this game |
See Errors for the response envelope and the full code list.