Skip to main content
SportSXAPI uses standard HTTP status codes and returns structured JSON error payloads so your services can handle transient failures cleanly.

Error Payload Format

Application and route errors return a JSON payload containing error and optional requestId (which also appears in the X-Request-Id response header):
Gateway authentication and policy middleware errors return error and an actionable message when applicable:

HTTP Status Reference

Correlation & Latency Headers

Every response includes telemetry headers to help debug support requests:
Check your base URL. Paid keys (Starter, Pro, Business, Ultra, Custom) must target https://apiv2.sportsxapi.com, whereas FREE keys must target https://api.sportsxapi.com.
When a live match stream or match state snapshot is first requested or refreshed during active play, the endpoint may briefly return 503 while initializing real-time state. Wait 1–2 seconds and retry to receive live JSON data.
Email support@sportxapi.com or open a ticket on sportsxapi.com/contact with the endpoint URL, timestamp, and X-Request-Id header value.
Last modified on November 29, 2026