1xbet.ng API1xbet.ng ↗
Access live sports odds and real-time game data across all supported sports from 1xBet Nigeria, letting you monitor current betting markets and available sports instantly. Build applications that track market odds and sports availability as they update in real-time.
No input parameters required.
curl -X GET 'https://api.parse.bot/scraper/6abcf8e3-384d-48e9-bff9-87df103fcce0/list_sports' \ -H 'X-API-Key: $PARSE_API_KEY'
Typed, relational, agent-ready
A generated client with real types, enums, and the links between objects — the structure a flat JSON response can't carry. Autocompletes in your editor and reads cleanly to coding agents.
- Fully typed · autocompletes
- Objects link to objects
- Typed errors & pagination
Typed Python client. Set up the SDK in your uv project, then pull this API’s typed client:
uv add parse-sdk uv run parse init uv run parse add --marketplace 1xbet-ng-api
uv run parse add --marketplace pulls a pinned snapshot of this canonical API — it won’t change underneath you. To customize it, subscribe and swap to your own copy.
"""Walkthrough: 1xBet Sports Odds API — bounded, re-runnable."""
from parse_apis._1xBet_Sports_Odds_API import OneXBet, SportNotFound
client = OneXBet()
# List all available sports with their IDs and game counts.
for sport in client.sports.list(limit=5):
print(sport.name, f"(ID: {sport.sport_id}, leagues: {sport.league_count}, games: {sport.total_games})")
# Drill into one sport's live odds using constructible Sport.
football = client.sport(sport_id=1)
game = football.odds(limit=1).first()
if game:
print(f"\nLive: {game.home} vs {game.away} ({game.league})")
for odd in game.odds[:3]:
print(f" {odd.market_name}: {odd.odds} (param={odd.parameter})")
# Typed error handling for invalid sport_id.
try:
bad_sport = client.sport(sport_id=99999)
for g in bad_sport.odds(limit=1):
print(g.home)
except SportNotFound as exc:
print(f"\nSport not found: {exc}")
print("\nexercised: sports.list / sport.odds / SportNotFound")
Returns all available sports on the platform with their numeric IDs, names, league counts, and total game counts. Use the sport_id values from this endpoint to filter live odds in get_live_odds. Results are ordered by sport_id ascending. The platform hosts 35+ sports ranging from Football to Esports.
No input parameters required.
{
"type": "object",
"fields": {
"sports": "array of sport objects with sport_id, name, league_count, total_games",
"total_sports": "integer"
},
"sample": {
"data": {
"sports": [
{
"name": "Football",
"sport_id": 1,
"total_games": 1149,
"league_count": 126
},
{
"name": "Basketball",
"sport_id": 3,
"total_games": 64,
"league_count": 23
},
{
"name": "Volleyball",
"sport_id": 6,
"total_games": 119,
"league_count": 12
}
],
"total_sports": 35
},
"status": "success"
}
}About the 1xbet.ng API
The 1xbet.ng API on Parse exposes 2 endpoints for the publicly available data on 1xbet.ng. Calls return JSON over HTTPS and are billed per successful response.
Pin a release with the API-Snapshot-Version header so canonical updates don't silently change your contract.