Live
get_next_match
sofascore.comFinds the next unfinished scheduled match between two teams on https://www.sofascore.com and returns every nonempty event field.
Parameters3
Runs5
Updated5h ago
Operational5 runs · 100% succeeded
30 days ago90 days agoranfailednot checkedtoday
Playground
Runs on Notte and spends your workspace credits — what comes back is the live response, not a sample.
What is get_next_match?
Finds the next unfinished scheduled match between two teams on https://www.sofascore.com and returns every nonempty event field. It runs on Notte's browser infrastructure and returns structured JSON, so you can call it like any other API — pass team_id, opponent_team_id, max_pages and get the result back without maintaining a scraper.
Response
{
"event": {},
"reason": "<string>",
"team_id": 0,
"available": true,
"pages_fetched": 0,
"opponent_team_id": 0
}Call it
curl --location 'https://us-prod.notte.cc/functions/13a791dd-10db-49fd-9bb6-2ec3c80d3c2e/runs/start' \
--header 'x-notte-api-key: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--data '{
"function_id": "13a791dd-10db-49fd-9bb6-2ec3c80d3c2e",
"variables": {
"team_id": 5032,
"opponent_team_id": 5034,
"max_pages": 30
}
}'Ask an agent
Paste this into Claude Code, Cursor or any MCP client to have an agent call this function for you.
prompt
Use the Anything API MCP server (https://anything.notte.cc/mcp). Call run(function_id="13a791dd-10db-49fd-9bb6-2ec3c80d3c2e") — the "get_next_match" function, which finds the next unfinished scheduled match between two teams on https://www.sofascore.com and returns every nonempty event field.. It takes team_id (int), opponent_team_id (int), max_pages (int). Return the result as structured JSON.