Get started
The Event Content API provides endpoints to check the availability of various types of content (video, pitch-animation, statistics, highlights, etc.) for sports events and to retrieve URLs for embedding this content in your site.
Detailed guide for iframe integration at front-end
Core Operations¶
Check content availability¶
- Event Content check - Check available content for list of events with list response
- Event Content check - Check available content for list of events with dictionary response
Get content url¶
- Get Video - Get video URL for event
- Get Pitch animation - Get pitch animation URL for event
- Get Statistics - Get statistics URL for event
- Get Highlights - Get highlight URL for event
Integration Resources¶
Authentication¶
All Event Content API endpoints require authentication. Refer to the main GR8 API authentication guide for details on:
- API Key Authentication
- Session management
- Access token handling
Related APIs¶
The Event Content API works in conjunction with other GR8 API components:
- Line API - Get sports data, events, and odds for bet placement
Best Practices¶
- There is no need to frequently request "check content" endpoint, because content availability is determined occurs early and, with rare exceptions, does not change during the event. Only when an event moves from prematch to live stage, then request the "check content" endpoint again; new content may have appeared.
- Use the content URLs obtained from the API to embed content in iframes on your front-end application.
- Urls can be relative and absolute. Relative urls should be prefixed with your host.
Getting Started Resources¶
General Information¶
- Accessing GR8 API
- API Key Authentication
- Postman Workspace - Ready-to-use API collection for testing
Additional Resources¶
- SportbookAPI Changelog - Latest updates and changes
- Additional Resources - Integration examples and best practices