Scraper · OTA

Goibibo Flights

Live flight pricing from Goibibo (INR, India region) — the same job-based /scrape/ contract as Google Flights, MakeMyTrip, Cleartrip, Paytm and Ixigo, selected with "source": "goibibo". Search, fare families and review detail (fare breakup, booking policies, the coupon list, and optionally each coupon priced) are available for domestic and international, one-way and round-trip journeys.

POST/api/v1/flight-scraper/scrape/— submit
GET/api/v1/flight-scraper/scrape/{job_id}/— poll

Base URL: https://api.scrapeguys.com · Auth: X-API-Key: fsk_… with the goibibo scope · See the Overview.

Shared endpoint. Endpoints, headers, auth, quotas and the job lifecycle are exactly those in the Overview; this page covers only what differs for Goibibo. Omit source on /scrape/ or /batch/ and you get google_flights, as before. This page covers Goibibo flights; for hotels see Goibibo Hotels.
Your key needs the goibibo scope. Without it every call returns 403 This API key does not have the 'goibibo' scope. The same scope governs polling those jobs. There is no wildcard and existing keys are not granted it automatically — ask your ScrapeGuys contact to add it.

The three stages

Goibibo uses the same L1 / L2 / L3 vocabulary as the other flight sources. Each stage is an ordinary job — submit, get a job_id, poll — and each later stage takes a flight_index from the search it came from.

StageEndpointAnswers
L1 searchPOST /scrape/ · /batch/What flies the route on the date, and the per-adult fare of each flight.
L2 fare familiesPOST /scrape/fares/The fare families sold on one flight, with cancellation, date-change and baggage terms.
L3 reviewPOST /scrape/review/The fare breakup, booking policies and the advertised coupons; with apply_coupons, each coupon's measured effect on the total.

Submit a search

curl -X POST 'https://api.scrapeguys.com/api/v1/flight-scraper/scrape/' \
  -H 'Content-Type: application/json' -H 'X-API-Key: fsk_...' \
  -d '{"origin":"DEL","destination":"BOM","departure_date":"2026-12-18",
       "adults":1,"cabin_class":"economy","currency":"INR",
       "source":"goibibo"}'
# {"job_id":"9f2b...","status":"pending","poll_url":"/api/v1/flight-scraper/scrape/9f2b.../"}
FieldGoibiboNotes
origin, destinationSupported3-letter IATA codes, domestic or international.
departure_date, return_dateSupportedYYYY-MM-DD. Add return_date for a round trip.
adults, childrenSupported
infants_in_seat, infants_on_lapSupported, summedGoibibo carries one infant count. The sum is capped at adults.
cabin_classSupportedeconomy, premium_economy, business, first.
max_stopsSupportedApplied after the search.
currencyINR onlyAny other value is refused, not relabelled.
regionin onlyUse source=google_flights for other markets.
include_nearby_airportsOptionalFlights from nearby airports are filed under nearby_airport_options unless this is true.
include_calendar, calendar_days, calendar_days_before, per_leg_fares, include_cheapest, fare_family_name, price_coupons, include_coupon_breakupsNot supportedRefused with a 400 whose message names the remedy (for example, use apply_coupons on review, and fare_index to name a fare).
apply_couponsReview onlyRefused on the search; send it on POST /scrape/review/.
Rejected at submit, not silently ignored. Every unsupported option above is refused with a 400 — never accepted and quietly dropped.

Poll for results

Poll every 1–2 seconds until status is completed or failed. The envelope is the one every source uses — flights, search_context, error, error_category — so an existing parser needs no changes. Each flight carries:

search_context carries shape, trip_type, international, no_results, total_options and stops_filtered_out.

Round trips: three shapes

search_context.shape tells you how Goibibo returned the journey:

An empty route is not an error

A route Goibibo does not sell comes back status: "completed", error: null and search_context.no_results: true. Check no_results, not error.

Batch scraping

POST /api/v1/flight-scraper/batch/ and /batch/results/ accept "source": "goibibo" with the same rules as /scrape/. GET /usage/ is unchanged.

Expansion endpoints

source is required on the expansion endpoints. It defaults to makemytrip there, so omit it on a Goibibo parent and you get a 400 naming the mismatch. The parent must be your own, completed job. Expand within the search-context window (30 minutes by default): past that the expansion is refused with error_category: "invalid_input" and you should re-run the search.
EndpointGoibibo
POST /scrape/fares/Supported — fare families per flight
POST /scrape/review/Supported — fare breakup, policies, coupon list, optional coupon pricing
POST /scrape/return/Not applicable — Google Flights only
POST /scrape/checkout/, /farelock/, /booking/Not part of this API

Fare families

curl -X POST 'https://api.scrapeguys.com/api/v1/flight-scraper/scrape/fares/' \
  -H 'Content-Type: application/json' -H 'X-API-Key: fsk_...' \
  -d '{"job_id":"9f2b...","flight_index":0,"source":"goibibo"}'
# 202, then poll the returned job

result.fare_families[] lists the families sold on the chosen flight. Each has name, fare_id, per_adult, total, cabin, cancellation, date_change, cabin_bag, checkin_bag and refundable. For a round trip the response also carries return_fare_families and round_trip_combination (final_fare, slashed_fare) — the re-priced combined fare. A round trip's families are per leg, so fare_index applies to one-way flights only.

Some flights have no separate fare families. The job still completes, with empty fare_families, search_context.no_results: true and a warning. The searched fare is then the only fare: review the flight without fare_index.

Review

POST /scrape/review/
{"job_id": "…", "flight_index": 0, "source": "goibibo", "fare_index": 0}
# domestic round trip (shape SPLIT): add "return_flight_index": 0

Same request shape as fares. fare_index is optional and one-way only: a family's position in /scrape/fares/'s list for the same flight.

result.review fieldMeaning
total_priceThe whole party's total as Goibibo shows it, with total_label.
price_breakupTitled sections, each with lines of {text, amount, value}: base fare, taxes, discounts, …
policies[]Per journey: cancellation, date_change, baggage.
default_couponThe coupon Goibibo has pre-selected, if any.
Review is the heaviest call. It is slower and uses more bandwidth than a search or fare-family lookup, so review only the itineraries you need.

Coupons

result.coupons[] lists every coupon Goibibo advertises on the review: code, category, types, advertised (the discount text), description and is_bank.

Add "apply_coupons": true to the review request to have each non-bank coupon applied and the resulting total measured. apply_coupons is the cross-source name; price_coupons is accepted as a synonym on review, but sending both with different values is a 400.

POST /scrape/review/
{"job_id": "…", "flight_index": 0, "source": "goibibo", "apply_coupons": true}

The result then carries coupon_application: baseline_total; applied[] with, per coupon, code, advertised, measured_discount, total_after, applied, failed and message; not_tried (coupons beyond the per-review shortlist); and best / best_total_after_coupon. Bank-linked coupons are listed but not applied.

Optional per deployment. If coupon application is switched off, a review with apply_coupons is refused with a 400 rather than returning no coupon_application; the coupon list is still published on every review.

Errors on this source

The same vocabulary as every other source, so existing dashboards and retry logic work unchanged.

error_categoryMeaning on GoibiboWhat to do
""Success. An empty route is here too — check search_context.no_results.—
blockedGoibibo refused the request, after retries.Resubmit later.
transientA rate limit, an outage, or a network/timeout failure.Retry.
invalid_searchGoibibo read the request and refused it.Change the request. Retrying returns the same answer.
invalid_inputA stale or missing search context, or a bad parameter.Re-run the search, or fix the input.
fare_unavailableThe chosen fare is no longer sold.Run a new search.
errorA feature that is not available to you, or an unexpected failure.Contact us.

Not supported on this source

Next: Google Flights · MakeMyTrip Flights · Cleartrip Flights · Paytm Flights · Ixigo Flights