$API_TOKEN=<YOUR_API_TOKEN>
$cat > input.json << 'EOF'
<{
< "zipCodes": [
< "10014"
< ],
< "statuses": [
< "FOR_SALE"
< ],
< "maxResultsPerZipStatus": 25,
< "maxTotalResults": 100,
< "includePropertyDetails": false,
< "maxPropertyDetails": 5,
< "includeMarketTrends": false,
< "marketHistoryMonths": 12,
< "minPrice": 0,
< "maxPrice": 1000000000,
< "minBedrooms": 0,
< "maxBedrooms": 100,
< "minBathrooms": 0,
< "maxBathrooms": 100,
< "minLivingArea": 0,
< "maxLivingArea": 1000000,
< "minYearBuilt": 1000,
< "maxYearBuilt": 2100,
< "homeTypes": [],
< "openHousesOnly": false,
< "showcaseOnly": false,
< "sortOrder": "DEFAULT",
< "resultsLimit": 10,
< "priceMin": 0,
< "priceMax": 1000000000,
< "daysOnZillow": "",
< "forSaleByAgent": true,
< "forSaleByOwner": false,
< "forRent": false,
< "sold": false
<}
<EOF
$curl "https://api.apify.com/v2/actors/datascraperes~zillow-zip-code-scraper/runs?token=$API_TOKEN" \
< -X POST \
< -d @input.json \
< -H 'Content-Type: application/json'