sportybet.com.ng APIwww.sportybet.com.ng ↗
Book bets on SportyBet Nigeria via API. Submit selections with event, market, and outcome IDs to receive a shareable booking code and betslip URL.
curl -X POST 'https://api.parse.bot/scraper/8e652912-d760-4522-85ce-071e539a9c12/book_bet' \
-H 'X-API-Key: $PARSE_API_KEY' \
-H 'Content-Type: application/json' \
-d '{
"selections": "[{\"eventId\":\"sr:match:72140704\",\"marketId\":\"1\",\"outcomeId\":\"1\"}]"
}'Book a bet by providing one or more selections (event, market, outcome). Each selection identifies a specific outcome on a specific market for a specific event. Returns a booking code that can be shared across devices or with other users to load the same betslip. Does not require authentication or stake — it only reserves the selections. The booking code expires when the earliest selected event starts.
| Param | Type | Description |
|---|---|---|
| selectionsrequired | string | JSON array of selection objects. Each object must contain: eventId (e.g. 'sr:match:72140704'), marketId (e.g. '1' for 1X2, '18' for Over/Under), outcomeId (e.g. '1' for Home, '2' for Draw, '3' for Away, '12' for Over, '13' for Under). Optional: specifier (e.g. 'total=2.5' for Over/Under markets). Example: [{"eventId":"sr:match:72140704","marketId":"1","outcomeId":"1"}] |
{
"type": "object",
"fields": {
"deadline": "integer — Unix timestamp (ms) when the booking expires",
"outcomes": "array of outcome objects with match/odds details for each selection",
"shareURL": "string — full URL that loads the betslip when visited",
"shareCode": "string — the booking code to share or load on other devices",
"unavailableOutcomes": "array of outcomes that could not be booked (e.g. suspended markets)"
},
"sample": {
"data": {
"deadline": 1782552600000,
"outcomes": [
{
"odds": "24.00",
"sport": "Football",
"gameId": "42496",
"eventId": "sr:match:72140704",
"category": "Australia",
"marketDesc": "1X2",
"tournament": "Capital NPL 1",
"matchStatus": "Not start",
"awayTeamName": "Canberra Croatia FC",
"homeTeamName": "Canberra White Eagles FC",
"selectedOutcome": "Home",
"estimateStartTime": 1781688600000
}
],
"shareURL": "http://www.sportybet.com/ng/?shareCode=N3N8VT",
"shareCode": "N3N8VT",
"unavailableOutcomes": []
},
"status": "success"
}
}About the sportybet.com.ng API
The SportyBet Nigeria API exposes 1 endpoint, book_bet, that accepts an array of match selections and returns a shareable booking code along with 5 structured response fields including shareCode, shareURL, and unavailableOutcomes. It covers the full betslip booking flow on sportybet.com.ng, letting you programmatically build multi-selection tickets and distribute them across devices or users without requiring a SportyBet account.
What the API Returns
The book_bet endpoint accepts a selections parameter — a JSON array where each object identifies a specific event (eventId, e.g. sr:match:72140704), a market, and an outcome. On success, the response includes a shareCode string (the booking code), a shareURL (a full link that loads the betslip directly on SportyBet Nigeria), a deadline Unix timestamp in milliseconds indicating when the booking expires, and an outcomes array with match details and odds for each selection.
Handling Unavailable Outcomes
The response also contains an unavailableOutcomes array. If any selection references a suspended market or an outcome that is no longer available at the time of booking, it appears here rather than in the main outcomes array. This lets you detect partial failures without treating the entire request as an error — useful when building multi-leg accumulators where some legs may close before the booking request completes.
Booking Expiry and Sharing
The deadline field tells you exactly when the generated booking code stops being valid. The shareURL can be embedded in messages, bots, or web interfaces so recipients can load the identical betslip on any device. Neither the book_bet call nor loading the resulting shareURL requires a SportyBet account to initiate — account login is only needed at the point of actually placing the bet on the site.
- Generate shareable betting tickets for Telegram or WhatsApp tip channels using the returned
shareURL - Build a multi-leg accumulator builder that checks
unavailableOutcomesbefore presenting a final betslip to users - Store
shareCodevalues in a database to track historical bet recommendations alongside posted odds - Automate betslip creation for sports prediction newsletters by converting model outputs into booking codes
- Embed a
shareURLin a web app so users can review and stake a pre-built ticket on SportyBet Nigeria - Monitor booking
deadlinetimestamps to alert users when a shared code is about to expire
| Tier | Price | Credits/month | Rate limit |
|---|---|---|---|
| Free | $0/mo | 100 | 5 req/min |
| Hobby | $30/mo | 1,000 | 20 req/min |
| Developer | $100/mo | 5,000 | 250 req/min |
One credit = one API call regardless of which marketplace API you call. Exceeding the rate limit returns a 429 response. Authenticate with the X-API-Key header.
Does SportyBet Nigeria have an official developer API?+
What does the `unavailableOutcomes` field contain?+
shareCode reflects only the available selections.Does the API return live odds or odds updates after the booking is made?+
outcomes array in the response reflects the odds at the moment the booking is created. The API does not include an endpoint for streaming odds changes or refreshing a previously created booking. You can fork this API on Parse and revise it to add an odds-fetching or event-listing endpoint.Does the API cover SportyBet markets in other countries, such as Kenya or Ghana?+
Is there a limit to how many selections can be included in a single `book_bet` call?+
selections parameter accepts an array of selection objects, but SportyBet Nigeria enforces its own platform-level limits on betslip size. Selections that exceed platform limits or reference invalid IDs will appear in unavailableOutcomes rather than causing the entire request to fail.