MenuAuthentication

Guides

Authentication

One X-API-KEY header on every request.

Put your key in the X-API-KEY header of every request. There is no OAuth handshake, no token exchange and no SDK to install: a plain HTTP client is enough.

curl "https://social-api.airaa.xyz/v1/instagram/user/profile?username=instagram" \
  -H "X-API-KEY: $AIRAA_KEY"
Replace $AIRAA_KEY with your key

Keys are issued by the Airaa team, one per workspace. Book a call and tell us what you're building. Once you have access, the dashboard shows your key and your usage.

The API sends no CORS headers, so a browser can't call it directly, and a key shipped to a browser is a key anyone can read. Call it from your backend and keep the key in an environment variable.

The Try it panel in these docs works because it goes through a small relay that only forwards paths and parameters declared in the spec.

.env
AIRAA_KEY=your_key_here

A missing or invalid key returns 401. Authentication runs before routing, so every path answers 401 without a valid key, including paths that don't exist. A key that is over its quota returns 429.

401 Unauthorized
{
  "error": "Invalid API key.",
  "code": "invalid_api_key"
}

Every response carries three headers that show where you stand: x-quota-scope names the quota the call counted against, x-quota-limit is that quota's size, and x-quota-remaining is what's left. Read them to slow down before you reach 429.

Response headers
x-quota-scope: instagram
x-quota-limit: 1000000
x-quota-remaining: 999063
esc

Pages

Endpoints

↑↓ to move↵ to open