Marketplace
No threads yet
Live

get_spot_forecast

surfline.com

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.

Parameters3
Runs20
Updated10d ago
Degraded20 runs · 60% 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_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.

prompt
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.