Docs / API reference
Get catalog stats
GET /v1/stats: how much the catalog holds: items (games and add-ons, not editions or card sets), approved photos, and sources.
GET /v1/statsNo key needed.
Three numbers for a front page. Public, and cached for five minutes.
Example
curl "https://tablearchive.dev/v1/stats"const res = await fetch('https://tablearchive.dev/v1/stats')
const data = await res.json()import requests
res = requests.get(
"https://tablearchive.dev/v1/stats",
)
data = res.json()Response
{ "items": 12119, "photos": 11223, "sources": 28 }Errors
| Status | When |
|---|---|
429 | Rate limited; wait for Retry-After seconds |
Every error is JSON with an error message. See Rate limits and errors.