Discover/goibibo.com API
live

goibibo.com APIgoibibo.com

Search airports, find one-way flights, compare fare tiers, and retrieve cancellation policies from Goibibo with 4 structured endpoints.

Endpoints
4
Updated
14d ago
Try it
Maximum number of airport suggestions to return
City name or IATA code to search for (e.g. 'DEL', 'Mumbai', 'BOM')
api.parse.bot/scraper/646763c2-828c-4b36-80a4-117d6a320738/<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/646763c2-828c-4b36-80a4-117d6a320738/search_airports?query=BOM' \
  -H 'X-API-Key: $PARSE_API_KEY'
All endpoints · 4 totalclick to expand

Search for airports by city name or IATA code. Returns matching airport suggestions including IATA codes, airport names, city names, country information, and nearby airports within 200km.

Input
ParamTypeDescription
limitintegerMaximum number of airport suggestions to return
queryrequiredstringCity name or IATA code to search for (e.g. 'DEL', 'Mumbai', 'BOM')
Response
{
  "type": "object",
  "fields": {
    "results": "object containing SUGGESTIONS with title and data array of airport matches"
  },
  "sample": {
    "data": {
      "results": {
        "SUGGESTIONS": {
          "data": [
            {
              "iata": "BOM",
              "icon": "https://imgak.goibibo.com/flights-gi-assets/dt/common/icons/ic-flight-onward.png",
              "country": "India",
              "cityName": "Mumbai",
              "groupData": [
                {
                  "iata": "NMI",
                  "country": "India",
                  "cityName": "Navi Mumbai",
                  "group_type": "NB",
                  "airportName": "Navi Mumbai International Airport",
                  "countryCode": "IN",
                  "distanceInfoText": "22 km from Mumbai"
                }
              ],
              "locusCode": "CTBOM",
              "group_type": "",
              "airportName": "Chhatrapati Shivaji International Airport",
              "countryCode": "IN",
              "iataBgColors": [
                "#F2F2F2"
              ],
              "iataBorderColors": [
                "#D8D8D8"
              ]
            }
          ],
          "title": "SUGGESTIONS"
        }
      }
    },
    "status": "success"
  }
}

About the goibibo.com API

The Goibibo API exposes 4 endpoints covering airport lookup, one-way flight search, fare tier details, and cancellation or date-change policies sourced from Goibibo. Starting with search_airports, you can resolve city names or IATA codes into structured airport records before passing those codes into search_flights to retrieve live flight listings. Each flight result carries an rKey that unlocks per-fare and per-rule data downstream.

Airport and Flight Search

The search_airports endpoint accepts a query string — either a city name like "Mumbai" or an IATA code like "BOM" — and returns a results object containing a SUGGESTIONS key with a title and a data array of matching airports. Each suggestion includes the IATA code, airport name, city name, country details, and nearby airports within 200 km. An optional limit parameter caps the number of suggestions returned.

Once you have origin and destination IATA codes, search_flights takes those codes plus a date in YYYYMMDD format and returns a flights array alongside a total_found integer. The response covers one-way itineraries only. Each flight object in the array includes an rKey field, a unique identifier used as the entry point for both fare and policy lookups.

Fare Tiers and Cancellation Rules

Passing an rKey to get_fare_details returns a fares array listing the available fare tiers for that specific flight — useful for comparing economy, flexi, or business bucket pricing without making a separate booking flow call. The get_fare_rules endpoint accepts the same rKey and returns a rules object describing the cancellation and date-change conditions that apply, including any fee structures or time-window restrictions Goibibo exposes for that fare.

Data Shape and Chaining

The four endpoints are designed to chain: airport search produces IATA codes, flight search consumes those codes and produces rKey values, and the fare and rules endpoints consume those keys. There is no session state required between calls — each request is stateless and self-contained.

Common use cases
  • Build a flight price tracker that monitors fare changes for a route by polling search_flights with a fixed origin, destination, and date.
  • Populate an airport autocomplete widget using search_airports with city name queries, showing IATA codes and nearby airport alternatives.
  • Compare fare tiers on a specific flight by feeding its rKey into get_fare_details before presenting booking options to a user.
  • Display cancellation policy summaries at checkout by calling get_fare_rules with a flight's rKey.
  • Identify nearby airport alternatives within 200 km for a given city using the nearby airport data in search_airports results.
  • Aggregate one-way flight availability across multiple departure dates by looping search_flights calls with different date values.
  • Audit date-change fees across multiple itineraries by batch-calling get_fare_rules for each rKey collected from a flight search.
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 Goibibo have an official public developer API?+
Goibibo does not publish a general-purpose public developer API for flight search or fare data. Their affiliate and B2B integrations are handled through closed partner agreements rather than an open API portal.
What does `search_flights` return, and does it cover round-trip itineraries?+
The endpoint returns a flights array and a total_found count for one-way itineraries between the specified origin and destination on the given date. Round-trip search is not currently covered. The API handles one-way flights using the origin, destination, and date parameters. You can fork it on Parse and revise to add a round-trip or multi-city endpoint.
What does the `rKey` represent and where does it come from?+
The rKey is a flight-specific identifier returned inside each object in the flights array from search_flights. It is required as input for both get_fare_details and get_fare_rules. Keys are tied to a specific search result and should not be assumed stable across separate search calls.
Does the API return hotel or bus booking data from Goibibo?+
Not currently. The API covers airport lookup, one-way flight search, fare tier details, and fare rules only. Goibibo also lists hotels, buses, and holiday packages, but those are not included here. You can fork it on Parse and revise to add endpoints for those verticals.
Is there any pagination support for `search_flights` results?+
The search_flights endpoint returns a flat flights array and a total_found integer but does not expose pagination parameters such as offset or page number. If a route has a large number of available flights, the full set returned in one call represents the available response shape. You can fork the API on Parse and revise it to add pagination or filtering parameters.
Page content last updated . Spec covers 4 endpoints from goibibo.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.
Goibibo Flights API – Search Fares & Policies · Parse