$API_TOKEN=<YOUR_API_TOKEN>
$cat > input.json << 'EOF'
<{
< "mode": "search",
< "locations": [
< "Austin, TX"
< ],
< "listingInputs": [
< "https://www.padmapper.com/apartments/austin-tx",
< "https://www.padmapper.com/apartments/toronto-on",
< "https://www.padmapper.com/apartments/austin-tx?max-price=2000",
< "https://www.padmapper.com/apartments/austin-tx?property-categories=house",
< "https://www.padmapper.com/apartments/austin-tx?page=2",
< "https://www.padmapper.com/apartments/austin-tx/2-beds",
< "https://www.padmapper.com/apartments/austin-tx/pet-friendly",
< "https://www.padmapper.com/apartments/austin-tx/under-1500",
< "https://www.padmapper.com/rentals/58574913",
< "https://www.padmapper.com/buildings/p12116/waller-creekside-apartments-at-105-w-51st-st-austin-tx-78751",
< "https://www.padmapper.com/buildings/1717500/blueground-san-francisco-apartments-at-149-san-francisco-new-montgomery-st-san-francisco-ca-94105"
< ],
< "urls": [
< "https://www.padmapper.com/apartments/austin-tx",
< "https://www.padmapper.com/apartments/toronto-on",
< "https://www.padmapper.com/apartments/austin-tx?max-price=2000",
< "https://www.padmapper.com/apartments/austin-tx?property-categories=house",
< "https://www.padmapper.com/apartments/austin-tx?page=2",
< "https://www.padmapper.com/apartments/austin-tx/2-beds",
< "https://www.padmapper.com/apartments/austin-tx/pet-friendly",
< "https://www.padmapper.com/apartments/austin-tx/under-1500",
< "https://www.padmapper.com/rentals/58574913",
< "https://www.padmapper.com/buildings/p12116/waller-creekside-apartments-at-105-w-51st-st-austin-tx-78751",
< "https://www.padmapper.com/buildings/1717500/blueground-san-francisco-apartments-at-149-san-francisco-new-montgomery-st-san-francisco-ca-94105"
< ],
< "maxItems": 20,
< "proxyConfiguration": {
< "useApifyProxy": true,
< "apifyProxyGroups": [
< "RESIDENTIAL"
< ]
< },
< "incrementalMode": false,
< "emitUnchanged": false,
< "emitExpired": false,
< "maxNotifyListings": 50
<}
<EOF
$curl "https://api.apify.com/v2/actors/abotapi~padmapper-rental-listings-scraper/runs?token=$API_TOKEN" \
< -X POST \
< -d @input.json \
< -H 'Content-Type: application/json'