$API_TOKEN=<YOUR_API_TOKEN>
$cat > input.json << 'EOF'
<{
< "jsonData": [
< {
< "searchString": "plumber",
< "rank": 1,
< "title": "Example Plumbing Co",
< "categoryName": "Plumber",
< "city": "Austin",
< "countryCode": "US",
< "website": "https://example.com/",
< "phone": "(512) 555-0100",
< "claimThisBusiness": false,
< "totalScore": 4.8,
< "reviewsCount": 240,
< "imagesCount": 85,
< "placeId": "example-1",
< "reviews": [
< {
< "stars": 5,
< "text": "Fast and friendly, fixed the leak the same day.",
< "publishedAtDate": "2026-11-01T10:00:00.000Z",
< "responseFromOwnerText": "Thank you!",
< "responseFromOwnerDate": "2026-11-02T10:00:00.000Z"
< }
< ]
< },
< {
< "searchString": "plumber",
< "rank": 2,
< "title": "Sample Pipe Repair",
< "categoryName": "Plumber",
< "city": "Austin",
< "countryCode": "US",
< "website": null,
< "phone": "(512) 555-0199",
< "claimThisBusiness": true,
< "totalScore": 3.9,
< "reviewsCount": 14,
< "imagesCount": 3,
< "placeId": "example-2",
< "reviews": [
< {
< "stars": 1,
< "text": "Never called back and the sink is still leaking.",
< "publishedAtDate": "2026-10-20T10:00:00.000Z",
< "responseFromOwnerText": null
< }
< ]
< }
< ]
<}
<EOF
$curl "https://api.apify.com/v2/actors/weav3rx~google-maps-business-audit/runs?token=$API_TOKEN" \
< -X POST \
< -d @input.json \
< -H 'Content-Type: application/json'