curl --request POST \
--url https://api.scrapeunblocker.com/sports/sofascore-search \
--header 'x-scrapeunblocker-key: <api-key>'import requests
url = "https://api.scrapeunblocker.com/sports/sofascore-search"
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/sofascore-search', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}Search SofaScore teams, players, tournaments and matches
Searches sofascore.com for query and returns the matches as JSON, best first. Each result has rank (its place in the list), type (team, player, tournament, match, manager, referee or venue), id, name, slug, a sofascore.com url, sport, country and followers; a player adds position, jerseyNumber and its team, a tournament its category, a match the same fields as /sports/sofascore-events. sport keeps to one sport, type to one kind of result. Feed an id to /sports/sofascore-team, -player, -tournament or -match.
curl --request POST \
--url https://api.scrapeunblocker.com/sports/sofascore-search \
--header 'x-scrapeunblocker-key: <api-key>'import requests
url = "https://api.scrapeunblocker.com/sports/sofascore-search"
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/sofascore-search', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}Authorizations
Your ScrapeUnblocker API key. Apply on every request.
Query Parameters
What to look for: a team, player, competition, match, manager, referee or venue name, e.g. 'real madrid', 'sinner', 'premier league', 'arsenal chelsea'.
The sport: football, basketball, tennis, ice-hockey, american-football, baseball, handball, volleyball, cricket, rugby, futsal, table-tennis, esports, darts, snooker, mma, aussie-rules, waterpolo, floorball, bandy, badminton, beach-volley, minifootball, padel, motorsport, cycling (soccer, hockey, nba, nfl and the like are accepted). Optional; narrows the search or name lookup to one sport.
Kind of result: all, teams, players, tournaments, matches, managers, referees, venues (all mixes them, best match first).
1-based results page to start from (1-5); the site serves 20 per page.
Results to collect across pages (1-100).
Response
JSON with a results array (empty when nothing matched).

