Docs / API reference
List terms
GET /v1/terms: every mechanic, category, and other tag in the catalog, with how many items carry each.
GET /v1/termsNo key needed while the catalog is public; with a key you get photo links on every page and a higher rate limit.
Tags on items, by kind and name. Use a term's slug with term= on GET /v1/items.
Query parameters
| Name | Type | Required | Description |
|---|---|---|---|
kind | string, up to 50 characters | No |
Example
curl "https://tablearchive.dev/v1/terms?kind=mechanic" \
-H "Authorization: Bearer $TA_KEY"const res = await fetch('https://tablearchive.dev/v1/terms?kind=mechanic', {
headers: { Authorization: `Bearer ${process.env.TA_KEY}` },
})
const data = await res.json()import os, requests
res = requests.get(
"https://tablearchive.dev/v1/terms?kind=mechanic",
headers={"Authorization": f"Bearer {os.environ['TA_KEY']}"},
)
data = res.json()Response
{
"terms": [{ "kind": "mechanic", "name": "Deck Building", "slug": "deck-building", "item_count": 412 }]
}Notes
- Not paged: the list is small.
Errors
| Status | When |
|---|---|
400 | A parameter or field is missing or invalid; details names each one |
429 | Rate limited; wait for Retry-After seconds |
Every error is JSON with an error message. See Rate limits and errors.