Public & system API
Health check
Liveness probe for load balancers and uptime monitors.
https://api.screamingdata.dev/health- Authentication
- None
- Cost
- Free
- Body
- No request body
Overview
Always returns 200 while the API process is alive; status is degraded when the database does not answer. queue counts open collection jobs by state and rate_limits shows the collector pacing per marketplace. The body is not wrapped in the response envelope.
Cost
Request
GET /health.
This endpoint takes no parameters.
Request example
This endpoint does not need credentials.
curl --request GET \
--url "https://api.screamingdata.dev/ health"import requests
response = requests.get(
"https://api.screamingdata.dev/ health",
timeout=30,
)
print(response.status_code, response.json())const response = await fetch("https://api.screamingdata.dev/ health");
console.log(response.status, await response.json());Response
HTTP 200. The body is plain JSON (not wrapped in the response envelope).
{
"status": "ok",
"database": true,
"queue": {
"queued": 42,
"running": 6
},
"rate_limits": {
"com": 3,
"uk": 3,
"de": 3,
"fr": 3,
"es": 3,
"it": 3,
"nl": 3,
"ca": 3,
"au": 3,
"jp": 3,
"mx": 3,
"in": 3
}
}Result fields
Liveness report. Not wrapped in the response envelope.
statusok, or degraded when the database cannot be reached.
databaseWhether the database answered.
queueOpen internal collection jobs per state: queued and, while jobs are being processed, running.
rate_limitsCurrent pause in seconds between two requests to each marketplace, as paced by the collector of this process. Empty when the process does not run the collector.
HTTP status codes
- 200The process is alive; check
statusfor dependencies.