$API_TOKEN=<YOUR_API_TOKEN>
$cat > input.json << 'EOF'
<{
< "enableCitySearch": true,
< "cityTasks": [
< {
< "category": "steuerberater",
< "city": "berlin",
< "maxResults": 10
< },
< {
< "category": "zahnarzt",
< "city": "münchen",
< "maxResults": 10
< }
< ],
< "enableKeywordSearch": false,
< "keywordTasks": [
< {
< "keyword": "buchhaltung",
< "maxResults": 10
< }
< ],
< "enableEnrichment": false,
< "enableListingDetails": false,
< "enableLeadDetails": false,
< "enableReviews": false,
< "concurrency": 2,
< "proxyConfiguration": {
< "useApifyProxy": true,
< "apifyProxyGroups": [
< "RESIDENTIAL"
< ],
< "apifyProxyCountry": "US"
< }
<}
<EOF
$curl "https://api.apify.com/v2/actors/b2b_leads~gelbe-seiten-real-time-data-scraper/runs?token=$API_TOKEN" \
< -X POST \
< -d @input.json \
< -H 'Content-Type: application/json'