System Health Check

🔓 PUBLIC ENDPOINT - No API key required. Comprehensive system health check for monitoring. Checks data freshness (live, live_prices, orders < 3h old) and API key error rate (< 20% in last hour). Returns 200 OK if all checks pass, 503 Service Unavailable if any check fails. Supports both JSON and XML output formats.

HTTP: GET /status

Query parameters

NameTypeRequiredDescriptionExample
formatstringnoOutput format: json (default) or xmljson

Notes

Sample request

curl -H "Authorization: ApiKey YOUR_API_KEY" "https://admin.elpricing.com/api/status?format=json"

Interactive call

Queue workflow

Tasks are persisted to var/api_queue/tasks.json. Process them with:

php go.php cron:list\nphp go.php cron:go

Logs are written to var/api_queue/logs/{task_id}.log.