$API_TOKEN=<YOUR_API_TOKEN>
$cat > input.json << 'EOF'
<{
< "operation": "search",
< "transaction": "rent",
< "propertyKind": "residence",
< "listedBy": "any",
< "locations": [
< "Γλυφάδα"
< ],
< "propertyType": "",
< "maxResults": 50,
< "includeDetails": false,
< "minPrice": 0,
< "maxPrice": 0,
< "minSizeSqm": 0,
< "maxSizeSqm": 0,
< "minBedrooms": 0,
< "maxBedrooms": 0,
< "minBathrooms": 0,
< "minFloor": -1,
< "maxFloor": -1,
< "minConstructionYear": 0,
< "maxConstructionYear": 0,
< "minEnergyClass": "",
< "maxEnergyClass": "",
< "condition": "",
< "onlyFurnished": false,
< "onlyPetsAllowed": false,
< "onlyWithParking": false,
< "onlyWithElevator": false,
< "onlyWithAirConditioning": false,
< "onlyWithGarden": false,
< "onlyWithPool": false,
< "onlyWithView": false,
< "onlyWithPhotos": false,
< "onlyShortTermAvailable": false,
< "keywords": "",
< "addedInLastDays": 0,
< "sortBy": "created_desc",
< "outputLanguage": "el",
< "listingUrls": [],
< "searchUrls": []
<}
<EOF
$curl "https://api.apify.com/v2/actors/sian.agency~xe-property-scraper/runs?token=$API_TOKEN" \
< -X POST \
< -d @input.json \
< -H 'Content-Type: application/json'