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
14d 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 →
athletic.net API
Search and analyze cross country and track & field performance data across the US, including athlete profiles, meet results, team rosters, and rankings. Access comprehensive meet information, historical records, and state-level competition data to track athlete progress and discover top performers.
maxpreps.com API
Access high school sports data from MaxPreps. Search for schools, retrieve team rosters and schedules, look up athlete profiles, and browse national or state rankings across all sports.
vg.no API
Access VG.no's latest news, articles, sports scores, and TV guides through a single interface where you can browse the front page, search articles by topic, view category-specific content, and find related stories. Get real-time sports scores and television schedules alongside comprehensive news coverage from Norway's leading news outlet.
vegasinsider.com API
Retrieve MLB betting odds from major sportsbooks including bet365, FanDuel, and DraftKings, covering Moneyline, Total, and Runline markets for any supported date. Easily compare odds across books to identify the best available lines.
puntoticket.com API
Browse and search events happening in Chile with PuntoTicket, viewing featured shows, filtering by category, and checking detailed pricing and availability for concerts, theater, sports, and more. Find the perfect event by exploring all listings or discovering what's trending right now.
130point.com API
Search for sold trading cards across eBay, Goldin, Heritage Auctions, Pristine Auction, MySlabs, and Fanatics Collect to find historical prices, sale dates, and marketplace information all in one place. Get comprehensive sales data to research card values and track market trends across multiple platforms instantly.
wynncraft.com API
Access detailed Wynncraft game information to look up item metadata and search across the complete item database, retrieve player statistics and character inventories, and browse guild information and global search results. Use this data to compare gear, track player progress, analyze guild rosters, or build tools for the Wynncraft community.
whoscored.com API
Search for players and teams, then dive deep into their performance metrics, match statistics, and detailed passing data to analyze football games and player abilities. Get comprehensive insights on team performance, individual player stats, and play-by-play event information to power your football analysis and decision-making.