$API_TOKEN=<YOUR_API_TOKEN>
$cat > input.json << 'EOF'
<{
< "businesses": [
< {
< "website": "https://mortenmyrmel03.github.io/lbpq-demo-sites/summit-ridge-roofing/",
< "clientRecordId": "demo-001",
< "businessName": "Summit Ridge Roofing",
< "country": "US",
< "city": "Austin"
< },
< {
< "website": "https://mortenmyrmel03.github.io/lbpq-demo-sites/clearwater-plumbing/",
< "clientRecordId": "demo-002",
< "businessName": "Clearwater Plumbing Co.",
< "country": "US",
< "city": "Denver"
< },
< {
< "website": "mortenmyrmel03.github.io/lbpq-demo-sites/clearwater-plumbing",
< "clientRecordId": "demo-003",
< "businessName": "Clearwater Plumbing Co. (duplicate CRM row)",
< "country": "US",
< "city": "Aurora"
< },
< {
< "website": "https://mortenmyrmel03.github.io/lbpq-demo-sites/brightside-hvac/",
< "clientRecordId": "demo-004",
< "businessName": "Brightside HVAC"
< },
< {
< "website": "https://mortenmyrmel03.github.io/lbpq-demo-sites/parked-domain-demo/",
< "clientRecordId": "demo-005"
< },
< {
< "website": "https://excluded-demo.example/",
< "clientRecordId": "demo-006",
< "businessName": "Excluded by input"
< },
< {
< "website": "not a url",
< "clientRecordId": "demo-007"
< }
< ],
< "targetServiceCategories": [
< "roofing",
< "plumbing"
< ],
< "defaultCountry": "US",
< "maxDomains": 20,
< "maxPagesPerDomain": 4,
< "excludedDomains": [
< "excluded-demo.example"
< ]
<}
<EOF
$curl "https://api.apify.com/v2/actors/mortenm~local-business-prospect-qualifier/runs?token=$API_TOKEN" \
< -X POST \
< -d @input.json \
< -H 'Content-Type: application/json'