# sets

> Every sets endpoint, with its credit cost and minimum plan.

Source: https://pokemontcgapi.com/docs/api/sets

No key yet? One call gets you one: `POST /v1/accounts/free` with an `Idempotency-Key` header and your email address returns a working key in the response. See the [quickstart](https://pokemontcgapi.com/docs/quickstart).

`3` operations under `https://api.pokemontcgapi.com/v1`.

## Operations

| Operation | Endpoint | Cost | Plan |
| --- | --- | --- | --- |
| [List sets](https://pokemontcgapi.com/docs/api/sets/list) | `GET /v1/sets` | 1 credit | free |
| [Get a set](https://pokemontcgapi.com/docs/api/sets/get) | `GET /v1/sets/{code}` | 1 credit | free |
| [Cards in a set](https://pokemontcgapi.com/docs/api/sets/cards) | `GET /v1/sets/{code}/cards` | with include=index, 1 credit per 50 cards requested (the limit), rounded up; with include=prices, 4 credits per 25 | free |

**[List sets](https://pokemontcgapi.com/docs/api/sets/list)** — All 615 sets with release date, totals, print region and series, newest first.

**[Get a set](https://pokemontcgapi.com/docs/api/sets/get)** — One set by code, slug or alternate id.

**[Cards in a set](https://pokemontcgapi.com/docs/api/sets/cards)** — Every card in a set, in collection order, with correct paging past 250 rows.
