$API_TOKEN=<YOUR_API_TOKEN>
$cat > input.json << 'EOF'
<{
< "mode": "search",
< "keywords": "restaurant",
< "urls": [
< "https://www.businessesforsale.com/search?Keywords=restaurant",
< "https://www.businessesforsale.com/search",
< "https://www.businessesforsale.com/search?Keywords=restaurant&Page=2",
< "https://www.businessesforsale.com/search/restaurants-for-sale",
< "https://www.businessesforsale.com/search/restaurants-for-sale?Page=2",
< "https://www.businessesforsale.com/search?CategoryIds=1358302&Keywords=restaurant",
< "https://www.businessesforsale.com/search?Keywords=restaurant&Sort=PriceAsc",
< "https://www.businessesforsale.com/search?Price.From=100000&Price.To=500000&Keywords=cafe",
< "https://www.businessesforsale.com/search/businesses-for-sale",
< "https://australia.businessesforsale.com/australian/search?Keywords=restaurant",
< "https://uk.businessesforsale.com/uk/agents/davey-co",
< "https://uk.businessesforsale.com/uk/welcoming-community-pub-restaurant-same-family-ownership-40-years-successful-business-with-scope-to-grow-50-50-wet-to-food-traditional-menus-lounge-tap-room-2-snug-lounges-restaurant-for-60-for-sale.aspx"
< ],
< "proxy": {
< "useApifyProxy": true,
< "apifyProxyGroups": [
< "RESIDENTIAL"
< ],
< "apifyProxyCountry": "US"
< },
< "incrementalMode": false,
< "emitUnchanged": false,
< "emitExpired": false,
< "ignoreFieldsForChanges": []
<}
<EOF
$curl "https://api.apify.com/v2/actors/abotapi~businessesforsale-com-scraper/runs?token=$API_TOKEN" \
< -X POST \
< -d @input.json \
< -H 'Content-Type: application/json'