$API_TOKEN=<YOUR_API_TOKEN>
$cat > input.json << 'EOF'
<{
< "query": [
< {
< "origin": "cdg",
< "destination": "lyon",
< "datefrom": "251004",
< "dateto": "251007",
< "adults": 2,
< "children": [],
< "classtype": "economy",
< "direct": false
< },
< {
< "origin": "las",
< "destination": "everywhere",
< "datefrom": "250618",
< "dateto": "250620",
< "adults": 1,
< "children": [],
< "classtype": "economy",
< "direct": true
< }
< ],
< "proxy": {
< "useApifyProxy": true,
< "apifyProxyGroups": [
< "RESIDENTIAL"
< ]
< }
<}
<EOF
$curl "https://api.apify.com/v2/acts/canadesk~skyscanner-flights-api-bulk/runs?token=$API_TOKEN" \
< -X POST \
< -d @input.json \
< -H 'Content-Type: application/json'