API
v1.0.0
Accounts, API keys and credits
#worldgovdata becomes a developer platform. Create an account, mint a key, and call the same data the portal itself runs on.
Added
- Accounts: email sign-up with verification, password reset, and a settings page that owns your profile, your consent, your export and your deletion.
- A public metered API at
https://api.worldgovdata.com/v1— countries, indicators, topics, rankings, observations and metadata, in the same response shapes the portal reads. - API keys shaped
wgd_live_…, up to ten live at once. The full key is shown once at creation and never again, and any key can be revoked on the spot. - Credits, priced in rows: one credit covers about 100 observation rows, so
GET /v1/datacostsmax(1, ceil(rows / 100)). Verifying your email grants 2,000 of them. - The catalogue stays free and keyless.
/v1/countries,/v1/indicators,/v1/topicsand/v1/meta/*cost nothing and answer without credentials, so browsing to find out what to buy never costs money. - Published rate limits — 30 requests a minute anonymously, 120 with a verified account, 600 once an account has bought credits — with
X-RateLimit-*andX-Credits-*headers on every metered response. - A documentation site at /docs: quickstart, authentication, credits, rate limits, errors, pagination, licensing, a page per endpoint, and copy-paste clients in cURL, JavaScript, Python, R and Go.
- Pricing at /pricing: three one-off credit packs — starter 25,000, growth 120,000, scale 500,000. No subscription, no auto-renew, no stored cards, and credits do not expire.
- Your usage, in your account: balance, a daily chart, a per-endpoint breakdown, and the credit ledger in full — every grant and every debit, with the balance after each one.
- This changelog, filterable by category, with an RSS feed at /changelog/rss.xml.
Changed
- The legal pages are rewritten and expanded: full terms, a GDPR-grade privacy policy, cancellation and refunds, a delivery statement, acceptable use, cookies, named subprocessors, and a data-processing addendum for API customers.
- Checkout is not open yet. The packs and their prices are real and published, but card payments switch on shortly — until then credits are granted manually on request.
- The licence gate is unchanged and still absolute. Indicators held under display-only terms are never exported, and buying credits does not unlock a licence we do not hold.