$API_TOKEN=<YOUR_API_TOKEN>
$cat > input.json << 'EOF'
<{
< "searchMode": "location",
< "locations": [
< "Berlin"
< ],
< "realEstateType": "apartmentrent",
< "maxResults": 3,
< "includeDetails": true,
< "sorting": "newest",
< "minPrice": 0,
< "maxPrice": 1000000,
< "minLivingSpace": 0,
< "maxLivingSpace": 10000,
< "minRooms": 0,
< "maxRooms": 100,
< "minConstructionYear": 1000,
< "maxConstructionYear": 2100,
< "apartmentTypes": [],
< "buildingTypes": [],
< "energyEfficiencyClasses": [],
< "equipment": [],
< "heatingTypes": [],
< "petsAllowed": "any",
< "exclusionCriteria": [],
< "osmTags": [],
< "listingTags": [],
< "fullText": "",
< "publishedAfter": "1970-01-01"
<}
<EOF
$curl "https://api.apify.com/v2/actors/datascraperes~immoscout24-property-scraper/runs?token=$API_TOKEN" \
< -X POST \
< -d @input.json \
< -H 'Content-Type: application/json'