$API_TOKEN=<YOUR_API_TOKEN>
$cat > input.json << 'EOF'
<{
< "mode": "search",
< "locations": [
< "Dubai"
< ],
< "rooms": 1,
< "adults": 2,
< "currency": "USD",
< "urls": [
< "https://www.wego.com/hotels/united-arab-emirates/dubai",
< "https://www.wego.com/hotels/united-arab-emirates/dubai/le-meridien-mina-seyahi-beach-resort-waterpark-690184",
< "https://www.wego.com/en/hotels/770060",
< "https://www.wego.com/en/hotels/searches/dxb/2026-11-20/2026-11-22?guests=2",
< "https://www.wego.com/en/hotels/searches/dubai/2026-11-20/2026-11-22?guests=2",
< "https://www.wego.com/ar/hotels/searches/dxb/2026-11-20/2026-11-22?guests=2",
< "https://www.wego.com/en/hotels/searches/dxb/2026-11-20/2026-11-22/690184?guests=2"
< ],
< "freeCancellationOnly": false,
< "sortBy": "popularity",
< "fetchDetails": true,
< "fetchReviews": false,
< "maxReviewsPerHotel": 20,
< "maxItems": 20,
< "proxy": {
< "useApifyProxy": true
< },
< "incrementalMode": false,
< "emitUnchanged": false,
< "emitExpired": false,
< "compactUpdates": false,
< "ignoreFieldsForChanges": []
<}
<EOF
$curl "https://api.apify.com/v2/actors/abotapi~wego-com-scraper/runs?token=$API_TOKEN" \
< -X POST \
< -d @input.json \
< -H 'Content-Type: application/json'