$API_TOKEN=<YOUR_API_TOKEN>
$cat > input.json << 'EOF'
<{
< "searchStringsArray": [
< "restaurants"
< ],
< "startUrls": [
< {
< "url": "https://yandex.com/maps/org/no_plates_coffee/124606085044/"
< },
< {
< "url": "https://yandex.com/maps/org/124606085044/"
< },
< {
< "url": "https://yandex.com/maps/org/no_plates_coffee/124606085044/reviews/"
< },
< {
< "url": "https://yandex.ru/maps/org/no_plates_coffee/124606085044/"
< },
< {
< "url": "https://yandex.com/maps/?ll=-74.006%2C40.7128&z=12&text=coffee"
< },
< {
< "url": "https://yandex.com/maps/?text=restaurants"
< },
< {
< "url": "https://yandex.com/maps/202/new-york/search/restaurants/"
< },
< {
< "url": "https://yandex.com/maps/202/new-york/category/coffee_shop/"
< },
< {
< "url": "https://yandex.com/maps/?ol=biz&oid=1018907821"
< },
< {
< "url": "https://yandex.com/maps/213/moscow/search/%D0%BA%D0%BE%D1%84%D0%B5/"
< },
< {
< "url": "https://yandex.com/maps/213/moscow/search/coffee/?page=2"
< },
< {
< "url": "https://m.yandex.com/maps/org/192990200894/"
< }
< ],
< "location": "New York, NY",
< "maxResultsPerSearch": 20,
< "proxyConfiguration": {
< "useApifyProxy": true
< },
< "ignoreFieldsForChanges": []
<}
<EOF
$curl "https://api.apify.com/v2/actors/abotapi~yandex-maps-scraper/runs?token=$API_TOKEN" \
< -X POST \
< -d @input.json \
< -H 'Content-Type: application/json'