Skip to main content
GET
Google Trends 类别列表
Google Trends 的类目树,字段为 category_codecategory_namecategory_code_parent。🔴 实测 122 KB,且不接受 limit 或过滤参数——与本 provider 里 content、technology 那两棵树同一形态。取一次、留下你要的那一枝。免费:上游成本为 0。

示例

授权

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.category_code
integer

唯一的 Google Trends 类别标识符

tasks.result.category_name
string

Google Trends 类别的名称

tasks.result.category_code_parent
integer

上级类别的代码。示例:"category_code": 1100, "category_name": "Superhero Films", "category_code_parent": 1097,其中 category_code_parent 对应:"category_code": 1097, "category_name": "Action & Adventure Films"