- Home
- API Playground
Sports Data API Playground
Test HZURA's sports data API. Check health, discover available sports, browse events, inspect odds responses, and generate production-ready integration code.
/api/v1/health
Integration Code
How the APIs Connect
From health check to production integration in five steps.
Health
Check service availability. Public endpoint, no IP policy required.
Sports
Discover which sports are available to the calling IP via GET /sports.
Events
Get the event catalog for the selected sport via GET /{sport}/events.
Event + Odds
Get one event and its currently available odds via GET /{sport}/events/{eventId}.
Integrate
Use the public API URL in your application. Refer to generated code examples.
Quick API Reference
Public API base and documented endpoints.
All integration requests use this base URL.
No API keys or Authorization headers. Access is tied to your server's static IP.
Read-only REST. No query parameters in the current contract.
Documented Endpoints
/api/v1/healthVerifies API gateway availability. Does not require IP allowlisting.
/api/v1/sportsReturns sports available to the calling IP.
/api/v1/{sport}/eventsReturns the event catalog for the specified sport.
/api/v1/{sport}/events/{eventId}Returns one event plus its currently available odds markets.
{sport} comes from the /sports endpoint response (key field).
{eventId} is the gmid from the event list.
Frequently Asked Questions
Common questions about the Sports Data API.
What is HZURA's Sports Data API Playground?
An interactive developer tool for testing HZURA's sports data API. Check health, discover available sports, browse events, inspect event and odds responses, and generate production code.
Why is IP allowlisting used instead of API keys?
IP allowlisting eliminates authorization header overhead and prevents credential compromise. Your server's static public IP is allowlisted, and requests are made directly over HTTPS without any authentication headers.
How do I get event IDs to query odds?
Query GET /api/v1/{sport}/events to get events with their gmid values. Pass the gmid to GET /api/v1/{sport}/events/{eventId} for odds.
Does the API support WebSockets or live streaming?
No. The current API version provides HTTP GET endpoints returning cached data. There is no WebSocket or push feed. Clients should poll events they are interested in and stop polling when events are no longer needed.
Why might I receive a 403 or 429 error?
403 means your calling IP is not allowlisted. 429 means the rate limit was exceeded — honour the Retry-After header before retrying. The /health endpoint is always public.
How do I request production API access?
Contact HZURA with your server's static public IP address. Once allowlisted, your server can query all endpoints directly over standard HTTPS.
Does the API have a separate result endpoint?
No. The current API does not have a separate result endpoint. Event status and outcome data are included in the event response when available.
Request API Access
Contact HZURA with your server's static IP address to access sports, events, and odds data.