Skip to main content
GET
Gemini LLM 抓取工具位置列表
Gemini scraper 接受的地区列表,字段为 location_codelocation_namelocation_code_parentcountry_iso_codelocation_type。🔴 实测 42 MB——全球每一个城市和大区,也是本 provider 里第三个超过 40 MB 的 Google 侧地区目录。不要从 agent 调用它:location_code 2840 是美国,其他代码请查 DataForSEO 的文档。上游免费,所以没有任何信号会警告你。

示例

授权

Authorization
string
header
必填

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

响应

成功响应

version
string

API 的当前版本

status_code
integer

常规状态码;可在此处查看完整的响应码列表

status_message
string

常规信息消息;可在此处查看常规信息消息的完整列表

time
string

执行时间(秒)

cost
number

任务总成本(美元)

tasks_count
integer

tasks 数组中的任务数量

tasks_error
integer

返回错误的 tasks 数组中的任务数量

tasks
string[]

任务数组

tasks.id
string

任务标识符,系统中采用 UUID 格式的唯一任务标识符

tasks.status_code
integer

DataForSEO 生成的任务状态码;范围为:10000-60000;完整响应代码列表可在此处查看

tasks.status_message
string

任务的信息性消息,你可以在此处查看通用信息性消息的完整列表

tasks.time
string

执行时间(秒)

tasks.cost
number

任务成本(美元)

tasks.result_count
integer

结果数组中的元素数量

tasks.path
string[]

URL 路径

tasks.data
object

包含在 GET 请求的 URL 中传递的参数

tasks.result
string[]

结果数组

tasks.result.location_code
integer

位置代码

tasks.result.location_name
string

位置的完整名称

tasks.result.location_code_parent
integer

上级位置的代码示例:"location_code": 9041134, "location_name": "Vienna International Airport,Lower Austria,Austria", "location_code_parent": 20044,其中 location_code_parent 对应:"location_code": 20044, "location_name": "Lower Austria,Austria"

tasks.result.country_iso_code
string

位置的 ISO 国家代码

tasks.result.location_type
string

位置类型