Authentication
The RankNibbler API uses a simple API key. All 40 authenticated endpoints require a valid key — there's no OAuth flow or token exchange to manage. Only the docs pages and the OpenAPI spec are open.
Passing your key
Send your key one of two ways. The X-API-Key header is preferred — it keeps the key out of URLs, logs and browser history.
- curl -H "X-API-Key: YOUR_KEY" \
- "https://www.ranknibbler.com/api/audit?url=https://example.com"
- curl "https://www.ranknibbler.com/api/audit?url=https://example.com&key=YOUR_KEY"
Getting a key
Keys are created from your account, not anonymously. Create a free account and generate a key in your dashboard:
- Create a free account (or sign in).
- Open your API dashboard and create an API key.
- Copy the key — it's shown once — and use it in the header above.
The old anonymous POST /api/v1/key endpoint is retired and now returns 403, pointing you here to sign up.
Your daily quota is account-wide
The free tier allows 100 requests per day, shared across all of your account's keys — it is not 100 per key. Creating extra keys doesn't add quota; they're just for organising, rotating or revoking access. Going over the shared limit returns 429. See API keys and Rate limits.
Keep your key secret
Treat an API key like a password:
- Call the API from your server, not from browser-side code shipped to users.
- Prefer the header over ?key= so it doesn't end up in server logs or analytics.
- If a key leaks, revoke it in your dashboard and create a new one.
Every endpoint, every plan
One key unlocks all 40 authenticated endpoints, including the ones marked Beta. There is no per-endpoint plan gating — Free can call everything Enterprise can. Plans differ only in the daily request allowance; see Rate limits or read the live matrix from GET /api/v1/plans.
Failed authentication
A missing or invalid key returns 401:
- { "error": "Missing or invalid API key. Get one at https://www.ranknibbler.com/api" }
Two caveats. A handful of endpoints check that their engine or upstream service is available before they check your key, so an unauthenticated call to one of those can return 503 instead. And keyword analysis also validates its keywords parameter before authenticating, so a call without keywords returns 400 whatever key you send — don't use it to test a key. See Errors for the full list of status codes.