Endpoint Playground
Test Crawlora's Booking.com flight search API with realistic prefilled parameters. Generate a cURL request, inspect the expected structured JSON response, and open the full docs or pricing page when you are ready to integrate this public web data extraction endpoint into your application.
curl "https://api.crawlora.net/api/v1/booking-flights/search?type=ROUNDTRIP&from=<from>&to=<to>&depart=<depart>" \
-H "x-api-key: $CRAWLORA_API_KEY"| Parameter | Type | Required | Prefilled value | Description |
|---|---|---|---|---|
| type | string | No | ROUNDTRIP | Trip type, default ROUNDTRIP |
| from | string | Yes | Origin location id, e.g. SGN.AIRPORT, from a prior autocomplete result | |
| to | string | Yes | Destination location id, same composite format as from | |
| from_country | string | No | Origin country code | |
| to_country | string | No | Destination country code | |
| depart | string | Yes | Departure date, YYYY-MM-DD | |
| return | string | No | Return date, YYYY-MM-DD, required when type is ROUNDTRIP | |
| adults | integer | No | Number of adults, 1-9, default 1 | |
| children | integer | No | Number of children, 0-9 | |
| cabin_class | string | No | Cabin class, default ECONOMY | |
| sort | string | No | Result sort order, default BEST |
{
"code": 200,
"data": {
"currency": "sample",
"depart": "sample",
"from": "sample",
"min_price": 1.23,
"offers": [
{
"currency": "sample",
"price": 1.23,
"segments": [
{
"arrival_airport": "sample",
"arrival_city": "sample",
"arrival_time": "sample",
"departure_airport": "sample",
"departure_city": "sample",
"departure_time": "sample",
"legs": [
{
"arrival_airport": "sample",
"arrival_time": "sample",
"cabin_class": "sample",
"carrier": "sample",
"carrier_code": "sample",
"departure_airport": "sample",
"departure_time": "sample",
"duration_seconds": 1,
"flight_number": 1,
"stops": 1
}
]
}
],
"token": "sample"
}
],
"return": "sample",
"to": "sample",
"total_count": 1,
"type": "sample"
},
"msg": "OK"
}Public Playground
Sample responses, schemas, request previews, and code snippets are visible before sign in. Create an account when you are ready to save an API key and run authenticated requests.
Returns normalized round-trip or one-way flight offers between two Booking.com flight-search locations.
{
"code": 200,
"data": {
"currency": "sample",
"depart": "sample",
"from": "sample",
"min_price": 1.23,
"offers": [
{
"currency": "sample",
"price": 1.23,
"segments": [
{
"arrival_airport": "sample",
"arrival_city": "sample",
"arrival_time": "sample",
"departure_airport": "sample",
"departure_city": "sample",
"departure_time": "sample",
"legs": [
{
"arrival_airport": "sample",
"arrival_time": "sample",
"cabin_class": "sample",
"carrier": "sample",
"carrier_code": "sample",
"departure_airport": "sample",
"departure_time": "sample",
"duration_seconds": 1,
"flight_number": 1,
"stops": 1
}
]
}
],
"token": "sample"
}
],
"return": "sample",
"to": "sample",
"total_count": 1,
"type": "sample"
},
"msg": "OK"
}curl "https://api.crawlora.net/api/v1/booking-flights/search?from=<from>&to=<to>&depart=<depart>" \
-H "x-api-key: $CRAWLORA_API_KEY"