Pari APIpari.ru ↗
Place informed bets by accessing real-time football match odds and comprehensive match details from the pari.ru betting platform. Get current prices and detailed information to make better betting decisions quickly.
curl -X GET 'https://api.parse.bot/scraper/ce95e65d-f855-43ac-b1a2-6db9fe5fe73a/get_prices?lang=ru&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 pari-ru-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: pari_ru_api SDK — bounded, re-runnable; every call capped."""
from parse_apis.pari_ru_api import Pari, EventNotFound
client = Pari()
# List football matches with their odds
for match in client.match_summaries.list(sport_id="1", limit=3):
print(match.team1, "vs", match.team2, "| markets:", match.total_markets)
# Drill into the first match for full detail
summary = client.match_summaries.list(sport_id="1", limit=1).first()
try:
detail = client.matches.get(event_id=str(summary.event_id))
print(detail.team1, "vs", detail.team2, "| competition:", detail.competition)
for sub in detail.sub_events[:3]:
print(" sub-event:", sub.name, "| markets:", sub.total_markets)
except EventNotFound as e:
print("event gone:", e.event_id)
print("exercised: match_summaries.list, matches.get")
Retrieve football match prices (odds) for all upcoming and live matches. Returns main-level matches with their basic market factors. Each match includes team names, start time, competition, and key betting odds. The factors array contains market odds where 'f' is the factor/market ID, 'v' is the coefficient (decimal odds), 'p' is the handicap/total parameter value (in hundredths), and 'pt' is the parameter display string.
| Param | Type | Description |
|---|---|---|
| lang | string | Language code for team/competition names (e.g. 'ru', 'en'). |
| sport_id | string | Numeric sport ID. 1 = Football. |
{
"type": "object",
"fields": {
"total": "integer total count of matches returned",
"matches": "array of match summary objects with event_id, team1, team2, start_time, sport_name, competition_id, place, total_markets, factors"
},
"sample": {
"data": {
"total": 3369,
"matches": [
{
"place": "line",
"team1": "Локомотив Москва",
"team2": "Ахмат",
"factors": [
{
"f": 924,
"v": 1.17
},
{
"f": 910,
"p": -250,
"v": 4.8,
"pt": "-2.5"
},
{
"f": 912,
"p": 250,
"v": 1.13,
"pt": "+2.5"
}
],
"event_id": 66039247,
"sport_name": "Россия. Премьер-Лига. Сезон 26/27",
"start_time": 1785074400,
"total_markets": 757,
"competition_id": 11935
}
]
},
"status": "success"
}
}About the Pari API
The Pari API on Parse exposes 2 endpoints for the publicly available data on pari.ru. 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.