Marketplace
No threads yet
Live

search_turkish_airlines_airports

turkishairlines.com

Searches airports and cities served by Turkish Airlines on https://www.turkishairlines.com. Returns matching location records with airport and city codes, names, countries, regions, and multi-port selections.

Parameters3
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 search_turkish_airlines_airports?

Searches airports and cities served by Turkish Airlines on https://www.turkishairlines.com. Returns matching location records with airport and city codes, names, countries, regions, and multi-port selections. It runs on Notte's browser infrastructure and returns structured JSON, so you can call it like any other API — pass query, language, arrival_only and get the result back without maintaining a scraper.

Response

{
  "count": 0,
  "query": "<string>",
  "language": "<string>",
  "locations": [
    {}
  ]
}

Call it

curl --location 'https://us-prod.notte.cc/functions/e23c8085-9772-4035-af86-2463591dd42d/runs/start' \
--header 'x-notte-api-key: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer YOUR_API_KEY' \
--data '{
    "function_id": "e23c8085-9772-4035-af86-2463591dd42d",
    "variables": {
        "query": "Istanbul",
        "language": "en",
        "arrival_only": false
    }
}'

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="e23c8085-9772-4035-af86-2463591dd42d") — the "search_turkish_airlines_airports" function, which searches airports and cities served by Turkish Airlines on https://www.turkishairlines.com. Returns matching location records with airport and city codes, names, countries, regions, and multi-port selections..

It takes query (str), language (str), arrival_only (bool). Return the result as structured JSON.