$API_TOKEN=<YOUR_API_TOKEN>
$cat > input.json << 'EOF'
<{
< "inputBusinesses": [
< {
< "businessName": "Hotel Jazz",
< "category": "hotel",
< "location": "Barcelona",
< "website": "https://www.hoteljazz.com/"
< },
< {
< "businessName": "Le Select",
< "category": "restaurant",
< "location": "Paris",
< "website": "https://www.leselectmontparnasse.fr/"
< }
< ],
< "country": "Spain",
< "locations": [
< "Barcelona",
< "Nice",
< "Lisbon"
< ],
< "businessTypes": [
< "hotel",
< "guest_house",
< "apartment",
< "restaurant",
< "cafe"
< ],
< "overpassEndpoints": [
< "https://overpass-api.de/api/interpreter",
< "https://overpass.kumi.systems/api/interpreter"
< ]
<}
<EOF
$curl "https://api.apify.com/v2/acts/viable_guard~hospitality-website-opportunity-scanner/runs?token=$API_TOKEN" \
< -X POST \
< -d @input.json \
< -H 'Content-Type: application/json'