Discover/turkishairlines.com API
live

turkishairlines.com APIwww.turkishairlines.com

Search Turkish Airlines flights, check real-time flight status, and look up airport/city codes via 3 structured JSON endpoints.

Endpoints
3
Updated
14d ago
Try it
Search text for airport or city name (e.g., 'London', 'Istanbul', 'JFK')
api.parse.bot/scraper/0f9ef04a-be71-467a-8675-e23318aa7158/<endpoint>
Ready to send
Fill in the parameters and hit sign in to send to see live response data here.
Use it in your codegrab a free API key at signup
curl -X GET 'https://api.parse.bot/scraper/0f9ef04a-be71-467a-8675-e23318aa7158/search_locations?query=Istanbul' \
  -H 'X-API-Key: $PARSE_API_KEY'
All endpoints · 3 totalclick to expand

Search for airports and cities served by Turkish Airlines. Returns airport codes, city names, countries, and whether multi-port selections are available.

Input
ParamTypeDescription
queryrequiredstringSearch text for airport or city name (e.g., 'London', 'Istanbul', 'JFK')
Response
{
  "type": "object",
  "fields": {
    "query": "string — the search text submitted",
    "total": "integer — number of matching locations",
    "locations": "array of location objects with code, name, type, city, city_code, country, country_code, region, multi_port, domestic, associated_ports"
  },
  "sample": {
    "data": {
      "query": "Istanbul",
      "total": 3,
      "locations": [
        {
          "city": "Istanbul",
          "code": "IST",
          "name": "Istanbul",
          "type": "city",
          "region": "Europe",
          "country": "Türkiye",
          "domestic": true,
          "city_code": "IST",
          "multi_port": true,
          "country_code": "TR",
          "associated_ports": [
            "IST",
            "SAW"
          ]
        },
        {
          "city": "Istanbul",
          "code": "IST",
          "name": "Istanbul Airport",
          "type": "port",
          "region": "Europe",
          "country": "Türkiye",
          "domestic": true,
          "city_code": "IST",
          "multi_port": false,
          "country_code": "TR",
          "associated_ports": []
        }
      ]
    },
    "status": "success"
  }
}

About the turkishairlines.com API

The Turkish Airlines API exposes 3 endpoints covering airport lookup, flight availability with fare breakdowns, and live flight status. Use search_locations to resolve airport codes and city names, search_flights to retrieve itinerary options with per-cabin pricing across one-way or round-trip routes, and get_flight_status to pull departure and arrival details, gate assignments, and aircraft type for any TK flight number.

Airport and Location Search

The search_locations endpoint accepts a free-text query — a city name, airport name, or IATA code — and returns a ranked list of matching locations. Each result includes code, name, type, city, city_code, country, country_code, region, and boolean flags for domestic and multi_port. The multi_port flag indicates cities served by more than one airport, useful for disambiguating queries like "London" (LHR, LGW, LCY) before passing a code to the flight search.

Flight Availability and Fares

search_flights requires origin, destination, and departure_date (YYYY-MM-DD). Add return_date for a round-trip result. Optional adults, children, infants, and cabin_class (ECONOMY, BUSINESS, or FIRST) parameters filter the response. The returned legs array contains flight segments, pricing per passenger category, and fare_categories detailing brand rights — conditions like baggage allowance and change fees — for each available fare. This lets you compare fare families on the same flight, not just price totals.

Real-Time Flight Status

get_flight_status takes a flight_number (with or without the TK prefix, e.g. TK188 or 188) and an optional date defaulting to today UTC. The response includes a has_flights boolean, then a flights array where each segment carries scheduled and actual times, gate, terminal, aircraft type, and origin/destination airport details. The cleaned flight_number field in the response always strips the TK prefix for consistent downstream processing.

Common use cases
  • Build a flight price tracker that monitors fare changes on specific Turkish Airlines routes using search_flights with fixed origin/destination pairs.
  • Populate an autocomplete field for airport selection by querying search_locations as the user types a city or airport name.
  • Display live departure boards for Turkish Airlines flights at a specific airport using get_flight_status with relevant flight numbers.
  • Compare ECONOMY vs BUSINESS fare brand rights and baggage conditions on a given route by passing different cabin_class values to search_flights.
  • Alert travelers to gate or terminal changes by polling get_flight_status for a monitored flight number on the day of travel.
  • Resolve ambiguous city inputs (e.g., 'Paris' returning CDG and ORY) using the multi_port field from search_locations before initiating a fare search.
  • Aggregate one-way price data across multiple departure dates for a route to identify the cheapest travel windows.
Pricing & limitsSee full pricing →
TierPriceCredits/monthRate limit
Free$0/mo1005 req/min
Hobby$30/mo1,00020 req/min
Developer$100/mo5,000250 req/min

One credit = one API call regardless of which marketplace API you call. Exceeding the rate limit returns a 429 response. Authenticate with the X-API-Key header.

Frequently asked questions
Does Turkish Airlines offer an official developer API?+
Turkish Airlines does not publish a self-serve developer API for flight search, status, or location data. The Parse API provides structured access to this data via the endpoints described here.
What does the search_flights response include beyond a ticket price?+
Each leg in the response contains a flights array with individual segments, per-passenger pricing broken down by type (adult, child, infant), and fare_categories that describe brand rights — conditions such as baggage allowance, seat selection, and change/refund rules — for each fare option on that flight.
Does get_flight_status return historical flight data or only current-day flights?+
The endpoint accepts a date parameter in YYYY-MM-DD format, so you can query specific dates rather than only today. The response reflects scheduled and operational data (times, gate, terminal, aircraft) for flights on that date. Deep historical archives are not exposed through this endpoint. You can fork the API on Parse and revise it to add a dedicated historical status endpoint if your use case requires it.
Does the API cover codeshare or partner-operated flights, not just TK-numbered flights?+
The get_flight_status endpoint is designed around Turkish Airlines flight numbers (TK prefix or numeric equivalents). Codeshare or Star Alliance partner flights operated under non-TK numbers are not currently covered. You can fork the API on Parse and revise it to add an endpoint targeting partner flight lookups.
Can I retrieve seat maps or ancillary service availability through this API?+
Not currently. The three endpoints cover location search, fare availability with brand rights, and flight status. Seat maps, meal preferences, and ancillary add-on pricing are not exposed. You can fork the API on Parse and revise it to add those endpoints.
Page content last updated . Spec covers 3 endpoints from www.turkishairlines.com.
Related APIs in TravelSee all →
culturetrip.com API
Discover travel inspiration and plan your next adventure by browsing curated travel articles, destination guides, and bookable trips organized by region and city. Search for specific destinations, compare trip dates and prices, and explore popular cities to find the perfect getaway.
sevenrooms.com API
Search for available restaurant tables across any SevenRooms venue, view venue details and open dates, and complete reservations all in one place. Whether you're planning ahead or booking last-minute, you can check real-time availability and secure your table at thousands of restaurants on the SevenRooms platform.
delta.com API
Look up Delta Airlines flight schedules, check real-time flight status, and retrieve detailed trip information to plan your travel. Find your nearest airport and access the data you need to monitor flights and make booking decisions.
customs.gov.mv API
Check import/export duties, tariff classifications, and exchange rates for Maldives customs compliance, plus track vessel movements, company registrations, and declaration statuses. Get real-time data directly from the official customs portal to streamline your trade and logistics operations.
comedymothership.com API
Browse upcoming Comedy Mothership shows across different rooms, check real-time ticket availability, and get detailed information about Kill Tony events and seating options. Find venue details, FAQs, and track specific performances to plan your comedy night.
burningman.org API
Access comprehensive Burning Man information including Black Rock City event schedules, ticketing details, themed activities, playa events, volunteering opportunities, and mutant vehicle listings. Search global Burning Man events, stay updated with news and stories, and find preparation resources all in one place.
breckenridge.com API
Check real-time snow conditions, weather forecasts, lift operations, and trail status at Breckenridge Ski Resort to plan your day on the mountain. View live mountain cameras and get up-to-the-minute updates on slopes, lifts, and weather before you head out.
united.com API
Search United Airlines flights, check real-time flight status, and view detailed seat maps to plan your perfect trip. Compare fare options and use airport autocomplete to quickly find your departure and arrival cities.