$API_TOKEN=<YOUR_API_TOKEN>
$cat > input.json << 'EOF'
<{
< "mode": "search",
< "location": "Санкт-Петербург",
< "guestsAdults": 2,
< "sortings": "relevance",
< "maxItems": 20,
< "maxPages": 0,
< "urls": [
< {
< "url": "https://sochi.sutochno.ru/998663"
< },
< {
< "url": "https://sutochno.ru/front/searchapp/detail/858763"
< },
< {
< "url": "https://sutochno.ru/hotels/144264"
< },
< {
< "url": "https://sutochno.ru/hotels/144264?occupied=2026-12-10;2026-12-13"
< },
< {
< "url": "https://sutochno.ru/front/searchapp/search?term=%D0%A1%D0%B0%D0%BD%D0%BA%D1%82-%D0%9F%D0%B5%D1%82%D0%B5%D1%80%D0%B1%D1%83%D1%80%D0%B3&guests_adults=2"
< },
< {
< "url": "https://sutochno.ru/front/searchapp/search?term=%D0%A1%D0%BE%D1%87%D0%B8&occupied=2026-12-10;2026-12-13&guests_adults=2&sortings=1"
< },
< {
< "url": "https://sutochno.ru/front/searchapp/search?term=Sochi&page=2&guests_adults=2"
< },
< {
< "url": "https://sutochno.ru/front/searchapp/search?is_hotel=1&guests_adults=2&id=397367&type=city&term=%D0%A1%D0%B0%D0%BD%D0%BA%D1%82-%D0%9F%D0%B5%D1%82%D0%B5%D1%80%D0%B1%D1%83%D1%80%D0%B3"
< },
< {
< "url": "https://spb.sutochno.ru/"
< },
< {
< "url": "https://spb.sutochno.ru/?page=2"
< },
< {
< "url": "https://spb.sutochno.ru/1-komnatnye"
< },
< {
< "url": "https://spb.sutochno.ru/hotels"
< },
< {
< "url": "https://sutochno.ru/armenia"
< },
< {
< "url": "https://sutochno.ru/998663"
< },
< {
< "url": "https://m.sutochno.ru/998663"
< }
< ],
< "fetchDetails": true,
< "fetchReviews": true,
< "maxReviews": 20,
< "fetchAvailability": true,
< "availabilityDays": 30,
< "proxyConfiguration": {
< "useApifyProxy": true
< },
< "changeScope": "all",
< "incrementalMode": false,
< "compactUpdates": false,
< "expireAfterMissedScans": 1
<}
<EOF
$curl "https://api.apify.com/v2/actors/abotapi~sutochno-ru-scraper/runs?token=$API_TOKEN" \
< -X POST \
< -d @input.json \
< -H 'Content-Type: application/json'