HTTP API
Stats & health
Queue depth, capacity, and liveness.
The panel below refreshes from the same data as GET /api/serp-nojs/v1/stats (via a same-origin proxy so your API key is not exposed in the browser).
Live API metrics
Loading…
GET /stats
GET /api/serp-nojs/v1/stats returns per-market queue depth and session capacity. Requires authentication when API_KEY is set on the server.
curl -sS "https://lexis-solutions-apis.com/api/serp-nojs/v1/stats" \
-H "Authorization: Bearer YOUR_API_KEY"Response shape
{
"queues": {
"webshare_res:us": 0,
"webshare_res:de": 0
},
"capacity": {
"us": { "ready": 4, "active": 6 },
"de": { "ready": 2, "active": 1 }
},
"metrics": {
"requestsProcessed": 12045,
"latencyMs": { "p50": 12, "p99": 40 }
}
}- queues — number of jobs waiting to run for each
vendor:countryqueue. - capacity.ready — search sessions available to take new jobs.
- capacity.active — sessions currently running a job.
- metrics — API process stats for accepted batches (per process):
- requestsProcessed — completed POST /serp calls since process start (
GET /statsand/healthare excluded). - latencyMs.p50 / latencyMs.p99 — time to accept the batch, from a rolling sample (up to the last 4,096 requests). The pages finish after this response.
- requestsProcessed — completed POST /serp calls since process start (
GET /health
Unauthenticated liveness probe. See Authentication.
curl -sS "https://lexis-solutions-apis.com/api/serp-nojs/v1/health"{ "ok": true }