$API_TOKEN=<YOUR_API_TOKEN>
$cat > input.json << 'EOF'
<{
< "operation": "search",
< "dealType": "forsale",
< "region": "3",
< "city": "תל אביב יפו",
< "searchUrls": [],
< "maxResults": 100,
< "propertyType": "",
< "listedBy": "any",
< "minPrice": 0,
< "maxPrice": 0,
< "minRooms": 0,
< "maxRooms": 0,
< "minSquareMeters": 0,
< "maxSquareMeters": 0,
< "minFloor": 0,
< "maxFloor": 0,
< "hasParking": false,
< "hasElevator": false,
< "hasBalcony": false,
< "hasSafeRoom": false,
< "isRenovated": false,
< "isFurnished": false,
< "onlyWithPhotos": false
<}
<EOF
$curl "https://api.apify.com/v2/actors/sian.agency~yad2-property-scraper/runs?token=$API_TOKEN" \
< -X POST \
< -d @input.json \
< -H 'Content-Type: application/json'