Bet Slip View & Data API
On this page
Get a bet slip as structured JSON
Use GET /v1/view to return a bet slip as structured JSON from SportyBet, Bet9ja, 1xBet, MSport, or 25 other supported bookmakers. A text view costs 1 API credit, the API charges only after a successful read so a failed view costs 0 credits, and the response carries games, total odds, stake, payout, and billing state.
Request
GET /v1/view?code=7B9A2F&bookmaker=sportybetResponse 200
{
"bookmaker": {"key": "sportybet", "name": "SportyBet"},
"code": "7B9A2F",
"status": "Active",
"selections": [
{"match": "A vs B", "market": "1X2", "selection": "Home", "odds": "1.85",
"initial_odds": "1.80", "score": "", "status": "PENDING", "section": "upcoming",
"sport": "football", "start_time": "06:00 PM 21/10", "match_time": ""}
],
"has_pending": true,
"has_unknown": false,
"total_odds": "24.51",
"active_odds": "24.51",
"stake": "100",
"potential_payout": "2451",
"last_updated": "...",
"billing": {
"action": "text_view", "price": 1, "credits_used": 3,
"credits_limit": 5000, "credits_reset": "2026-12-01T00:00:00Z"
}
}What each view field means
| Field | Meaning |
|---|---|
status | The slip status from the bookmaker. |
selections | One item for each game on the slip. |
selection.status | The game state, such as PENDING. |
has_pending | True when at least one game is not settled. |
has_unknown | True when the bookmaker stopped data for a game. |
total_odds | The odds for the full slip. |
active_odds | The odds for the games that are still active. |
potential_payout | The payout for the stake. |
billing | The action price and the current credit state. |
What does a slip view cost and which errors can it return
A Manage Bet Codes text view costs 1 API credit and the API charges only after a successful read, so a failed view costs 0 credits. A missing code returns 404 slip_not_found, a source fetch failure returns 502 bookmaker_unavailable, and an over-budget call returns 504 timeout.
| HTTP | Code | When |
|---|---|---|
| 404 | slip_not_found | No slip exists for the code. |
| 502 | bookmaker_unavailable | The source fetch failed at transport level. |
| 504 | timeout | The action exceeded its time budget. |
See image view for the PNG form of the same slip.