$API_TOKEN=<YOUR_API_TOKEN>
$cat > input.json << 'EOF'
<{
< "searchTerms": [
< "eletricista",
< "instalação elétrica"
< ],
< "locations": [
< "Campinas, SP"
< ],
< "maxLeads": 100,
< "minLeadScore": 0,
< "minIdentityConfidence": 0,
< "includeOnlyWithContact": false,
< "deduplicate": true,
< "useMapsDiscovery": false,
< "extractContacts": true,
< "extractSocialLinks": true,
< "extractCnpj": true,
< "crawlBusinessWebsite": true,
< "maxPagesPerWebsite": 3
<}
<EOF
$curl "https://api.apify.com/v2/actors/basta_compilar~brazilian-b2b-lead-intelligence/runs?token=$API_TOKEN" \
< -X POST \
< -d @input.json \
< -H 'Content-Type: application/json'