Skip to main content
GET
Content Analysis API 的类别列表
post_dataforseo_content_category_trends_live 使用的 Google 商品与服务品类树。每行含 category_codecategory_namecategory_code_parent——最后这个字段使它成为一棵树。🔴 实测 290 KB / 3182 行,且本接口不接受任何 limit 或过滤参数——比 content 家族其他响应大两个数量级,会吃掉 agent 相当一部分上下文。取一次、留下你要的 code,别每次请求都调。免费:上游成本为 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

类别代码

tasks.result.category_name
string

类别的完整名称

tasks.result.category_code_parent
integer

上级类别的代码;示例:"category_code": 10178, "category_name": "Apparel Accessories", "category_code_parent": 10021,其中 category_code_parent 对应于:"category_code": 10178, "category_name": "Apparel Accessories"