- 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 this API client 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.
Send your API key via Authorization: Bearer or X-Api-Key. Your calling IP must also match a configured CIDR. Legacy IP-only access is also supported.
Read-only REST. No query parameters in the current contract.
Documented Endpoints
/api/v1/healthVerifies API gateway availability. Does not require an API key or IP policy.
/api/v1/sportsReturns sports available to the calling client.
/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.
How does authentication work?
Admin-managed customers authenticate with an API key (Authorization: Bearer or X-Api-Key) and must call from an IP matching their configured CIDR. Legacy IP-only clients are also supported without a key.
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 ip_not_allowed means the caller was not admitted: a missing, empty, or unknown API key, a disabled customer, or a calling IP outside the configured CIDR. The body does not say which check failed. 429 means the sports rate limit was exceeded — honour the Retry-After header before retrying. GET /api/v1/health is public and is not rate limited.
How do I request production API access?
Contact HZURA with your server's static public IP address. You will receive an API key and your IP will be configured for access.
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 to get your API key and configure your server's IP for access to sports, events, and odds data.