Scrape OddsPortal bookmaker odds for a match
curl --request POST \
--url https://api.scrapeunblocker.com/sports/oddsportal-odds \
--header 'x-scrapeunblocker-key: <api-key>'import requests
url = "https://api.scrapeunblocker.com/sports/oddsportal-odds"
headers = {"x-scrapeunblocker-key": "<api-key>"}
response = requests.post(url, headers=headers)
print(response.text)const options = {method: 'POST', headers: {'x-scrapeunblocker-key': '<api-key>'}};
fetch('https://api.scrapeunblocker.com/sports/oddsportal-odds', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Plugins
Scrape OddsPortal bookmaker odds for a match
Reads one OddsPortal match page and returns event (teams, startTime, tournament, status) and its main market (1X2, or Home/Away for two-way sports): each selection has the average and best price and odds with every bookmaker’s decimal price and movement (up or down where the site marks it); betting exchanges carry exchange: true and are left out of best. Pass the url from /sports/oddsportal-matches. The site lists the bookmakers licensed in the visitor’s country, so the bookmakers returned depend on the exit; use proxy_country for a given country. This is a browser render and takes longer than the league endpoint.
Scrape OddsPortal bookmaker odds for a match
curl --request POST \
--url https://api.scrapeunblocker.com/sports/oddsportal-odds \
--header 'x-scrapeunblocker-key: <api-key>'import requests
url = "https://api.scrapeunblocker.com/sports/oddsportal-odds"
headers = {"x-scrapeunblocker-key": "<api-key>"}
response = requests.post(url, headers=headers)
print(response.text)const options = {method: 'POST', headers: {'x-scrapeunblocker-key': '<api-key>'}};
fetch('https://api.scrapeunblocker.com/sports/oddsportal-odds', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Authorizations
Query Parameters
Response
JSON with event and markets.

