- User
- Scraping Browser
- Scraping API
- shopee
- br sites
- amazon
- google search
- google trends
- google flights
- google flights chart
- google maps
- google scholar
- google jobs
- google shopping
- google hotels
- google news
- google lens
- google finance
- google product
- google play store
- google ads
- Scraper RequestPOST
- Scraper GetResultGET
- Universal Scraping API
- Crawler
- Public
One way
Developing
POST
/api/v1/scraper/request
Last modified:2024-12-30 10:27:49
Request
Authorization
Add parameter in header
x-api-token
Example:
x-api-token: ********************
Body Params application/json
object {0}
Example
{
"actor": "scraper.google.flights",
"input": {
"departure_id": "ORY",
"arrival_id": "BCN",
"data_type": 2,
"outbound_date": "2025-01-11"
}
}
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.scrapeless.com/api/v1/scraper/request' \
--header 'Content-Type: application/json' \
--header 'x-api-token;' \
--data-raw '{
"actor": "scraper.google.flights",
"input": {
"departure_id": "ORY",
"arrival_id": "BCN",
"data_type": 2,
"outbound_date": "2025-01-11"
}
}'
Responses
🟢200Success
application/json
Body
object {0}
Example
{ "best_flights": [ { "flights": [ { "departure_airport": { "name": "Paris Orly Airport", "id": "ORY", "time": "2025-1-11 13:10" }, "arrival_airport": { "name": "Josep Tarradellas Barcelona-El Prat Airport", "id": "BCN", "time": "2025-1-11 14:45" }, "duration": 95, "airplane": "Airbus A320", "airline": "Vueling", "airline_logo": "https://www.gstatic.com/flights/airline_logos/70px/VY.png", "travel_class": "Economy", "flight_number": "VY 8013", "extensions": [ "Below average legroom (29 in)", "In-seat USB outlet", "Emissions estimate: 91 kg CO2e" ], "ticket_also_sold_by": null, "legroom": "29 in", "overnight": false, "often_delayed_by_over_30_min": false } ], "layovers": null, "total_duration": 95, "carbon_emissions": { "this_flight": 92000, "typical_for_this_route": 86000, "difference_percent": 7 }, "price": 43, "type": "One-Way", "airline_logo": "https://www.gstatic.com/flights/airline_logos/70px/VY.png", "extensions": [ "Checked baggage for a fee", "Fare non-refundable, taxes may be refundable", "Ticket changes for a fee" ] }, { "flights": [ { "departure_airport": { "name": "Paris Orly Airport", "id": "ORY", "time": "2025-1-11 13:20" }, "arrival_airport": { "name": "Josep Tarradellas Barcelona-El Prat Airport", "id": "BCN", "time": "2025-1-11 14:55" }, "duration": 95, "airplane": "Airbus A320", "airline": "Vueling", "airline_logo": "https://www.gstatic.com/flights/airline_logos/70px/VY.png", "travel_class": "Economy", "flight_number": "VY 8007", "extensions": [ "Below average legroom (29 in)", "In-seat USB outlet", "Emissions estimate: 85 kg CO2e" ], "ticket_also_sold_by": null, "legroom": "29 in", "overnight": false, "often_delayed_by_over_30_min": false } ], "layovers": null, "total_duration": 95, "carbon_emissions": { "this_flight": 86000, "typical_for_this_route": 86000, "difference_percent": 0 }, "price": 43, "type": "One-Way", "airline_logo": "https://www.gstatic.com/flights/airline_logos/70px/VY.png", "extensions": [ "Checked baggage for a fee", "Fare non-refundable, taxes may be refundable", "Ticket changes for a fee" ] }, { "flights": [ { "departure_airport": { "name": "Paris Orly Airport", "id": "ORY", "time": "2025-1-11 18:20" }, "arrival_airport": { "name": "Josep Tarradellas Barcelona-El Prat Airport", "id": "BCN", "time": "2025-1-11 20:00" }, "duration": 100, "airplane": "Boeing 737", "airline": "Transavia", "airline_logo": "https://www.gstatic.com/flights/airline_logos/70px/TO.png", "travel_class": "Economy", "flight_number": "TO 4758", "extensions": [ "Below average legroom (29 in)", "In-seat USB outlet", "Emissions estimate: 86 kg CO2e" ], "ticket_also_sold_by": null, "legroom": "29 in", "overnight": false, "often_delayed_by_over_30_min": false } ], "layovers": null, "total_duratio
Modified at 2024-12-30 10:27:49