Marketplace
No threads yet
Live

get_race_details

procyclingstats.com

Returns detailed race metadata, images, classification leaders, and full ordered finishing results for a stage or one-day race from https://procyclingstats.com.

Parameters1
Runs11
Updated10d ago
Operational11 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_race_details?

Returns detailed race metadata, images, classification leaders, and full ordered finishing results for a stage or one-day race from https://procyclingstats.com. It runs on Notte's browser infrastructure and returns structured JSON, so you can call it like any other API — pass url and get the result back without maintaining a scraper.

Response

{
  "event": {},
  "results": [
    {
      "links": {},
      "fields": {}
    }
  ],
  "image_urls": {},
  "source_url": "<string>",
  "related_urls": {},
  "race_information": {},
  "classification_leaders": [
    {
      "links": {},
      "fields": {},
      "classification": "<string>"
    }
  ]
}

Call it

curl --location 'https://us-prod.notte.cc/functions/5c5c32f1-76fa-45a1-9f8f-398ffef40555/runs/start' \
--header 'x-notte-api-key: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--data '{
    "function_id": "5c5c32f1-76fa-45a1-9f8f-398ffef40555",
    "variables": {
        "url": "race/tour-de-france/2024/stage-1"
    }
}'

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="5c5c32f1-76fa-45a1-9f8f-398ffef40555") — the "get_race_details" function, which returns detailed race metadata, images, classification leaders, and full ordered finishing results for a stage or one-day race from https://procyclingstats.com..

It takes url (str). Return the result as structured JSON.