DataForSEOGoogleSEO/AEO

Google SERP location codes by country

dataforseo.x.serp-google-locations-country

You will receive the list of locations by this API call.

价格
free按供应商原价
成功率
93.3%近 30 天 · 360 次
延迟 p50
381 毫秒p95 1.8 秒
最后验证
—尚未验证
GEThttps://toolswitch.dev/v1/tools/dataforseo.x.serp-google-locations-country预览
在线试用即将上线供应商文档 ↗
  • 可用平台额度调用
  • 同步返回
  • 读取公开数据

参数

参数类型必填说明示例
路径参数
country字符串必填ISO 3166-1 alpha-2 country code, lowercase (e.g. de). The list for a large country can be longer than treg's 8 MiB response limit; that call is refused with 502 response_buffer_limit and not charged. Most data routes also accept location_name (e.g. "Germany") instead of a code.de
  • 路径参数
  • country字符串必填

    ISO 3166-1 alpha-2 country code, lowercase (e.g. de). The list for a large country can be longer than treg's 8 MiB response limit; that call is refused with 502 response_buffer_limit and not charged. Most data routes also accept location_name (e.g. "Germany") instead of a code.

    示例:de

代码示例

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

预览
curl -X GET 'https://toolswitch.dev/v1/tools/dataforseo.x.serp-google-locations-country' \
  -H "X-Toolswitch-Key: $TOOLSWITCH_KEY"

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