$API_TOKEN=<YOUR_API_TOKEN>
$cat > input.json << 'EOF'
<{
< "searchQuery": "plumber",
< "location": "San Francisco, CA",
< "maxResults": 10,
< "includeEmails": true,
< "sortBy": "best_match",
< "maxEmailPagesPerSite": 5,
< "emailCrawlTimeoutSecs": 30,
< "includePhotos": false,
< "includeHours": true,
< "proxyConfiguration": {
< "useApifyProxy": true
< }
<}
<EOF
$curl "https://api.apify.com/v2/acts/sovereigntaylor~yelp-lead-scraper/runs?token=$API_TOKEN" \
< -X POST \
< -d @input.json \
< -H 'Content-Type: application/json'