DGCA — scheduled airline & airworthiness
note
Status: Fixture Mode — Endpoint, schema, auth, and SDKs are production-grade. Responses are deterministic samples drawn from real regulator publications. Activates to live within 5–15 business days of order — no integration changes required.
What it does
Directorate General of Civil Aviation issues airline operating permits and aircraft airworthiness certificates. Our API exposes these registries — useful for travel-tech onboarding (verify carrier legitimacy), aviation-finance KYC, and crew-recruiter background-verification.
Base URL
https://dgca.sahayakonline.co.in/v1/
Endpoints
| Method | Path | Description |
|---|---|---|
GET | /health | Liveness probe |
GET | /v1/dgca/airline/{airline_code} | Airline operating-permit status |
GET | /v1/dgca/aircraft/{tail_no} | Aircraft airworthiness certificate |
Sample request
- cURL
- Python
- Node.js
curl -sS https://dgca.sahayakonline.co.in/v1/dgca/airline/AI \
-H "Authorization: Bearer $SAHAYAK_KEY" \
-H "Accept: application/json"
import os, requests
resp = requests.get(
"https://dgca.sahayakonline.co.in/v1/dgca/airline/AI",
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://dgca.sahayakonline.co.in/v1/dgca/airline/AI', {
headers: {
'Authorization': `Bearer ${process.env.SAHAYAK_KEY}`,
'Accept': 'application/json',
},
});
console.log(await resp.json());
Sample response
{
"spec_ref": "spec_dgca_v1",
"endpoint": "/v1/dgca/airline/AI",
"method": "GET",
"results": [
{
"iata": "AI",
"icao": "AIC",
"name": "Air India Limited",
"operating_permit": "Scheduled Operator Permit (Passenger)",
"permit_valid_until": "2027-12-31",
"fleet_size": 130
}
],
"meta": { "fixture_mode": true, "note": "Activates to live data within 5–15 business days of order." }
}
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. Live activation refreshes weekly against the DGCA permit registry.