get_spot_forecast
surfline.comRetrieves detailed surf and swell forecasts for a Surfline spot from https://surfline.com, including surf size, swell components, power, and probability across multiple timestamps.
Playground
Runs on Notte and spends your workspace credits — what comes back is the live response, not a sample.
What is get_spot_forecast?
Retrieves detailed surf and swell forecasts for a Surfline spot from https://surfline.com, including surf size, swell components, power, and probability across multiple timestamps. It runs on Notte's browser infrastructure and returns structured JSON, so you can call it like any other API — pass spot_id, days, interval_hours and get the result back without maintaining a scraper.
Response
{
"days": 0,
"spot_id": "<string>",
"forecasts": [
{}
],
"associated": {},
"interval_hours": 0
}Call it
curl --location 'https://us-prod.notte.cc/functions/28848981-8636-4f9c-9cb9-b27cb6c8374e/runs/start' \
--header 'x-notte-api-key: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--data '{
"function_id": "28848981-8636-4f9c-9cb9-b27cb6c8374e",
"variables": {
"spot_id": "5842041f4e65fad6a770883b",
"days": 2,
"interval_hours": 3
}
}'Ask an agent
Paste this into Claude Code, Cursor or any MCP client to have an agent call this function for you.
Use the Anything API MCP server (https://anything.notte.cc/mcp). Call run(function_id="28848981-8636-4f9c-9cb9-b27cb6c8374e") — the "get_spot_forecast" function, which retrieves detailed surf and swell forecasts for a Surfline spot from https://surfline.com, including surf size, swell components, power, and probability across multiple timestamps.. It takes spot_id (str), days (int), interval_hours (int). Return the result as structured JSON.