Marketplace
No threads yet
Live

get_com_flight_price_calendar

us.trip.com

Gets approximately 90 days of lowest one-way flight prices by date from https://us.trip.com for a route. Returns source date and fare fields, formatted prices, cheapest dates, and booking URLs.

Parameters7
Runs9
Updated10d ago
Operational9 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_com_flight_price_calendar?

Gets approximately 90 days of lowest one-way flight prices by date from https://us.trip.com for a route. Returns source date and fare fields, formatted prices, cheapest dates, and booking URLs. It runs on Notte's browser infrastructure and returns structured JSON, so you can call it like any other API — pass departure_city, arrival_city, reference_date, days, cabin_class, currency, adults and get the result back without maintaining a scraper.

Response

{
  "days": 0,
  "prices": [
    {
      "date": "<string>",
      "price": 0,
      "currency": "<string>",
      "booking_url": "<string>",
      "date_display": "<string>",
      "origin_price": 0,
      "price_display": "<string>",
      "source_fields": {},
      "date_timestamp": 0
    }
  ],
  "currency": "<string>",
  "end_date": "<string>",
  "cabin_class": "<string>",
  "entry_count": 0,
  "arrival_city": "<string>",
  "cheapest_dates": [
    "<string>"
  ],
  "cheapest_price": 0,
  "departure_city": "<string>",
  "reference_date": "<string>",
  "source_lowest_price": 0
}

Call it

curl --location 'https://us-prod.notte.cc/functions/588fd97f-adf7-4f06-aca9-4ddf300358e7/runs/start' \
--header 'x-notte-api-key: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--data '{
    "function_id": "588fd97f-adf7-4f06-aca9-4ddf300358e7",
    "variables": {
        "departure_city": "LAX",
        "arrival_city": "NYC",
        "reference_date": "",
        "days": 90,
        "cabin_class": "Economy",
        "currency": "USD",
        "adults": 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="588fd97f-adf7-4f06-aca9-4ddf300358e7") — the "get_com_flight_price_calendar" function, which gets approximately 90 days of lowest one-way flight prices by date from https://us.trip.com for a route. Returns source date and fare fields, formatted prices, cheapest dates, and booking URLs..

It takes departure_city (str), arrival_city (str), reference_date (str), days (int), cabin_class (str), currency (str), adults (int). Return the result as structured JSON.