Kabul Institute

API documentation

Base URL: https://aidtracker.kabulinstitute.org · OpenAPI dump: /openapi.json (schema may list endpoints; access rules below are authoritative).

Authentication

Create keys at /account/ after upgrading.

CORS

Public summary/status responses may be fetched cross-origin (Access-Control-Allow-Origin: *). Gated endpoints are same-origin / credentialed (session) or API-key authenticated — not open CORS.

Rate limits (per day, approximate)

TierDaily requests
Public / anonymous200 (stricter for bot-like clients)
Registered2,000
Researcher-Pro20,000
Institutional100,000

Endpoints

PathAccessNotes
/v1/summary.json (+ year variants)PublicFunding-gap headline
/v1/status.jsonPublicIngest / freshness
/v1/methodology/*PublicTrust rules
/v1/evidence.jsonPublicCited evidence-document library
/v1/explorer.jsonPublicAggregated FTS cube powering the interactive explorer — dictionary-encoded grouped facts (donor × recipient × sector × stage × boundary × year) plus province need/presence. No row-level detail.
/v1/explorer/flows.jsonRegisteredRow-level FTS flows behind the explorer
/v1/donors, recipients, sectors, scorecards, geo, trail, chains, benefit-events, requestsRegisteredInteractive dashboard data
/v1/downloads/* (JSON index + CSV)ProWatermarked CSV raw exports

Embed soft-launch

Until 19 September 2026, chart data requested from /embed pages may be served without login (registered-tier paths only; downloads stay Pro). After the cutoff, interactive embeds need a Registered session. Headline embeds that use only /v1/summary remain public.

Example

curl -H "Authorization: Bearer aal_YOUR_KEY" \
  https://aidtracker.kabulinstitute.org/v1/donors.json

Errors