Bet Builder
Bet Builder in play
Use this page to read the Bet Builder once a match is live. The path is the same, and the response changes from sections to combinations.
1. Read the in-play Bet Builder
Once the match is live the same path returns phase set to inplay and combos, each a ranked combination of legs with its price. price_current is false when the combination price was not refreshed with the legs.
curl "https://odds-feed.on-forge.com/api/v2/matches/0199c5a0-7b1e-7c3a-9f4e-2d6b8a1c4e70/betbuilder" \
-H "Authorization: Bearer YOUR_KEY"{
"data": {
"phase": "inplay",
"combos": [
{
"id": "1770450513",
"rank": 1,
"price": { "decimal": 4.6, "fractional": "18/5" },
"price_current": false,
"legs": [
{
"id": "537634486",
"market": "Team 1 Shots on Target",
"name": "Over 4.5 Shots on Target for Brentford",
"line": 4.5,
"price": { "decimal": 1.83, "fractional": null },
"suspended": false
},
"…"
]
},
"…"
]
},
"meta": { "topic": "betbuilder", "…": "…" },
"links": { "…": "…" }
}2. Follow it live
The betbuilder topic is also sent on private-match.{id}.betbuilder. See Channels.
Reference
In-play combinations need Player props. GET /matches/{id}/betbuilder needs markets:read. For the status words see Bet Builder before the game.