AAI — airport traffic statistics
tip
Status: LIVE — Real-time data from the upstream regulator. Updated on the regulator's publication cadence.
What it does
Airports Authority of India publishes monthly traffic statistics for every operational airport. Our API normalizes their PDF tables into queryable JSON with consistent ICAO/IATA airport codes, broken down by domestic vs international and passenger vs cargo flows. Year-over-year growth is precomputed.
Base URL
https://aai-airport.sahayakonline.co.in/v1/
Endpoints
| Method | Path | Description |
|---|---|---|
GET | /health | Liveness probe |
GET | /v1/aai/traffic | List all airports' latest monthly traffic |
GET | /v1/aai/traffic/{iata_code} | Single airport with full monthly history |
GET | /v1/aai/airports | Airport master with ICAO+IATA codes and operational status |
GET | /v1/aai/rankings | Airport rankings by passenger/cargo for a given month |
Sample request
- cURL
- Python
- Node.js
curl -sS https://aai-airport.sahayakonline.co.in/v1/aai/traffic/DEL \
-H "Authorization: Bearer $SAHAYAK_KEY" \
-H "Accept: application/json"
import os, requests
resp = requests.get(
"https://aai-airport.sahayakonline.co.in/v1/aai/traffic/DEL",
headers={"Authorization": f"Bearer {os.environ['SAHAYAK_KEY']}", "Accept": "application/json"},
timeout=10,
)
resp.raise_for_status()
print(resp.json())
const fetch = (await import('node-fetch')).default;
const resp = await fetch('https://aai-airport.sahayakonline.co.in/v1/aai/traffic/DEL', {
headers: {
'Authorization': `Bearer ${process.env.SAHAYAK_KEY}`,
'Accept': 'application/json',
},
});
console.log(await resp.json());
Sample response
{
"spec_ref": "spec_V3_10_AAI_Airport_Traffic_Statistics_API",
"endpoint": "/v1/aai/traffic/DEL",
"method": "GET",
"results": [
{
"iata": "DEL",
"icao": "VIDP",
"name": "Indira Gandhi International, Delhi",
"month": "2026-04",
"passengers_domestic": 4823177,
"passengers_international": 1934022,
"cargo_tonnes": 78421,
"yoy_growth_pax_pct": 6.4
}
],
"meta": { "fixture_mode": false, "url": "https://aai-airport.sahayakonline.co.in/v1/" }
}
Error codes
| Code | Meaning | Recommended action |
|---|---|---|
400 | Malformed request (missing required param, invalid format) | Fix request shape. Response body includes error.field pinpointing the issue. |
401 | Missing or invalid Authorization header | Verify key prefix matches your tier and that the header is Authorization: Bearer …. |
403 | Key valid but not entitled to this endpoint | Sandbox keys cannot call live-tier endpoints. Upgrade or request entitlement. |
404 | Resource not found | Check identifier format. Some endpoints return 200 with empty results[] instead of 404 — verify the endpoint convention. |
429 | Rate limit exceeded | Honor Retry-After header. Sandbox 30 r/m, Starter 300 r/m, Growth 1500 r/m. |
503 | Upstream regulator unreachable after retries | Live-tier only. Sahayak retries 3× with backoff before surfacing. Implement circuit-breaker on caller side. |
Rate limits
| Tier | Rate limit | Monthly cap |
|---|---|---|
| Sandbox | 30 r/min | 1,000 live calls (shared across 3 LIVE endpoints) |
| Starter | 300 r/min | 10,000 live calls |
| Growth | 1,500 r/min | 100,000 live calls |
| Scale | custom | 500,000+ |
SLA reference
See Status & SLA for uptime targets, latency targets, and incident communication. Monthly stats land within 7 days of AAI's mid-month publication cycle.