$API_TOKEN=<YOUR_API_TOKEN>
$cat > input.json << 'EOF'
<{
< "startUrls": [
< "https://www.google.com/maps/search/cafe/@40.6976437,-74.3093257,10z/data=!3m1!4b1?authuser=0&hl=en&entry=ttu",
< "https://www.google.com/maps/place/The+Museum+of+Modern+Art/@40.7614367,-73.9801965,17z/data=!3m2!4b1!5s0x89c258fbd5ec7547:0x7edf0a3ade84ad50!4m6!3m5!1s0x89c258f97bdb102b:0xea9f8fc0b3ffff55!8m2!3d40.7614327!4d-73.9776216!16zL20vMGhoams?authuser=0&hl=en&entry=ttu"
< ],
< "search": "cafe",
< "searchLocation": "San Francisco, USA",
< "language": "en",
< "reviewsSort": "mostRelevant",
< "maxItems": 20,
< "maxReviews": 20,
< "extendOutputFunction": "($) => { return {} }",
< "customMapFunction": "(object) => { return {...object} }",
< "proxy": {
< "useApifyProxy": true
< }
<}
<EOF
$curl "https://api.apify.com/v2/acts/epctex~google-maps-scraper/runs?token=$API_TOKEN" \
< -X POST \
< -d @input.json \
< -H 'Content-Type: application/json'