API documentation pages
Bulk downloads & access levels
Every key can read every paginated data endpoint. Complete dataset downloads are a supporter/commercial benefit — with checksums so you can verify what you get.
Tiers (launch defaults — adjustable by configuration, not public pricing commitments)
| free | supporter | commercial | |
|---|---|---|---|
| Every paginated data endpoint | ✔ | ✔ | ✔ |
| Requests per minute | 60 | 300 | 900 |
| Daily request allowance | 10,000 | 100,000 | 500,000 |
| JSON / CSV dataset exports | — | ✔ | ✔ |
| SQLite index export | — | ✔ | ✔ |
| Daily export byte allowance | — | 5 GB | 20 GB |
The tier belongs to the account; all of its keys inherit it. Request quotas are enforced per key with persistent counters (correct under multiple workers); download entitlements and byte quotas are configured independently per tier and per format.
403 entitlement_required— the download is not in the key's tier (e.g. a free key requesting/api/v1/exports/works).429 rate_limited— per-minute limit; waitRetry-Afterseconds.429 daily_limit_exceeded— daily request cap; resets at 00:00 UTC.429 export_quota_exceeded— daily export byte cap; resets at 00:00 UTC. Accounting is atomic: a download larger than your remaining allowance is refused before any bytes are sent (JSON/CSV bytes are charged when delivered; the SQLite index is charged atomically before transfer, so an interrupted download can only over-count, never under-count).
All 429 responses include a Retry-After header.
Examples
# What's available, which build it comes from, and what YOUR tier may download
curl -s https://awarddb.com/api/v1/exports \
-H "Authorization: Bearer $AWARDDB_KEY" \
| jq '{build: .build.builder_version,
output_md5: .build.output_md5,
counts: [.datasets[] | {dataset, records}],
entitled: [.datasets[] | select(.entitled) | .dataset]}'
# Every work, cross-organization, with verified identifiers (JSON)
curl -sOJ https://awarddb.com/api/v1/exports/works \
-H "Authorization: Bearer $AWARDDB_KEY"
# (free tier → 403 entitlement_required; see the tiers table above)
# Every source record as flat CSV (loadable into any spreadsheet / pipeline)
curl -sO "https://awarddb.com/api/v1/exports/recognition_records?format=csv" \
-H "Authorization: Bearer $AWARDDB_KEY"
# → columns incl. id, org_id, event_id, category_id, kind, is_winner,
# ex_aequo, credit_name, source_table, local_record_id, source_url,
# entry_group_id (the official unit this record belongs to)
# The whole index as SQLite — byte-identical to the current build
curl -sO https://awarddb.com/api/v1/exports/awarddb.sqlite \
-H "Authorization: Bearer $AWARDDB_KEY"
md5sum awarddb-*.sqlite # == X-AwardDB-Build header == /api/v1/meta output_md5
# PowerShell: (Get-FileHash -Algorithm MD5 .\awarddb-*.sqlite).Hash
# Verify any download — SHA-256 + build metadata, no export tier needed
curl -s https://awarddb.com/api/v1/exports/checksums \
-H "Authorization: Bearer $AWARDDB_KEY" \
| jq '.datasets[] | select(.dataset=="works")'
# {
# "dataset": "works",
# "files": {
# "json": { "filename": "awarddb-works-…json", "sha256": "…", "size": … },
# "csv": { "filename": "awarddb-works-…csv", "sha256": "…", "size": … }
# }
# }
sha256sum awarddb-works-*.json # must equal files.json.sha256
md5sum awarddb-*.sqlite # must equal the build output_md5
Usage guidelines
- Successful GETs send
Cache-Control: public, max-age=300— please honor it; exports sendmax-age=86400. Detect new builds via theX-AwardDB-Buildheader orGET /api/v1/meta. - On
429, wait theRetry-Afterseconds before retrying. A per-IP backstop also protects the service as a whole. - Persistent consumers: cache aggressively and poll
/api/v1/metafor new builds instead of re-fetching. - Identify your app via the
User-Agentheader so we can reach you for questions. - The API is read-only and CORS-open (
Access-Control-Allow-Origin: *), so browser clients may call it directly with the key in theAuthorizationheader — keep the key out of public client code.