$API_TOKEN=<YOUR_API_TOKEN>
$cat > input.json << 'EOF'
<{
< "search": "New York",
< "checkInDate": "2025-01-01",
< "checkOutDate": "2025-10-01",
< "startUrls": [
< "https://www.tripadvisor.com/Hotel_Review-g35805-d236299-Reviews-Sofitel_Chicago_Magnificent_Mile-Chicago_Illinois.html",
< "https://www.tripadvisor.com/Hotels-g294200-Egypt-Hotels.html",
< "https://www.tripadvisor.com/FindRestaurants?geo=32655&establishmentTypes=10591&mealTypes=10606&priceTypes=10955&broadened=false",
< "https://www.tripadvisor.com/Tourism-g60763-New_York_City_New_York-Vacations.html",
< "https://www.tripadvisor.com/Trips/122547544"
< ],
< "language": "en",
< "currency": "USD",
< "maxItems": 20,
< "endPage": 1,
< "extendOutputFunction": "($) => { return {} }",
< "customMapFunction": "(object) => { return {...object} }",
< "proxy": {
< "useApifyProxy": true
< }
<}
<EOF
$curl "https://api.apify.com/v2/acts/epctex~tripadvisor-scraper/runs?token=$API_TOKEN" \
< -X POST \
< -d @input.json \
< -H 'Content-Type: application/json'