$API_TOKEN=<YOUR_API_TOKEN>
$cat > input.json << 'EOF'
<{
< "items": [
< {
< "title": "Sunrise Hair Studio",
< "categoryName": "Hair salon",
< "address": "12 Park Street",
< "city": "Austin",
< "countryCode": "US",
< "website": null,
< "phone": "(512) 555-0142",
< "phoneUnformatted": "+15125550142",
< "totalScore": 4.6,
< "reviewsCount": 640,
< "claimThisBusiness": false,
< "permanentlyClosed": false,
< "temporarilyClosed": false,
< "placeId": "example1",
< "url": "https://maps.example/1"
< },
< {
< "title": "Blue Door Dental",
< "categoryName": "Dentist",
< "address": "40 Elm Avenue",
< "city": "Austin",
< "countryCode": "US",
< "website": "https://www.facebook.com/bluedoordental",
< "phone": "(512) 555-0177",
< "phoneUnformatted": "+15125550177",
< "totalScore": 4.8,
< "reviewsCount": 64,
< "claimThisBusiness": false,
< "permanentlyClosed": false,
< "temporarilyClosed": false,
< "placeId": "example2",
< "url": "https://maps.example/2"
< },
< {
< "title": "Green Leaf Cafe",
< "categoryName": "Cafe",
< "address": "9 Oak Road",
< "city": "Austin",
< "countryCode": "US",
< "website": "https://greenleafcafe.com",
< "phone": "(512) 555-0190",
< "phoneUnformatted": "+15125550190",
< "totalScore": 4.4,
< "reviewsCount": 300,
< "claimThisBusiness": false,
< "permanentlyClosed": false,
< "temporarilyClosed": false,
< "placeId": "example3",
< "url": "https://maps.example/3"
< },
< {
< "title": "Old Mill Pizza",
< "categoryName": "Pizza restaurant",
< "address": "5 Mill Lane",
< "city": "Austin",
< "countryCode": "US",
< "website": null,
< "phone": "(512) 555-0111",
< "phoneUnformatted": "+15125550111",
< "totalScore": 4.1,
< "reviewsCount": 80,
< "claimThisBusiness": false,
< "permanentlyClosed": true,
< "temporarilyClosed": false,
< "placeId": "example4",
< "url": "https://maps.example/4"
< }
< ]
<}
<EOF
$curl "https://api.apify.com/v2/actors/asmalek~google-maps-leads-cleaner/runs?token=$API_TOKEN" \
< -X POST \
< -d @input.json \
< -H 'Content-Type: application/json'