Authorization header with your API key:
Content-Type: application/json.
Get an API key
Create and manage keys from your dashboard at aisearchapi.dev. New accounts start with 500 free credits — no card required.Sign in to the dashboard
Go to aisearchapi.dev and sign in (or create an account).
Create a key
Open the API keys section and generate a new key. Copy it immediately — the full value is shown only once.
Authenticate a request
Send the key in theAuthorization header on every call.
Keep keys server-side
If a key is ever exposed, revoke it in the dashboard and issue a new one.Auth errors
Every error response uses the standard envelope:401:
No
Authorization header, or the header is malformed (missing the Bearer prefix or the token).The
Authorization header is well-formed, but the key is wrong, revoked, or unknown.No auth required for health
The liveness endpoint is public and does not require a key:Make your first request
Send a search and read the result, end to end.