Marketplace
No threads yet
Live

get_monthly_flight_prices

skyscanner.com

Returns the cheapest flight price for each of the next 12 months from https://skyscanner.com using origin and destination geo IDs, with direct and trip type options.

Parameters7
Runs3
Updated6h ago
Operational3 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_monthly_flight_prices?

Returns the cheapest flight price for each of the next 12 months from https://skyscanner.com using origin and destination geo IDs, with direct and trip type options. It runs on Notte's browser infrastructure and returns structured JSON, so you can call it like any other API — pass origin_geo_id, destination_geo_id, direct_only, trip_type, market, locale, currency and get the result back without maintaining a scraper.

Response

{
  "count": 0,
  "locale": "<string>",
  "market": "<string>",
  "prices": [
    {
      "month": {
        "day": 0,
        "year": 0,
        "month": 0
      },
      "price": {
        "unit": "<string>",
        "amount": "<string>",
        "currency_code": "<string>"
      },
      "price_category": "<string>"
    }
  ],
  "currency": "<string>",
  "trip_type": "<string>",
  "direct_only": true,
  "origin_geo_id": "<string>",
  "destination_geo_id": "<string>"
}

Call it

curl --location 'https://us-prod.notte.cc/functions/326d782e-5cac-4f9e-bb75-640dfc6ec0ae/runs/start' \
--header 'x-notte-api-key: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--data '{
    "function_id": "326d782e-5cac-4f9e-bb75-640dfc6ec0ae",
    "variables": {
        "origin_geo_id": "27537542",
        "destination_geo_id": "27544008",
        "direct_only": false,
        "trip_type": "oneway",
        "market": "US",
        "locale": "en-US",
        "currency": "USD"
    }
}'

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="326d782e-5cac-4f9e-bb75-640dfc6ec0ae") — the "get_monthly_flight_prices" function, which returns the cheapest flight price for each of the next 12 months from https://skyscanner.com using origin and destination geo IDs, with direct and trip type options..

It takes origin_geo_id (str), destination_geo_id (str), direct_only (bool), trip_type (str), market (str), locale (str), currency (str). Return the result as structured JSON.