Products
We expose this betting products as Products. As we can cover many sporting betting products, these are the generic terms. Through the product you are able to link into the event and event competitors.
Key Concepts¶
| Concept | Description |
|---|---|
Product |
Provide information about the product that can be bet on with details such as the selections, bet type, rules, odds and dividends |
Pool |
Contains all the details pool including totals (net and gross amounts), carry in, takeout rates and carry out |
Bet Type |
The bet type unique bet code defines all of the rules and constraints about how you can bet. |
Rules |
The rules for the bet type include in the minimum and maximum bet amounts. Also the minimum and maximum line amounts with the increments that can bet on |
Lines |
Contains a each selection combination and an odd for each the odds do not include the enhanced rate |
Line History |
A link to history of a lines on a betting product currently these are only for win and place products |
Leg |
A product contains one or more legs. Each leg contains a id and selections |
Selection |
A leg contains one or more selections. Each selection contains a id |
query GetProducts {
products {
nodes {
id
name
type {
... on BettingProduct {
pool {
total {
grossAmount {
decimalAmount
}
netAmount {
decimalAmount
}
}
takeout {
percentage
amount {
decimalAmount
}
}
carryIn {
grossAmount {
decimalAmount
}
netAmount {
decimalAmount
}
}
}
betType {
id,
code
rules {
bet {
min {
decimalAmount
currency {
code
name
symbol
}
}
max {
decimalAmount
currency {
code
name
symbol
}
}
}
line {
min {
decimalAmount
currency {
code
name
symbol
}
}
max {
decimalAmount
currency {
code
name
symbol
}
}
increment {
decimalAmount
currency {
code
name
symbol
}
}
}
}
},
selling {
status
},
lineHistory
lines {
nodes {
legs {
legId
lineSelections {
selectionId
}
},
odds {
name
decimal
status
type
}
}
}
legs {
nodes {
id
event {
name
scheduledStartDateTime {
iso8601
}
venue {
id
name
country {
name
}
}
}
selections {
nodes {
id
name
competitor {
id
name
entryStatus
details {
... on HorseDetails {
clothNumber
}
}
}
}
}
}
}
}
}
}
}
}
Response
{
"data": {
"products": {
"nodes": [
{
"id": "246a9889-6cab-4b23-81be-117c241d92e1",
"name": "PUNCHESTOWN RACE 1 - WIN",
"pool": {
"id": "07a9e9da-a03e-4cfa-bca3-35b8ab304f5c",
"total": {
"grossAmount": {
"decimalAmount": 200.0
},
"netAmount": {
"decimalAmount": 160.00
}
},
"takeout": {
"percentage": 20,
"amount": {
"decimalAmount": 0.09
}
},
"carryIn": {
"grossAmount": {
"decimalAmount": 100.0
},
"netAmount": {
"decimalAmount": 100.0
}
}
},
"betType": {
"id": "1",
"code": "WIN",
"rules": {
"bet": {
"min": {
"decimalAmount": 0.01,
"currency": {
"code": "GBP",
"name": "Great British Pounds",
"symbol": "£"
}
},
"max": {
"decimalAmount": 99999,
"currency": {
"code": "GBP",
"name": "Great British Pounds",
"symbol": "£"
}
}
},
"line": {
"min": {
"decimalAmount": 0.5,
"currency": {
"code": "GBP",
"name": "Great British Pounds",
"symbol": "£"
}
},
"max": {
"decimalAmount": 99999,
"currency": {
"code": "GBP",
"name": "Great British Pounds",
"symbol": "£"
}
},
"increment": {
"decimalAmount": 0.01,
"currency": {
"code": "GBP",
"name": "Great British Pounds",
"symbol": "£"
}
}
}
}
},
"selling": {
"status": "OPEN"
},
"lineHistory": "https://api.tote.rocks/partner/product/line-history/246a9889-6cab-4b23-81be-117c241d92e1",
"lines": {
"nodes": [
{
"legs": [
{
"legId": "61bce6af-5675-44ef-8c5b-8919c4edf5fb",
"lineSelections": [
{
"selectionId": "c9f0a096-8104-4dc3-99b5-303169e02bdb"
}
]
}
],
"odds": [
{
"name": "SP",
"decimal": 102,
"status": "FINAL",
"type": "POOL"
}
]
},
{
"legs": [
{
"legId": "61bce6af-5675-44ef-8c5b-8919c4edf5fb",
"lineSelections": [
{
"selectionId": "0f7a00bf-c8e7-4c7f-82b0-3f4c9f833d47"
}
]
}
],
"odds": [
{
"name": "SP",
"decimal": 0,
"status": "FINAL",
"type": "POOL"
}
]
},
{
"legs": [
{
"legId": "61bce6af-5675-44ef-8c5b-8919c4edf5fb",
"lineSelections": [
{
"selectionId": "47d08566-bfb3-4587-ae16-9aebbf3b7bac"
}
]
}
],
"odds": [
{
"name": "SP",
"decimal": 0,
"status": "FINAL",
"type": "POOL"
}
]
},
{
"legs": [
{
"legId": "61bce6af-5675-44ef-8c5b-8919c4edf5fb",
"lineSelections": [
{
"selectionId": "73681cb5-52a1-4e6c-b141-b76ae86aa6f8"
}
]
}
],
"odds": [
{
"name": "SP",
"decimal": 0,
"status": "FINAL",
"type": "POOL"
}
]
},
{
"legs": [
{
"legId": "61bce6af-5675-44ef-8c5b-8919c4edf5fb",
"lineSelections": [
{
"selectionId": "38acb6b7-eff6-4cb0-9fba-47e61f9f5ed7"
}
]
}
],
"odds": [
{
"name": "SP",
"decimal": 0,
"status": "FINAL",
"type": "POOL"
}
]
},
{
"legs": [
{
"legId": "61bce6af-5675-44ef-8c5b-8919c4edf5fb",
"lineSelections": [
{
"selectionId": "95b82678-e689-4c25-9dcd-3f4a1901be23"
}
]
}
],
"odds": [
{
"name": "SP",
"decimal": 0,
"status": "FINAL",
"type": "POOL"
}
]
},
{
"legs": [
{
"legId": "61bce6af-5675-44ef-8c5b-8919c4edf5fb",
"lineSelections": [
{
"selectionId": "8fed66a3-e229-4245-a011-f547522cc195"
}
]
}
],
"odds": [
{
"name": "SP",
"decimal": 0,
"status": "FINAL",
"type": "POOL"
}
]
},
{
"legs": [
{
"legId": "61bce6af-5675-44ef-8c5b-8919c4edf5fb",
"lineSelections": [
{
"selectionId": "2f172072-439f-418d-b5c0-dfed351d3a45"
}
]
}
],
"odds": [
{
"name": "SP",
"decimal": 0,
"status": "FINAL",
"type": "POOL"
}
]
}
]
},
"legs": {
"nodes": [
{
"id": "61bce6af-5675-44ef-8c5b-8919c4edf5fb",
"event": {
"name": "PUNCHESTOWN RACE 1",
"scheduledStartDateTime": {
"iso8601": "2023-09-08T12:05:00Z"
},
"venue": {
"id": null,
"name": "PUNCHESTOWN",
"country": {
"name": "Ireland"
}
}
},
"selections": {
"nodes": [
{
"id": "c9f0a096-8104-4dc3-99b5-303169e02bdb",
"name": "BRONN",
"competitor": {
"id": "HORSERACING-PUNCHESTOWN-IE-2023-09-08-1205-BRONN",
"name": "BRONN",
"entryStatus": "CONFIRMED",
"details": {
"clothNumber": 1
}
}
},
{
"id": "0f7a00bf-c8e7-4c7f-82b0-3f4c9f833d47",
"name": "ERIC BLOODAXE",
"competitor": {
"id": "HORSERACING-PUNCHESTOWN-IE-2023-09-08-1205-ERIC-BLOODAXE",
"name": "ERIC BLOODAXE",
"entryStatus": "CONFIRMED",
"details": {
"clothNumber": 2
}
}
},
{
"id": "47d08566-bfb3-4587-ae16-9aebbf3b7bac",
"name": "FREEDOM TO DREAM",
"competitor": {
"id": "HORSERACING-PUNCHESTOWN-IE-2023-09-08-1205-FREEDOM-TO-DREAM",
"name": "FREEDOM TO DREAM",
"entryStatus": "CONFIRMED",
"details": {
"clothNumber": 3
}
}
},
{
"id": "73681cb5-52a1-4e6c-b141-b76ae86aa6f8",
"name": "GRAND JURY",
"competitor": {
"id": "HORSERACING-PUNCHESTOWN-IE-2023-09-08-1205-GRAND-JURY",
"name": "GRAND JURY",
"entryStatus": "CONFIRMED",
"details": {
"clothNumber": 4
}
}
},
{
"id": "38acb6b7-eff6-4cb0-9fba-47e61f9f5ed7",
"name": "HOLLOW GAMES",
"competitor": {
"id": "HORSERACING-PUNCHESTOWN-IE-2023-09-08-1205-HOLLOW-GAMES",
"name": "HOLLOW GAMES",
"entryStatus": "CONFIRMED",
"details": {
"clothNumber": 5
}
}
},
{
"id": "95b82678-e689-4c25-9dcd-3f4a1901be23",
"name": "MINELLA COCOONER",
"competitor": {
"id": "HORSERACING-PUNCHESTOWN-IE-2023-09-08-1205-MINELLA-COCOONER",
"name": "MINELLA COCOONER",
"entryStatus": "CONFIRMED",
"details": {
"clothNumber": 6
}
}
},
{
"id": "8fed66a3-e229-4245-a011-f547522cc195",
"name": "MINELLA CROONER",
"competitor": {
"id": "HORSERACING-PUNCHESTOWN-IE-2023-09-08-1205-MINELLA-CROONER",
"name": "MINELLA CROONER",
"entryStatus": "CONFIRMED",
"details": {
"clothNumber": 7
}
}
},
{
"id": "2f172072-439f-418d-b5c0-dfed351d3a45",
"name": "WHATDEAWANT",
"competitor": {
"id": "HORSERACING-PUNCHESTOWN-IE-2023-09-08-1205-WHATDEAWANT",
"name": "WHATDEAWANT",
"entryStatus": "CONFIRMED",
"details": {
"clothNumber": 8
}
}
}
]
}
}
]
}
}
]
}
}
}