$API_TOKEN=<YOUR_API_TOKEN>
$cat > input.json << 'EOF'
<{
< "operation": "search",
< "site": "GR",
< "locations": [
< "Athens",
< "Thessaloniki"
< ],
< "listingType": "sale",
< "category": "residential",
< "propertyTypes": [],
< "maxResults": 100,
< "searchUrls": [],
< "listingUrls": [],
< "minPrice": 0,
< "maxPrice": 0,
< "minAreaSqm": 0,
< "maxAreaSqm": 0,
< "minRooms": 0,
< "maxRooms": 0,
< "minFloor": "",
< "maxFloor": "",
< "minYearBuilt": 0,
< "maxYearBuilt": 0,
< "energyClassAtLeast": "",
< "listedWithin": "",
< "updatedWithin": "",
< "priceReducedOnly": false,
< "features": [],
< "sortBy": "best_match",
< "includeDetails": false,
< "includeAgentContact": false,
< "language": "el"
<}
<EOF
$curl "https://api.apify.com/v2/actors/sian.agency~spitogatos-property-scraper/runs?token=$API_TOKEN" \
< -X POST \
< -d @input.json \
< -H 'Content-Type: application/json'