skiplagged.com APIskiplagged.com ↗
Search Skiplagged flights including hidden-city itineraries and look up airports by name or code. Returns segments, pricing, duration, and routing data.
curl -X GET 'https://api.parse.bot/scraper/7436ece9-4ae0-4c5f-adf5-c4d8c10f7e5e/search_flights?to=LAX&from=JFK&depart=2026-06-01&max_results=5' \ -H 'X-API-Key: $PARSE_API_KEY'
Search for flight itineraries between two airports on a given date. Returns all available flights including hidden-city itineraries with full segment details, pricing, and duration. Results are sorted by price by default. Polls for additional results automatically.
| Param | Type | Description |
|---|---|---|
| torequired | string | Destination airport code (e.g. LAX, JFK, ORD) |
| fromrequired | string | Origin airport code (e.g. JFK, ICT, ORD) |
| sort | string | Sort order for results. Accepted values: cost, duration, departure. |
| adults | string | Number of adult passengers. |
| depart | string | Departure date in YYYY-MM-DD format. If omitted, defaults to 14 days from today. |
| return | string | Return date in YYYY-MM-DD format for round-trip searches. Omit for one-way. |
| children | string | Number of child passengers. |
| max_results | integer | Maximum number of itineraries to return. |
{
"type": "object",
"fields": {
"to": "string - destination airport code",
"from": "string - origin airport code",
"depart_date": "string - departure date in YYYY-MM-DD format",
"itineraries": "array of itinerary objects with origin, destination, segments, pricing, and duration",
"return_date": "string or null - return date if round trip",
"total_results": "integer - number of itineraries returned"
},
"sample": {
"data": {
"to": "LAX",
"from": "JFK",
"depart_date": "2026-06-01",
"itineraries": [
{
"price": 129,
"origin": "JFK",
"currency": "USD",
"segments": [
{
"to_airport": "LAX",
"airline_code": "DL",
"airline_name": "Delta Air Lines",
"arrival_time": "2026-06-01T17:13:00-07:00",
"from_airport": "JFK",
"flight_number": "DL701",
"departure_time": "2026-06-01T13:59:00-04:00",
"duration_seconds": 22440
}
],
"num_stops": 0,
"flight_key": "1c44a52",
"cabin_class": "Economy",
"destination": "LAX",
"booking_link": "https://skiplagged.com/flights/JFK/LAX/2026-06-01",
"is_hidden_city": true,
"total_duration": "6h 14m",
"total_duration_seconds": 22440
}
],
"return_date": null,
"total_results": 50
},
"status": "success"
}
}About the skiplagged.com API
The Skiplagged API provides 2 endpoints for searching flight itineraries and resolving airport codes. The search_flights endpoint returns full itinerary objects — including hidden-city routing options — with per-segment breakdowns, pricing, and total duration. A companion search_airports endpoint resolves city names, airport names, or IATA codes to structured airport records for use in flight queries.
Flight Search
The search_flights endpoint accepts origin (from) and destination (to) airport codes, a depart date in YYYY-MM-DD format, and an optional return date for round-trip queries. You can specify the number of adults and children, control result ordering with the sort parameter (accepted values: cost, duration, departure), and cap results with max_results. The response includes an itineraries array where each object carries origin, destination, individual flight segments, pricing, and total duration. Results default to price-sorted order. The total_results field reports how many itineraries were returned, and return_date is null for one-way searches.
Hidden-City Itineraries
Skiplagged is specifically known for surfacing hidden-city itineraries — routes where the final ticketed destination is cheaper than the actual stop you want. The search_flights response includes these alongside conventional itineraries in the same itineraries array, with segment-level detail that identifies the full routing. No separate flag or filter is required; they appear in the unified result set.
Airport Search
The search_airports endpoint takes a single term string — a city name like "New York", an airport name, or an IATA code like "LAX" — and returns a hints array. Each hint object contains title, subtitle, label, code, and city fields, making it straightforward to build autocomplete flows or resolve ambiguous input before passing codes to search_flights. The response also includes a success boolean and a duration field indicating query time in seconds.
- Find the cheapest one-way fares between two cities on a specific date, sorted by cost
- Identify hidden-city itineraries where a connecting stop is cheaper than a direct fare
- Build a flight search autocomplete using airport name or code resolution from search_airports
- Compare flight duration vs. price trade-offs using the duration sort option on search_flights
- Retrieve round-trip itineraries by supplying both depart and return date parameters
- Resolve ambiguous city or airport input (e.g. 'Chicago') to a specific IATA code before querying flights
- Enumerate available itineraries for multi-passenger bookings by setting the adults and children params
| Tier | Price | Credits/month | Rate limit |
|---|---|---|---|
| Free | $0/mo | 100 | 5 req/min |
| Hobby | $30/mo | 1,000 | 20 req/min |
| Developer | $100/mo | 5,000 | 250 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.