Discover/sportybet.com.ng API
live

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.

Endpoints
1
Updated
3h ago
Last verified
Try it
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"}]
api.parse.bot/scraper/8e652912-d760-4522-85ce-071e539a9c12/<endpoint>
Ready to send
Fill in the parameters and hit sign in to send to see live response data here.
Use it in your codegrab a free API key at signup
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\"}]"
}'
All endpoints · 1 totalclick to expand

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.

Input
ParamTypeDescription
selectionsrequiredstringJSON 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"}]
Response
{
  "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.

Common use cases
  • Generate shareable betting tickets for Telegram or WhatsApp tip channels using the returned shareURL
  • Build a multi-leg accumulator builder that checks unavailableOutcomes before presenting a final betslip to users
  • Store shareCode values 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 shareURL in a web app so users can review and stake a pre-built ticket on SportyBet Nigeria
  • Monitor booking deadline timestamps to alert users when a shared code is about to expire
Pricing & limitsSee full pricing →
TierPriceCredits/monthRate limit
Free$0/mo1005 req/min
Hobby$30/mo1,00020 req/min
Developer$100/mo5,000250 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.

Frequently asked questions
Does SportyBet Nigeria have an official developer API?+
SportyBet does not publish a documented public developer API for external developers. There is no official API portal, SDK, or documented endpoint set available on their site.
What does the `unavailableOutcomes` field contain?+
It is an array of outcome objects that could not be included in the booking — typically because the corresponding market was suspended or the odds changed and the selection became invalid between your request and the booking attempt. The rest of the betslip is still booked and the shareCode reflects only the available selections.
Does the API return live odds or odds updates after the booking is made?+
The 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?+
This API targets sportybet.com.ng specifically and returns booking codes valid on the Nigerian platform. Other SportyBet regional domains are not currently covered. You can fork this API on Parse and revise it to point to a different regional SportyBet domain.
Is there a limit to how many selections can be included in a single `book_bet` call?+
The 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.
Page content last updated . Spec covers 1 endpoint from www.sportybet.com.ng.
Related APIs in SportsSee all →
transfermarkt.com API
Search Transfermarkt for football players and retrieve detailed player profiles, transfer histories, market value timelines, performance stats, and club squad/club information.
opendota.com API
Access detailed Dota 2 match statistics, player performance metrics, hero win rates, and professional tournament data to analyze gameplay trends and competitive performance. Search for specific players, explore custom data queries through SQL, and retrieve comprehensive match histories to improve your understanding of the game.
nhl.com API
Access data from nhl.com.
fifa.com API
Track FIFA world rankings for men's and women's teams, browse tournament schedules and standings, access detailed match information with live timelines, and explore comprehensive player statistics and profiles. Stay updated with the latest football news and easily search across teams, players, and matches all in one place.
hltv.org API
Access Counter-Strike esports data from HLTV.org including match results, player and team statistics, team rankings, upcoming match schedules, tournament information, and fantasy league data.
transfermarkt.de API
Access data from transfermarkt.de.
ratings.fide.com API
Find chess players and track their FIDE ratings, rankings, and performance history by searching the official ratings database or browsing the world's top-ranked players. Get detailed player profiles with complete rating trends and game statistics to analyze any player's competitive record.
pro-football-reference.com API
Access comprehensive NFL data including season schedules, team standings, player statistics, game boxscores, play-by-play details, and player profiles to research teams, players, and game information. Search for specific players and dive into detailed game analysis with boxscore information and minute-by-minute play data.