Marketplace
No threads yet
Live

get_promotional_flights

avianca.com

Returns the complete current set of Avianca promotional flight offers across all points of sale, including routes, available currency prices, trip type, category, discount details when supplied, and miles eligibility. Reads https://www.avianca.com.

Parameters0
Runs10
Updated10d ago
Operational10 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_promotional_flights?

Returns the complete current set of Avianca promotional flight offers across all points of sale, including routes, available currency prices, trip type, category, discount details when supplied, and miles eligibility. Reads https://www.avianca.com. It runs on Notte's browser infrastructure and returns structured JSON, so you can call it like any other API — call it with no parameters and get the result back without maintaining a scraper.

Response

{
  "total": 0,
  "offers": [
    {
      "prices": {},
      "trip_type": "<string>",
      "earns_miles": true,
      "origin_iata": "<string>",
      "category_code": "<string>",
      "point_of_sale": "<string>",
      "destination_iata": "<string>",
      "trip_type_labels": {},
      "additional_details": {}
    }
  ],
  "points_of_sale": [
    "<string>"
  ]
}

Call it

curl --location 'https://us-prod.notte.cc/functions/97adc98a-41b9-427a-b68a-23951750d712/runs/start' \
--header 'x-notte-api-key: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--data '{
    "function_id": "97adc98a-41b9-427a-b68a-23951750d712",
    "variables": {}
}'

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="97adc98a-41b9-427a-b68a-23951750d712") — the "get_promotional_flights" function, which returns the complete current set of Avianca promotional flight offers across all points of sale, including routes, available currency prices, trip type, category, discount details when supplied, and miles eligibility. Reads https://www.avianca.com..

It takes no parameters. Return the result as structured JSON.