ApifyGoogleSEO/AEO

Search Google Maps businesses by keyword and location

apify.google.serp.maps

Scrape Google Maps for businesses matching a keyword in a place — name, address, phone, website, rating, review_count, categories, hours and coordinates, with email and social-profile enrichment from each business site included in the result price

价格
$0.009/result按供应商原价
成功率
99.8%近 30 天 · 4,667 次
延迟 p50
18 秒p95 78 秒
最后验证
2026年9月26日实测可用
POSThttps://toolswitch.dev/v1/tools/apify.google.serp.maps?memory=1024&timeout=90&maxItems=1&maxTotalChargeUsd=0.08预览
在线试用即将上线供应商文档 ↗
  • 可用平台额度调用
  • 同步返回
  • 读取公开数据

参数

the response is the dataset items array directly — no run envelope, no polling. Each row carries place_id, name, address, phone, website, rating, review_count, categories, hours, latitude, longitude, google_maps_url, and (when scrapeContacts is on) emails and social_links. Cap every call with maxTotalChargeUsd, the spend limit Apify enforces; the body row limit sets how many rows run. Filters (placeMinimumStars, website, skipClosedPlaces) drop places before they are returned or charged

参数类型必填说明示例
查询参数
memory整数可选MB of run memory. treg's key requires 1024, which fixes the actor-start charge; your own key may set any size1024
timeout整数可选run timeout in seconds. treg's key requires 90 so the run and its rows arrive before any wait gives up; a larger pull should use your own key and the async web.scrape.job.* pair above90
maxItems整数可选optional row cap; pay-per-event actors that take the row count from their own input ignore it, so maxTotalChargeUsd is the spend limit100
maxTotalChargeUsd数字可选the spend cap Apify enforces on every event this run bills, in dollars. treg's key requires it, above 0 and at most 1, and holds it for the call0.5
  • 查询参数
  • memory整数可选

    MB of run memory. treg's key requires 1024, which fixes the actor-start charge; your own key may set any size

    示例:1024

  • timeout整数可选

    run timeout in seconds. treg's key requires 90 so the run and its rows arrive before any wait gives up; a larger pull should use your own key and the async web.scrape.job.* pair above

    示例:90

  • maxItems整数可选

    optional row cap; pay-per-event actors that take the row count from their own input ignore it, so maxTotalChargeUsd is the spend limit

    示例:100

  • maxTotalChargeUsd数字可选

    the spend cap Apify enforces on every event this run bills, in dollars. treg's key requires it, above 0 and at most 1, and holds it for the call

    示例:0.5

代码示例

将 $TOOLSWITCH_KEY 替换为你在控制台创建的密钥。

预览
curl -X POST 'https://toolswitch.dev/v1/tools/apify.google.serp.maps?memory=1024&timeout=90&maxItems=1&maxTotalChargeUsd=0.08' \
  -H "X-Toolswitch-Key: $TOOLSWITCH_KEY" \
  -H "Content-Type: application/json" \
  --data-raw '{"maxReviews":0,"locationQuery":"Austin, TX","scrapeContacts":false,"maxCrawledPlaces":1,"skipClosedPlaces":true,"searchStringsArray":["coffee shop"],"scrapePlaceDetailPage":false,"maxCrawledPlacesPerSearch":1}'

网关接口为预览版,地址与鉴权方式可能调整。 示例参数仅为样例数据。 调用按 $0.009/result 计费,已含服务费。