IndieAPIs Gateway Documentation

One unified API key, consistent gateway headers, hard spend caps, and AI-agent MCP readiness across every API on IndieAPIs.

1. Authentication (One Key for Everything)

Create a single API key in your Dashboard and send it in either header:

X-IndieAPIs-Key: ia_live_your_key_here
# or
Authorization: Bearer ia_live_your_key_here

2. Gateway Base URL

GET https://api.indieapis.com/v1/<api-slug>/<endpoint>?param=value

Example — fetching today's Premier League fixtures via Global Football Data API:

curl -s "https://api.indieapis.com/v1/global-football-data/fixtures?league=39&date=2026-12-01" \
  -H "X-IndieAPIs-Key: ia_live_your_key_here"

3. Hard Spend Caps & Quota Headers

Every gateway response returns live quota headers:

X-Quota-Limit: 25000
X-Quota-Used: 1420
X-Quota-Remaining: 23580
X-Quota-Reset: 2027-01-01T00:00:00.000Z
X-RateLimit-Limit: 60
X-RateLimit-Remaining: 59
X-IndieAPIs-Cache: HIT

When X-Quota-Remaining reaches 0, the gateway immediately returns HTTP 429 ({"error": "quota_exceeded"}). You will never be charged surprise overages.

4. AI Agents & MCP Discovery

AI coding assistants and autonomous agents can discover every approved API via /llms.txt, and every API page provides a copy-ready MCP config tab.