What is API and how to deal with it

API is the outline of ways used for interaction between programs\websites\scripts. In other words we provide you with our data on surebets along with a setup and application guide. You can use the data to write your own script\program for betting automation.

REST API setup

1. Subscribe to one of the plans with Prematch or Live surebets to make use of the API (you get free access to the API of the given subscription).

2. Next, you need to adjust the data to your requirements: navigate to Multifilters in My Account and create a filter with required settings (bookmakers, sports, percentage, etc). For more detailed information on filter settings visit Manual => Multifilters adjustment.

[!] Remember your filter ID. You will need it for further work with the API.

3. The following step is checking the accuracy of data received: navigate to the API page (API Live, API Prematch) and apply the previously created filter to make sure everything is properly set.

4. Copy your unique token in My Account -> API. Token is an alphanumeric key to access the API data by the particular customer.

5. The above mentioned token and the recently created filter ID should be inserted into the Swagger documentation to get a link to the data according to your own settings.

Live: https://rest-api-lv.betburger.com/doc.html

Prematch: https://rest-api-pr.betburger.com/doc.html

In order to make that happen, press «POST» => «Try it out» in the Swagger documentation and fill all necessary fields in the list and press «Execute».

access_token: your unique token.

search_filter: your filter ID.

This is it, you’ve reached the result! It’s identical to the result you see on the API Live and API Prematch pages. Next, if you want to use the data to automate the surebetting process, you need to create a corresponding script/program and hook it up to our API through the generated Curl.

4.4 from 5 based on 11 votes.