Live
get_stage_profiles
procyclingstats.comReturns every stage with route, distance, vertical meters, profile scores, time trial indicators, and profile image from https://procyclingstats.com.
Parameters2
Runs6
Updated3d ago
Operational6 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_stage_profiles?
Returns every stage with route, distance, vertical meters, profile scores, time trial indicators, and profile image 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, timeout_seconds and get the result back without maintaining a scraper.
Response
{
"stages": [
{
"date": "<string>",
"route": "<string>",
"stage_url": "<string>",
"distance_km": 0,
"stage_label": "<string>",
"stage_number": "<string>",
"is_time_trial": true,
"profile_score": 0,
"start_location": "<string>",
"finish_location": "<string>",
"time_trial_type": "<string>",
"vertical_meters": 0,
"profile_image_url": "<string>",
"is_team_time_trial": true,
"is_individual_time_trial": true,
"profile_score_final_25_km": 0
}
],
"race_name": "<string>",
"race_year": 0,
"source_url": "<string>",
"stage_count": 0
}Call it
curl --location 'https://us-prod.notte.cc/functions/291ed5cd-6fd2-4073-9c93-6cfd925a5dde/runs/start' \
--header 'x-notte-api-key: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--data '{
"function_id": "291ed5cd-6fd2-4073-9c93-6cfd925a5dde",
"variables": {
"url": "DEFAULT_URL",
"timeout_seconds": 35
}
}'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="291ed5cd-6fd2-4073-9c93-6cfd925a5dde") — the "get_stage_profiles" function, which returns every stage with route, distance, vertical meters, profile scores, time trial indicators, and profile image from https://procyclingstats.com.. It takes url (str), timeout_seconds (int). Return the result as structured JSON.