Versions Compared
Version | Old Version 6 | New Version 7 |
---|---|---|
Changes made by | ||
Saved on |
Key
- This line was added.
- This line was removed.
- Formatting was changed.
Table of Contents |
---|
Betgenius provides a Fixture API to retrieve full fixture details
Anchor | ||||
---|---|---|---|---|
|
Panel |
---|
Fixtures API Production: https://explorer.api.geniussports.com/Fixtures/v1/PRODPRM/public/index.html Fixtures API UAT: https://explorer.api.geniussports.com/Fixtures/v1/UAT/public/index.html |
Anchor | ||||
---|---|---|---|---|
|
To access the Fixture API you will need to use a username, password and api key supplied by Betgenius. Please contact your integration manager for further details.
Steps for calling APIs:
Call the Auth API to sign in using the username and password:
Code Block |
---|
https://api.geniussports.com/Auth-v1/PROD/login |
Take the "IdToken" returned by the auth call and add it as the "Authorization" header in the api call you are going to make to FixturesAPI
Add your API key as the "x-api-key" header in the call to FixturesAPI also
Call FixturesAPI
Note: IdTokens last for 1 hour, after which you need to sign back in or call the refresh endpoint using the "RefreshToken" from the first Auth API call