Public Skyscanner flight fares, airlines, stops, destination route deals and hotel listings, one row per entity.
Search Skyscanner flights, routes and hotels
Request schema
Service. Auto chooses a service from your target: hotel or flight link, city identifier, destination name, or route codes, in that order. Select a service explicitly to use a city name for hotels instead of destination deals.
Origin place code. Skyscanner origin code for flights, such as bkk. You can enter a route as bkk|sin; if only destination is supplied, the origin is bkk.
Destination place code. Skyscanner destination code for flights, such as sin. If only origin is supplied, the destination is sin.
Destination code or city name. A supported destination code or city name, such as sin, dxb or london. Auto selects destination deals; select hotels to search a city for stays.
Hotel-search city identifier. City or area identifier for hotel searches, such as 27546111 for Singapore. This is not a hotel ID from an /ht- link; alternatively select hotels and supply a supported city in place.
Live hotel URL. Paste a current HTTPS hotel detail link from skyscanner.net or www.skyscanner.net containing /ht- followed by the hotel ID. Copy a real result link rather than inventing an ID.
Flight detail URL. Paste a current HTTPS flight detail link from skyscanner.net or www.skyscanner.net containing /config/ followed by the itinerary ID. Copy a real result link rather than inventing an ID.
Max rows per input (each listed URL, ID or keyword; a single target counts as one input). All row types share this allowance. Each plan caps the rows of one request (BASIC 10, PRO 70, ULTRA 200, MEGA 500); larger values are lowered to your plan's cap. You pay per delivered row (Rows).
Flight departure (YYYY-MM-DD). Flight departure in YYYY-MM-DD format. Leave empty for 21 days from today; past dates are not accepted.
Flight return (YYYY-MM-DD). Return date for a round trip, in YYYY-MM-DD format, on or after departure. Leave empty for seven days after departure.
Trip type. Choose roundtrip to include a return flight, or oneway for an outbound flight only.
Hotel check-in (YYYY-MM-DD). Hotel arrival date in YYYY-MM-DD format. Leave empty for 21 days from today.
Hotel check-out (YYYY-MM-DD). Hotel departure date in YYYY-MM-DD format, after check-in. Leave empty for two days after check-in.
Adults. Number of adult passengers or hotel guests, from 1 to 10.
Children count. Number of children, from 0 to 10. Flights assume age 8 if child ages are omitted; hotel searches use age 8 for every child.
Flight child ages. Flight child ages separated by a pipe, such as 8|5. Hotel searches use the children count instead of these ages.
Hotel rooms. Number of hotel rooms, from 1 to 8. Not used for flight searches.
Cabin. Flight cabin: economy, premiumeconomy, business or first.
Prefer direct flights. Prefer direct flights and exclude itineraries with known stops. Rows without stop information may remain; this does not apply to hotels or destination deals.
Market. Only skyscanner.net is supported, using English and GBP.
Destination-page URL slug. For a destination code outside the supported list, enter the exact slug after cheap-flights-to- from a real Skyscanner flights-to URL. Leave empty for supported codes and city names.
Alternative hotel-search city identifier. An alternative to entityId for selecting a hotel-search city or area. Auto selects hotels when this field is filled.
Car drop-off identifier (not available). Leave empty.
Driver age (not available). Not used by the supported services.
Sort. Compatibility setting. Leave empty and sort exported rows yourself; a global result order is not guaranteed.
Optional flight detail follow-up. Request a follow-up to a current flight detail link when available within the row limit. This is off by default, does not guarantee extra fields, and is not required for hotel-search addresses.
Optional. Your id for this request: repeating it while the job runs returns the same job.
Response schema
{
"allOf": [
{
"type": "object",
"properties": {
"jobId": {
"type": "string"
},
"status": {
"type": "string",
"enum": [
"queued",
"running",
"succeeded",
"partial",
"failed",
"cancelled"
]
},
"done": {
"type": "boolean"
},
"rowsAvailable": {
"type": "integer"
},
"rowsDelivered": {
"type": "integer",
"description": "Rows already delivered (and billed) to you for this job."
},
"rowsLimit": {
"type": "integer",
"description": "Most rows this job can deliver."
},
"estimatedFinishSec": {
"type": "integer",
"description": "While running: estimated seconds until done."
},
"statusUrl": {
"type": "string"
},
"resultsUrl": {
"type": "string"
},
"expiresAt": {
"type": "string",
"format": "date-time"
},
"retentionHours": {
"type": "integer"
},
"error": {
"$ref": "#/components/schemas/ErrorDetail"
}
}
},
{
"type": "object",
"properties": {
"offset": {
"type": "integer"
},
"nextOffset": {
"type": "integer"
},
"hasMore": {
"type": "boolean"
},
"rowCount": {
"type": "integer"
},
"rowsBilled": {
"type": "integer",
"description": "Rows delivered by this response."
},
"rows": {
"type": "array",
"items": {
"$ref": "#/components/schemas/Row"
}
},
"meta": {
"type": "object",
"additionalProperties": true
}
}
}
]
}Easiest way: the APIHub CLI. Credits cover x402, no wallet needed.
# install and set up once
npx @apihubio/cli register
npx @apihubio/cli topup 10
# call this service
npx @apihubio/cli call "https://proxy.apihub.io/skyscanner-net/v1/search" \
-d '{"service":"auto","origin":"bkk","destination":"sin","place":"example place","entityId":"example entityId","hotelUrl":"example hotelUrl","flightUrl":"example flightUrl","maxResults":3,"departureDate":"example departureDate","returnDate":"example returnDate","tripType":"roundtrip","checkin":"example checkin","checkout":"example checkout","adults":1,"children":0,"childrenv2":"example childrenv2","rooms":1,"cabinclass":"economy","preferDirects":false,"market":"skyscanner.net","placeSlug":"example placeSlug","geoId":"example geoId","dropoffGeoId":"example dropoffGeoId","driverAge":30,"sort":"example sort","includeDetail":false,"requestId":"example requestId"}'Or call the proxy directly (curl / any HTTP client):
curl -X POST https://proxy.apihub.io/skyscanner-net/v1/search \
-H "Authorization: Bearer ahk_your_key" \
-H "Content-Type: application/json" \
-d '{"service":"auto","origin":"bkk","destination":"sin","place":"example place","entityId":"example entityId","hotelUrl":"example hotelUrl","flightUrl":"example flightUrl","maxResults":3,"departureDate":"example departureDate","returnDate":"example returnDate","tripType":"roundtrip","checkin":"example checkin","checkout":"example checkout","adults":1,"children":0,"childrenv2":"example childrenv2","rooms":1,"cabinclass":"economy","preferDirects":false,"market":"skyscanner.net","placeSlug":"example placeSlug","geoId":"example geoId","dropoffGeoId":"example dropoffGeoId","driverAge":30,"sort":"example sort","includeDetail":false,"requestId":"example requestId"}'
# If credits available: charged automatically, returns 200
# Otherwise: returns 402 (pay via @x402/fetch or top up credits)Estimate your monthly cost for Skyscanner Flights Hotels and Travel Deals Data.