Live
get_recent_matches
sofascore.comReturns up to 10 recent finished matches between two teams from https://www.sofascore.com, newest first, with every nonempty event field.
Parameters4
Runs7
Updated5h ago
Operational7 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_recent_matches?
Returns up to 10 recent finished matches between two teams from https://www.sofascore.com, newest first, with 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, limit, max_pages and get the result back without maintaining a scraper.
Response
{
"count": 0,
"matches": [
{}
],
"team_id": 0,
"pages_fetched": 0,
"has_more_history": true,
"opponent_team_id": 0
}Call it
curl --location 'https://us-prod.notte.cc/functions/36a38832-b6a4-4e51-9759-0b9cd20ad50a/runs/start' \
--header 'x-notte-api-key: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--data '{
"function_id": "36a38832-b6a4-4e51-9759-0b9cd20ad50a",
"variables": {
"team_id": 5257,
"opponent_team_id": 5255,
"limit": 10,
"max_pages": 100
}
}'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="36a38832-b6a4-4e51-9759-0b9cd20ad50a") — the "get_recent_matches" function, which returns up to 10 recent finished matches between two teams from https://www.sofascore.com, newest first, with every nonempty event field.. It takes team_id (int), opponent_team_id (int), limit (int), max_pages (int). Return the result as structured JSON.