$API_TOKEN=<YOUR_API_TOKEN>
$cat > input.json << 'EOF'
<{
< "autocomplete_inputs": [
< "Bangkok",
< "Singapore"
< ],
< "search_bylocation_inputs": [
< "Bangkok",
< "Phuket"
< ],
< "search_bycoordinates_inputs": [
< "13.7563,100.5018"
< ],
< "search_byurl_inputs": [
< "https://www.agoda.com/city/bangkok-th.html"
< ],
< "details_byid_inputs": [
< "8027370",
< "542404"
< ],
< "details_byurl_inputs": [
< "https://www.agoda.com/ploy-hostel_2/hotel/bangkok-th.html"
< ],
< "reviews_inputs": [
< "8027370"
< ],
< "rooms_inputs": [
< "8027370"
< ],
< "price_grid_inputs": [
< "8027370,9395"
< ],
< "flights_search_inputs": [
< "BKK-SIN,2026-08-10"
< ],
< "flights_details_inputs": []
<}
<EOF
$curl "https://api.apify.com/v2/acts/one-api~agoda-scraper/runs?token=$API_TOKEN" \
< -X POST \
< -d @input.json \
< -H 'Content-Type: application/json'