AwardDB
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)

freesupportercommercial
Every paginated data endpoint✔✔✔
Requests per minute60300900
Daily request allowance10,000100,000500,000
JSON / CSV dataset exports—✔✔
SQLite index export—✔✔
Daily export byte allowance—5 GB20 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; wait Retry-After seconds.
  • 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 send max-age=86400. Detect new builds via the X-AwardDB-Build header or GET /api/v1/meta.
  • On 429, wait the Retry-After seconds before retrying. A per-IP backstop also protects the service as a whole.
  • Persistent consumers: cache aggressively and poll /api/v1/meta for new builds instead of re-fetching.
  • Identify your app via the User-Agent header 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 the Authorization header — keep the key out of public client code.