Marketplace
No threads yet
Live

get_event_head_to_head

sofascore.com

Returns team and manager duel records, pregame form and event fun facts for a numeric event ID from https://www.sofascore.com.

Parameters1
Runs4
Updated5h ago
Operational4 runs · 100% succeeded
30 days agotoday

Playground

Runs on Notte and spends your workspace credits — what comes back is the live response, not a sample.

What is get_event_head_to_head?

Returns team and manager duel records, pregame form and event fun facts for a numeric event ID from https://www.sofascore.com. It runs on Notte's browser infrastructure and returns structured JSON, so you can call it like any other API — pass event_id and get the result back without maintaining a scraper.

Response

{
  "h2h": {},
  "match": {},
  "event_id": 0,
  "fun_facts": {},
  "team_duel": {
    "draws": 0,
    "total": 0,
    "away_wins": 0,
    "home_wins": 0,
    "draw_percentage": 0,
    "away_win_percentage": 0,
    "home_win_percentage": 0
  },
  "manager_duel": {
    "draws": 0,
    "total": 0,
    "away_wins": 0,
    "home_wins": 0,
    "draw_percentage": 0,
    "away_win_percentage": 0,
    "home_win_percentage": 0
  },
  "pregame_form": {}
}

Call it

curl --location 'https://us-prod.notte.cc/functions/65e56eb4-df7c-4191-94e2-e99a68d459e1/runs/start' \
--header 'x-notte-api-key: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--data '{
    "function_id": "65e56eb4-df7c-4191-94e2-e99a68d459e1",
    "variables": {
        "event_id": 15502653
    }
}'

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="65e56eb4-df7c-4191-94e2-e99a68d459e1") — the "get_event_head_to_head" function, which returns team and manager duel records, pregame form and event fun facts for a numeric event ID from https://www.sofascore.com..

It takes event_id (int). Return the result as structured JSON.