A blazing fast, zero-maintenance serverless API for Cards Against Humanity cards. Serves card metadata, full packs, random counts, and combined decks over global CDNs.
Test the serverless endpoints in real-time. Select a preset or customize the path below.
Click "Send Request" to fetch data...
All endpoints respond in JSON format, support CORS, and are automatically cached for fast response times.
| Method | Endpoint | Description |
|---|---|---|
| GET | /api/sets | List all available card packs including metadata (name, official status, sheet source). |
| GET | /api/sets/:id | Retrieve a complete pack including all white (answers) and black (prompts) cards. |
| GET | /api/sets/:id?n=5 | Retrieve n random white cards from a specific pack. |
| GET | /api/multi?sets=0,1 | Combine cards from multiple packs (comma-separated list of IDs) into a single object. |
| GET | /api/sheets | List all unique sheet sources (e.g. CAH Packs, Fan Expansions). |
| GET | /api/sheets/:id | Retrieve all sets associated with the given slugified sheet ID (e.g. cah-packs). |
fetch() calls from anywhere.