$API_TOKEN=<YOUR_API_TOKEN>
$cat > input.json << 'EOF'
<{
< "queries": [
< "tesco",
< "acme"
< ],
< "companyNumbers": [],
< "startUrls": [],
< "maxResultsPerQuery": 20,
< "activeOnly": false,
< "includeOfficers": true,
< "includePersonsWithSignificantControl": false,
< "includeFilingHistory": true,
< "maxOfficersPerCompany": 5,
< "maxPersonsWithSignificantControlPerCompany": 5,
< "maxFilingsPerCompany": 5,
< "requestDelayMs": 20
<}
<EOF
$curl "https://api.apify.com/v2/actors/automation-lab~companies-house-uk-company-search-scraper/runs?token=$API_TOKEN" \
< -X POST \
< -d @input.json \
< -H 'Content-Type: application/json'