Bet APIbet365.bet.br ↗
Access structured betting odds, featured events, live scores, and sport categories from bet365.bet.br via 5 endpoints returning hierarchical market data.
What is the Bet API?
This API exposes 5 endpoints covering betting markets, live scores, and sport navigation from bet365 Brazil. The get_home_featured_events endpoint returns a full hierarchical tree of featured sections — including classes (CL), events (EV), markets (MA), and selections (PA) — alongside promotional banners and popular bets from the homepage. Separate endpoints cover sport category listings, competition-specific fixtures, Formula 1 events, and live match scores.
No input parameters required.
curl -X GET 'https://api.parse.bot/scraper/918eea81-bc93-4371-9f5f-ba15d447636d/get_home_featured_events' \ -H 'X-API-Key: $PARSE_API_KEY'
Extracts featured sports sections, betting markets, promotional banners, and popular bets from the bet365 Brazil homepage. Returns a hierarchical tree structure with classes (CL), events (EV), markets (MA), and selections (PA), plus the raw parsed sections from the proprietary delimited response format. The tree contains sport navigation shortcuts, promotional banners with images and links, and spotlight betting markets with odds.
No input parameters required.
{
"type": "object",
"fields": {
"tree": "array of hierarchical event/market objects with type CL (class), EV (event), MA (market), PA (selection)",
"raw_sections": "array of raw parsed record arrays from the delimited response format"
},
"sample": {
"data": {
"tree": [
{
"IT": "#CR#LEAGUES#CONT#",
"type": "CL",
"events": [
{
"type": "EV",
"markets": [
{
"CL": "1",
"IM": "WC26-Crest",
"NA": "Copa do Mundo",
"PD": "#AS#B1#I%5E88#J%5E1#K%5E1#",
"type": "MA",
"selections": []
}
]
}
]
}
],
"raw_sections": [
[
{
"type": "F"
},
{
"CO": "1",
"IT": "#HO#COL1#PDCOL1#",
"type": "PS"
}
]
]
},
"status": "success"
}
}About the Bet API
Featured Events and Market Structure
get_home_featured_events returns two top-level fields: tree and raw_sections. The tree is a nested array where each node carries a type tag — CL for class/sport grouping, EV for individual events, MA for betting markets, and PA for selections with odds. This mirrors the structural hierarchy displayed on the bet365 Brazil homepage and is suitable for building odds displays or tracking market availability across featured matches. raw_sections contains the unprocessed parsed records if you need to inspect the source data before it is normalized into the tree.
Sport Categories and Competition Paths
get_sport_categories returns two arrays: sports (all navigation entries with name, pd, and id fields) and competitions (a filtered subset whose pd values follow the #AC# format). The pd field is the path identifier required by get_sport_events. Only #AC# competition paths are accepted by that endpoint — passing a sport landing path (e.g. #AS#…) returns a 422 stale_input error. This makes competitions[*].pd the correct source for valid pd_path values.
Event Fixtures and Scores
get_sport_events accepts a single required parameter, pd_path, and returns a path echo plus a tree of hierarchical event nodes for that competition. get_formula1_events is a no-parameter convenience endpoint that targets the Formula 1 competition path directly; it may return an empty tree during the off-season. get_scores_placares retrieves live and recently completed match scores, also returning a path and tree; the tree will be empty when no matches are currently in-play or recently finished.
Coverage Scope
All endpoints target bet365.bet.br, the Brazilian-market domain. Data reflects the Portuguese-language Brazilian site, including local promotions, Copa do Mundo and NBA Finals entries in category listings, and Brazilian football competitions. No authentication is required to call these endpoints.
The Bet API is a managed, monitored endpoint for bet365.bet.br — not a raw scraper you maintain. Every endpoint is automatically health-checked on a schedule, and when bet365.bet.br changes and a check fails, the API is automatically queued for repair and re-verified. It is built to keep working as the site underneath it changes.
This isn't an official bet365.bet.br API — it's an independent, maintained REST wrapper over public data. Where the source has no official API (or only a limited one), Parse gives you a stable contract over a source that never promised one, and keeps it current. Need a new endpoint or field? You can revise it yourself in plain English and the agent rebuilds it against the live site in minutes — contributing the change back to the shared API is free.
Will this API break when the source site changes?+
Is this an official API from the source site?+
Can I fix or extend this API myself if I need a new endpoint or field?+
What happens if I call an endpoint that has an issue?+
- Aggregate current odds for featured matches using the
treefromget_home_featured_eventsacross CL, EV, MA, and PA nodes - Build a sport navigation index by iterating
competitions[*].pdfromget_sport_categoriesto enumerate valid competition paths - Pull fixtures for a specific Brazilian football competition by passing its
#AC#pd_path toget_sport_events - Monitor live and recently completed match results using the
treereturned byget_scores_placares - Track homepage promotional banners and popular bets from
raw_sectionsinget_home_featured_events - Fetch Formula 1 race betting markets without needing to look up the competition path, using
get_formula1_events - Detect available betting markets per event by inspecting MA-type nodes in the hierarchical tree across any event endpoint
| Tier | Price | Credits/month | Rate limit |
|---|---|---|---|
| Free | $0/mo | 200 | 5 req/min |
| Hobby | $30/mo | 1,000 | 20 req/min |
| Developer | $100/mo | 5,000 | 100 req/min |
| Team | $300/mo | 20,000 | 300 req/min |
| Company | $1,000/mo | 100,000 | 500 req/min |
Each endpoint has a fixed posted price per successful call — most fall between 1 and 10 credits — shown on this API's page before you run it. Exceeding the rate limit returns a 429 response. Authenticate with the X-API-Key header.
Does bet365 offer an official developer API?+
What does `get_sport_events` return and how do I get a valid `pd_path`?+
path string (echoing your input) and a tree array of CL, EV, MA, and PA nodes for the requested competition. Valid pd_path values must come from competitions[*].pd returned by get_sport_categories — only paths in #AC# format are accepted. Passing a sport-level path (e.g. starting with #AS#) will result in a 422 error.Does `get_scores_placares` return in-play odds alongside scores?+
tree nodes but does not expose live in-play betting odds. Featured in-play markets appear in the tree from get_home_featured_events. You can fork this API on Parse and revise it to add a dedicated in-play odds endpoint if that data is available at a distinct path.Does the API cover sports other than football and Formula 1?+
get_sport_categories returns all sport and competition entries from the site's navigation, which includes basketball (e.g. NBA Finals), and other categories listed on bet365.bet.br. However, there are no pre-built convenience endpoints beyond Formula 1; other sports require calling get_sport_events with the appropriate pd_path. You can fork this API on Parse and revise it to add named convenience endpoints for additional sports.