$API_TOKEN=<YOUR_API_TOKEN>
$cat > input.json << 'EOF'
<{
< "scrapeMode": "properties",
< "propertyChannel": "buy",
< "searchQueries": [
< "Sydney CBD, NSW"
< ],
< "startUrls": [
< {
< "url": "https://www.realestate.com.au/buy/in-sydney+cbd,+nsw/list-1"
< }
< ],
< "extractPropertyDetails": false,
< "extractAgentDetails": false,
< "extractAgentContact": false,
< "agentSearchQueries": [
< "Sydney CBD, NSW"
< ],
< "agentUrls": [
< {
< "url": "https://www.realestate.com.au/find-agent/sydney-cbd-nsw"
< }
< ],
< "extractAgentProfile": false,
< "maxItems": 10,
< "proxyConfiguration": {
< "useApifyProxy": true,
< "apifyProxyGroups": [
< "RESIDENTIAL"
< ]
< }
<}
<EOF
$curl "https://api.apify.com/v2/actors/rigelbytes~realestate-com-au-scraper/runs?token=$API_TOKEN" \
< -X POST \
< -d @input.json \
< -H 'Content-Type: application/json'