Discover/22bet.co.ke API
live

22bet.co.ke API22bet.co.ke

Access live sports betting data from 22Bet Kenya via 4 endpoints. Get real-time match scores, odds markets, league lists, and in-play football matches.

Endpoints
4
Updated
28d ago
Try it

No input parameters required.

api.parse.bot/scraper/0982369d-a8bf-4b51-b8c2-72a75eaa7364/<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 GET 'https://api.parse.bot/scraper/0982369d-a8bf-4b51-b8c2-72a75eaa7364/get_live_all_sports' \
  -H 'X-API-Key: $PARSE_API_KEY'
All endpoints · 4 totalclick to expand

Get all sports currently having live events with match counts and league counts.

Input

No input parameters required.

Response
{
  "type": "object",
  "fields": {
    "sports": "array of sport objects with id, name, match_count, and leagues_count"
  },
  "sample": {
    "data": {
      "sports": [
        {
          "id": 1,
          "name": "Football",
          "match_count": 181,
          "leagues_count": 53
        },
        {
          "id": 4,
          "name": "Tennis",
          "match_count": 62,
          "leagues_count": 32
        }
      ]
    },
    "status": "success"
  }
}

About the 22bet.co.ke API

The 22bet.co.ke API exposes live sports betting data across 4 endpoints, covering active sports, league listings, in-play football matches, and full match detail including scores and odds markets. The get_live_match_details endpoint returns structured betting markets with outcome types, prices, and parameters for any currently live match, making it straightforward to monitor shifting odds in real time.

What the API Covers

The 22bet.co.ke API provides four endpoints focused entirely on live (in-play) sports data from 22Bet Kenya. get_live_all_sports returns an array of sport objects — each with an id, name, match_count, and leagues_count — giving a snapshot of which sports currently have active events. From there, get_live_leagues_by_sport accepts a sport_id string (e.g. '1' for Football, '4' for Tennis) and returns the leagues within that sport alongside their game_count.

Match Discovery and Detail

get_live_football_matches retrieves all in-play football matches, returning objects that include a match_id, sport, tournament, slug, and a direct url for each match. These match_id values feed into get_live_match_details, which returns the fullest picture available: home_team, away_team, current score (formatted as 'home-away'), status indicating the current match period, league, league_id, sport_id, and sport_name.

Betting Markets

The markets array in get_live_match_details is the core data structure for odds monitoring. Each market object carries a market_group_id and an outcomes array. Every outcome exposes type_id, type_name, price (the decimal odds), and a parameter field that covers handicap lines or over/under totals where relevant. Note that get_live_match_details only works for currently live matches — passing a stale or concluded match_id returns an input_not_found error rather than historical data.

Scope and Freshness

All four endpoints reflect the live state of 22Bet Kenya at call time. There is no pagination on any endpoint; each call returns the full current set. Coverage is limited to in-play events — pre-match odds and upcoming schedules are not part of the current endpoint set.

Common use cases
  • Track real-time odds movements across all betting markets for a specific live football match using markets[].outcomes[].price.
  • Build a live sports dashboard showing active sport counts and league breakdowns from get_live_all_sports and get_live_leagues_by_sport.
  • Alert users when new in-play football matches appear by polling get_live_football_matches and comparing match_id sets.
  • Monitor live score updates for in-play matches by periodically calling get_live_match_details and reading the score and status fields.
  • Aggregate handicap and over/under lines from the parameter field in match outcomes for line-shopping comparisons.
  • Filter live events by sport using sport_id to focus a feed on Tennis, Basketball, or other non-football sports via get_live_leagues_by_sport.
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 22Bet Kenya offer an official public developer API?+
22Bet does not publish an official public developer API for its Kenya platform. This Parse API provides structured access to the live sports and odds data available on 22bet.co.ke.
What does `get_live_match_details` return for betting markets?+
It returns a markets array where each entry has a market_group_id and an outcomes array. Each outcome includes type_id, type_name, price (decimal odds), and parameter (used for values like handicap lines or totals). The endpoint also returns the current score, match status (period), both team names, and league information.
What happens if I pass a match ID for a finished match?+
The API returns an input_not_found error for any match_id that is no longer live. The endpoint is designed for in-play matches only. Historical results, final scores, or post-match data are not available through the current endpoint set. You can fork this API on Parse and revise it to add an endpoint covering pre-match or settled event data.
Does the API cover pre-match (upcoming) odds or only live events?+
Currently the API covers only in-play events. All four endpoints — get_live_all_sports, get_live_leagues_by_sport, get_live_football_matches, and get_live_match_details — reflect the live state at call time. You can fork this API on Parse and revise it to add an endpoint for pre-match odds and upcoming fixtures.
Is match discovery for non-football sports supported?+
get_live_football_matches is specific to football and returns match slugs and IDs for that sport only. For other sports, get_live_leagues_by_sport provides league-level data when a valid sport_id is supplied. Individual match discovery and detailed odds retrieval for non-football sports are not currently exposed as dedicated endpoints. You can fork this API on Parse and revise it to add per-sport match listing endpoints for Tennis, Basketball, or others.
Page content last updated . Spec covers 4 endpoints from 22bet.co.ke.
Related APIs in SportsSee all →
sportybet.com API
Get real-time betting odds and live scores for football, basketball, and other sports from SportyBet. Browse upcoming events with full market odds, monitor live matches as they happen, and view sport listings with event counts across multiple markets.
unibet.com API
Access live betting odds, browse sports categories and upcoming matches, and search for specific events across multiple leagues in real-time. Get detailed event information including current odds for thousands of sports matchups to inform your betting decisions.
oddsportal.com API
Track sports betting odds, matches, and results across multiple sports and leagues in real-time, while viewing team standings and match details to stay informed on upcoming games. Access comprehensive betting data and historical results from OddsPortal to compare odds and analyze sports outcomes.
betpawa.com.gh API
Access upcoming, live, and popular sports events from BetPawa Ghana with real-time odds, markets, and detailed match statistics across multiple sports and leagues. Retrieve comprehensive event information including season fixtures, league details, and in-depth match stats.
snai.it API
Get real-time Serie A match information, odds, and top betting opportunities directly from SNAI.it, plus discover live matches and football leagues to inform your betting decisions. Access match details, current odds, and curated top bets all in one place to stay updated on Italian football betting options.
superbet.ro API
Access sports betting data from Superbet.ro, including the full sports and competition hierarchy, pre-match and live event listings, detailed odds, boosted prices, popular accumulator suggestions, and Bet Builder markets.
bet365.com.au API
Browse available sports on bet365 Australia and retrieve current in-play markets with selections and odds across sports.
coolbet.ee API
Access sports betting data from Coolbet, including live and upcoming events, betting markets, odds, popular event recommendations, and active promotions. Browse the full sports navigation tree organized by sport, region, and league.