Marketplace
No threads yet
Live

get_match_preview

flashscore.com

Returns a FlashScore match preview from https://flashscore.com with both teams last 10 results, 10 head-to-head meetings, and available 1X2 odds.

Parameters2
Runs8
Updated3d ago
Operational8 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_match_preview?

Returns a FlashScore match preview from https://flashscore.com with both teams last 10 results, 10 head-to-head meetings, and available 1X2 odds. It runs on Notte's browser infrastructure and returns structured JSON, so you can call it like any other API — pass match_id, timeout_seconds and get the result back without maintaining a scraper.

Response

{
  "match": {},
  "source": "<string>",
  "match_id": "<string>",
  "odds_1x2": {},
  "away_last_10": [
    {}
  ],
  "home_last_10": [
    {}
  ],
  "input_not_found": true,
  "head_to_head_last_10": [
    {}
  ]
}

Call it

curl --location 'https://us-prod.notte.cc/functions/06b17ccc-25be-4c42-877d-bac93a69cd7e/runs/start' \
--header 'x-notte-api-key: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--data '{
    "function_id": "06b17ccc-25be-4c42-877d-bac93a69cd7e",
    "variables": {
        "match_id": "2q2NhX43",
        "timeout_seconds": 20
    }
}'

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="06b17ccc-25be-4c42-877d-bac93a69cd7e") — the "get_match_preview" function, which returns a FlashScore match preview from https://flashscore.com with both teams last 10 results, 10 head-to-head meetings, and available 1X2 odds..

It takes match_id (str), timeout_seconds (int). Return the result as structured JSON.