Elements of a Deep Link
Deep link types
The Sports API accepts two different types of deep links:
- Content links
- Deep links to individual sports, competitions, or fixtures details pages in our betting offer.
- Betslip links
- A content deep link where a betting slip is already prefilled with the option the bettor has selected on your website.
Deep link format
All deep links are generated from multiple elements.
General elements
The following elements are part of all deep link types:
base-url
- The URL of our betting offer website.
language
- The code of the language in which you want to display the data.
sports/sportId
- The unique ID of a sport.
region/regionId
- The unique ID of a region.
leagues/competitionId
- The unique ID of a competition.
events/fixtureId
- The unique ID of a single fixture.
context
- The context you want to link to (see below).
Context values
The context
element defines the scope of the markets you want to link to. This element can have the following values:
betting
- All matching events in pre-match state.
live
- All matching events in in-play state.
in-30-minutes
/in-60-minutes
- All matching events with a scheduled starting time within the next 30/60 minutes.
today
/tomorrow
- All matching events with a scheduled starting time today or tomorrow respectively.
after-2-days
/after-3-days
- All matching events with a scheduled starting time on the day after tomorrow or after 3 days respectively.
Examples
https://{base-url}/en/sports/4
- Deep link to the football/soccer offer (
SportID="4"
) in English. https://{base-url}/en/sports/events/7453040
- Deep link to the fixture with the ID 7453040 in English.
https://{base-url}/en/sports/5/betting/leagues/4624
- Deep link to the competition with the ID 4624 in English, with the context betting (pre-match fixtures).
Additional elements
The following elements only appear in betslip links:
marketId
- The unique ID of a market. Mandatory.
optionId
/participantId
- The unique ID of a selection: option or participant. Mandatory to include one of them.
stake
- The stake placed on a selection, to be added to the betting slip. Optional. If the stake is a decimal, use the decimal point, not the decimal comma.
currency
- The currency of the stake. Optional. Use the three-letter code as defined in ISO 4217.
type
- The type of bet: single, combo, or system. Optional. Only for betslips with enough selections. If not defined, the respective fallback logic is applied.
Examples
https://{base-url}/en/sports?options=7453040-284980932-871949695
- Deep link to the option "871949695" in the market "284980932" of the fixture "7453040" in English. You can specify multiple options in one deep link: Separate the ID triplets with commas.
Tracking elements
wm
- Creates a cookie for the user. The cookie contains the affiliate 7-digit tracking ID. Mandatory. Upon registration, this tracking ID is picked up and assigned to all activities of the affiliate. If you are unsure about your tracking ID, contact your affiliate manager.
source
- A free text field for transmitting additional info from your site to us, for instance to label-specific campaigns. Optional. The accepted values must be agreed beforehand between you and us. If not specified, Affiliate is assumed by default.
tdpeh
- A parameter used for pixel tracking to track dynamic values, sub-IDs, click IDs, etc. Optional. Affiliates partners can send dynamic variable parameters (up to 1,000 characters are supported). These are stored as a cookie when a player registers. These values can be sent back to the affiliate as a postback or they can be checked directly on our affiliate platform.
Additional parameters
For context, region, and competition, you can supply additional parameters.
marketTemplate
- Fixtures having markets based on a defined market template.
marketCategory
- Fixtures having markets based on the market templates from a defined market category.