BrowserSolver

Stats

Infrastructure health for an engine or endpoint over the last hour. Not scoped to your workspace.

The Stats endpoint returns a single infrastructure health snapshot for an API engine or a specific path. Metrics are aggregated across the whole platform over a one-hour window. They are not your workspace usage. There is no hourly time series. Use Usage for your workspace quota.

This endpoint is free. It never consumes any credits.

API Stats is enabled per workspace. HTTP 403 means it is not active on your workspace. Contact support to activate it.

These are infrastructure stats for the platform, not stats for your workspace. Every authenticated caller sees the same health snapshot. For remaining credits and rate limits, use Usage.

Query parameters

Provide at least one of engine or path.

  • engine (string): API family to check, for example linkedin or google.
  • path (string): specific endpoint to check, for example /v2/linkedin/profile/info. If you also pass engine, use an endpoint from that API.

Request

curl "https://api.browsersolver.com/v1/stats?engine=linkedin" \
  -H "x-api-key: YOUR_API_KEY"
curl "https://api.browsersolver.com/v1/stats?path=/v2/linkedin/profile/info" \
  -H "x-api-key: YOUR_API_KEY"

Health values

  • operational: success rate at or above 90%.
  • degraded: success rate from 50% up to 90%.
  • down: success rate below 50%.

Response Fields

FieldTypeDescription
enginestringEngine slug derived from the catalog (for example linkedin)
pathstring | nullNormalized path filter, or null when you query by engine only
healthstringoperational, degraded, or down for the last hour
success_ratenumberSuccess rate over the last hour. Only HTTP 5xx counts as failure. Low-volume windows are smoothed, and a window with no traffic reports 100 (so operational).
avg_response_time_msintegerAverage response time in milliseconds. Durations above 60 seconds are excluded.
windowstringAggregation window. Always 1h.

The response does not include request volume, raw error counts, or any workspace-level data.

Example Response

{
  "engine": "linkedin",
  "path": "/v2/linkedin/profile/info",
  "health": "operational",
  "success_rate": 99.412,
  "avg_response_time_ms": 840,
  "window": "1h"
}

Errors

CodeDescription
400Missing engine and path, invalid value, or path that does not match engine
401Missing or invalid API key
403API Stats is not enabled for this workspace. Contact support to activate it.
404Unknown engine (not in the API catalog)
503Status data is temporarily unavailable

See also: Usage for your workspace quota, Status Codes for HTTP billing rules, and Error Handling for integration errors.

On this page