Skip to main content
POST
Pinterest 搜索

Pinterest 搜索

与 MCP 一起使用

使用上面的 JSON 请求正文作为 socq_execute 的嵌套 input 对象,或将相同的字段直接传递给Typed 工具。Typed 工具还接受 _wait_seconds_result_limit_idempotency_key
成功的采集将返回 task_id。继续 socq_get_task 直到任务成功,然后从 results.items 读取规范化记录。
有关完整的提交和轮询流程,请参阅MCP 快速入门 results_limit 默认为 100,接受 1 到 2,000 之间的值。结果使用 resource="search"type="pin"

结果字段

任务结果使用下列稳定的 SocQ 字段。来源特有的字段名称和格式会被规范化,但不会推断或补充来源未提供的值。如需请求更小的字段集,MCP 查询请使用 fields,Typed 工具请使用 _result_fields,CLI 请使用 --result-fields。即使值为 null,已声明的字段仍会保留。

任务完成响应

授权

Authorization
string
header
必填

使用 Authorization: Bearer <token> 请求头进行身份验证。

请求体

application/json
query
string
必填

搜索关键词。

Minimum string length: 1
results_limit
integer

最多保存的结果数,实际结果可能少于该值。

必填范围: 1 <= x <= 2000

响应

任务已受理

code
integer

HTTP 业务状态码。

data
object