$API_TOKEN=<YOUR_API_TOKEN>
$cat > input.json << 'EOF'
<{
< "icp": "Dental practices that offer cosmetic dentistry such as teeth whitening, veneers or smile makeovers.",
< "places": [
< {
< "title": "Kimberly Smiles Cosmetic & General Dentistry",
< "categoryName": "Dentist",
< "categories": [
< "Dentist",
< "Cosmetic dentist",
< "Emergency dental service",
< "Oral surgeon",
< "Teeth whitening service"
< ],
< "website": "https://dentistwickerparkchicago.com/",
< "phone": "(773) 276-1047",
< "city": "Chicago",
< "totalScore": 4.7,
< "reviewsCount": 484
< },
< {
< "title": "Kids Tooth Team",
< "categoryName": "Pediatric dentist",
< "categories": [
< "Pediatric dentist",
< "Dental clinic",
< "Dental hygienist",
< "Dentist",
< "Emergency dental service"
< ],
< "website": "https://kidstoothteam.com/locations/our-south-austin-office/",
< "phone": "(512) 641-4914",
< "city": "Austin",
< "totalScore": 4.9,
< "reviewsCount": 740,
< "additionalInfo": {
< "Service options": [
< {
< "English": true
< }
< ],
< "Offerings": [
< {
< "Emergency services": true
< },
< {
< "Pediatric care": true
< },
< {
< "Sedation dentistry": true
< }
< ]
< }
< }
< ]
<}
<EOF
$curl "https://api.apify.com/v2/actors/leoworks~google-maps-lead-qualifier/runs?token=$API_TOKEN" \
< -X POST \
< -d @input.json \
< -H 'Content-Type: application/json'