1xbet API1xbet.fi ↗
Access real-time updates on live sporting events and instantly view current match status and betting odds from 1xBet to make informed wagering decisions. Get live event data as it happens so you can monitor games and track odds movements throughout competition.
curl -X GET 'https://api.parse.bot/scraper/2a3ad92e-8788-45dd-8fe5-acf4802b2786/get_live_events?count=5&sport_id=1' \ -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-fi-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 Live Events SDK — bounded, re-runnable; every call capped."""
from parse_apis.api_1xbet_fi_api import OneXBet, SportId, GeoBlocked
client = OneXBet()
# List live football events with status and odds
for event in client.live_events.list(sport_id=SportId._1, limit=3):
print(event.home_team, event.home_score, "-", event.away_score, event.away_team)
print(f" {event.league} | {event.period_name} {event.time_minutes}min")
if event.main_odds.home_win:
print(f" 1X2: {event.main_odds.home_win} / {event.main_odds.draw} / {event.main_odds.away_win}")
# Drill-down: take one event and inspect its handicaps
match = client.live_events.list(sport_id=SportId._1, count=10, limit=1).first()
if match:
print(f"\nDetail: {match.home_team} vs {match.away_team}")
for h in match.handicaps[:2]:
print(f" Handicap {h.type}: {h.value} @ {h.odds}")
# Typed error handling for geo-blocked IPs
try:
for ev in client.live_events.list(sport_id=SportId._4, limit=1):
print(ev.home_team, ev.away_team)
except GeoBlocked:
print("Blocked: IP is from a restricted country")
print("exercised: live_events.list")
Retrieve currently live sporting events with real-time match status (score, period, time) and betting odds (coefficients). Returns main 1X2 odds, handicaps, and totals for each event. Results are filtered by sport; football (sport_id=1) is the default. Events reflect the current in-play state and odds shift in real time.
| Param | Type | Description |
|---|---|---|
| count | integer | Maximum number of events to return (1-100). |
| sport_id | string | Sport identifier. 1=Football, 2=Ice Hockey, 3=Basketball, 4=Tennis, 6=Volleyball. |
{
"type": "object",
"fields": {
"total": "integer count of events returned",
"events": "array of live event objects with status and odds"
},
"sample": {
"data": {
"total": 1,
"events": [
{
"sport": "Football",
"league": "USA. MLS",
"totals": [
{
"odds": 7.62,
"type": "over",
"value": 2.5
},
{
"odds": 1.09,
"type": "under",
"value": 2.5
}
],
"event_id": 739224719,
"away_team": "Los Angeles Galaxy",
"handicaps": [
{
"odds": 1.504,
"type": "home",
"value": null
},
{
"odds": 2.735,
"type": "away",
"value": null
}
],
"home_team": "San Jose Earthquakes",
"main_odds": {
"draw": 1.09,
"away_win": 24,
"home_win": 13.8,
"draw_or_away": 1.035,
"home_or_away": 8.46,
"home_or_draw": 1.007
},
"away_score": 1,
"home_score": 1,
"start_time": 1785033000,
"period_name": "2nd half",
"time_minutes": 90,
"markets_count": 40,
"current_period": 2
}
]
},
"status": "success"
}
}About the 1xbet API
The 1xbet API on Parse exposes 1 endpoint for the publicly available data on 1xbet.fi. 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.