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 health requires credentials. That includes GET /api/results/:jobId.

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 /api/serp-nojs/v1/health and GET /api/serp-js/v1/health stay unauthenticated.

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

On this page