$API_TOKEN=<YOUR_API_TOKEN>
$cat > input.json << 'EOF'
<{
< "enableCompanySearch": true,
< "searchTasks": [
< {
< "query": "airbnb",
< "maxResults": 10
< },
< {
< "query": "stripe",
< "maxResults": 10
< }
< ],
< "searchMaxResults": 10,
< "maxPagesPerTask": 3,
< "enableCompanyDetails": true,
< "enableCategoryBrowse": false,
< "categoryMaxResults": 50,
< "enableReviews": false,
< "maxReviewsPerCompany": 30,
< "enableScrapeByUrl": false,
< "maxItems": 1000,
< "concurrency": 8,
< "proxyConfiguration": {
< "useApifyProxy": true,
< "apifyProxyGroups": [
< "RESIDENTIAL"
< ],
< "apifyProxyCountry": "US"
< }
<}
<EOF
$curl "https://api.apify.com/v2/actors/b2b_leads~trustpilot-real-time-data-scraper/runs?token=$API_TOKEN" \
< -X POST \
< -d @input.json \
< -H 'Content-Type: application/json'