$API_TOKEN=<YOUR_API_TOKEN>
$cat > input.json << 'EOF'
<{
< "country": "US",
< "enableCategorySearch": true,
< "searchKeywords": [
< "payroll software",
< "seo tools",
< "antivirus"
< ],
< "searchMaxResults": 10,
< "searchFetchFullDetails": false,
< "enableCategoryDetails": false,
< "categoryUrls": [],
< "enableReviews": false,
< "reviewUrls": [],
< "enableScrapeByUrl": false,
< "scrapeUrls": [
< "https://www.local.com/seo-tools"
< ],
< "webhookFormat": "json",
< "proxyConfiguration": {
< "useApifyProxy": true,
< "apifyProxyGroups": [
< "RESIDENTIAL"
< ],
< "apifyProxyCountry": "US"
< }
<}
<EOF
$curl "https://api.apify.com/v2/actors/b2b_leads~local-real-time-data-scraper/runs?token=$API_TOKEN" \
< -X POST \
< -d @input.json \
< -H 'Content-Type: application/json'