Data APIs
HTTP API

Authentication

API key required for all routes except health checks.

Authentication

When an API key is enabled on the service, every route except GET /health requires credentials.

Send the key using either header:

Authorization: Bearer YOUR_API_KEY

or

X-API-Key: YOUR_API_KEY

Missing or wrong keys receive:

{ "error": "unauthorized" }

with HTTP status 401.

Health checks

GET /health stays unauthenticated so load balancers and orchestrators can probe liveness without secrets.

curl -sS "https://serp.lexis-solutions-apis.com/health"
{ "ok": true }

On this page