Skip to content
AGG SYSTEM360
Docs

Sports Deep Links

Opens the sportsbook directly on a section (Live, Prematch, Results, My bets), a sport, a league, a match, a search or a shared bet. Use it to build your site's sports menu, banners and promotions.

How it works

It is the same mechanism the Sports Widget uses: your links carry the parameters to your sports page, and that page sends them as they are inside extra_data when it launches the game.

1

Link to your sports page with the parameters you want, for example:

https://yoursite.com/sports?section=live
https://yoursite.com/sports?sport=1
https://yoursite.com/sports?sport=1&country=4&league=147
2

Your sports page reads those parameters and sends them in extra_data when it launches the game:

"extra_data": { "section": "live" }

The sport uses the Content360 ID, the same for every provider (see Sport IDs). League, country, match and selection are IDs of your provider: you get them from the Sports Widget or from the sportsbook itself. Invalid values are ignored and the sportsbook opens on its home page.

Parameters

Send only the ones you need. If you send several, the most specific destination opens: match, league, sport, search and, last, section. section=live together with sport opens Live for that sport.

ParameterOpensFIRSTDigitain
sectionA section: live, prematch, results, open-bets (My bets) or history (bet history)live, prematch, open-bets, historylive, prematch, results, open-bets
sportThe list of a sport. Takes the Content360 sport ID (see Sport IDs)YesYes
leagueA leagueYesYes, together with sport and country
countryCountry of the leagueNot usedRequired with league
eventA matchYesYes, together with type: 1 prematch, 2 live
oddA match with that odd already added to the betslipYes (selection ID)No
searchThe search for that textYesYes
bookingThe betslip of a shared betYes (bet code)Yes (bet number)
share_urlYour link to share bets (see below)YesYes

extra_data examples

Destinationextra_data
Live{ "section": "live" }
Live tennis{ "section": "live", "sport": "3" }
My bets{ "section": "open-bets" }
Football{ "sport": "1" }
La Liga (FIRST){ "league": "38" }
A league (Digitain){ "sport": "1", "country": "4", "league": "147" }
A live match (Digitain){ "event": "41867425", "type": "2" }
A match (FIRST){ "event": "536910287782334464" }
Search{ "search": "Barcelona" }

Sport IDs

sport takes the Content360 sport ID: it is the same for every provider, and we translate it to your sportsbook's. For example, to open Basketball send { "sport": "2" }.

IDSport
1 Football
2 Basketball
3 Tennis
4 Ice hockey
5 Table tennis
6 Volleyball
7 American football
8 Baseball
9 Futsal
10 Handball
11 Boxing
IDSport
12 Rugby
13 MMA / Combat sports
14 Motorsport / Formula 1
15 Darts
16 Cricket
17 Golf
18 Esports
19 Virtual sports
20 Padel
21 Horse racing

If your provider does not have that sport, the sportsbook opens on its home page. If you need a sport that is not on the list, ask your Content360 contact.

Sharing a bet

The player builds a betslip, taps share and gets a link to your site. Whoever opens it enters the sportsbook with that bet already loaded in the betslip.

1

Always send share_url in extra_data: the page of your site that opens the sportsbook, with {booking} where the bet code goes. It must be a full URL (https).

"extra_data": {
  "share_url": "https://yoursite.com/sports?booking={booking}"
}
2

When someone opens that link, your sports page reads booking and sends it in extra_data when it launches the game:

"extra_data": {
  "booking": "44637",
  "share_url": "https://yoursite.com/sports?booking={booking}"
}

The sportsbook generates the code and builds the link with your share_url; there is nothing else to do.

Notes

On Digitain, the European and African views open the requested match; with sport or league they open the list of upcoming matches, and the other parameters have no effect.
The links the Sports Widget already generates (event, type, sport, country, odd) keep working the same: when type arrives, sport is the ID of the provider the widget sent.