SeerMarTech 文档控制台

Pinterest Pins Live

POST/v3/business_data/social_media/pinterest/live

按关键词搜索 Pinterest Pin,返回标题、描述、链接、互动数据等。

参考价:¥0.3200 / 次(实际以请求返回为准)

请求体

参数类型必填说明
keywordstring搜索关键词
location_codeinteger地区代码
language_codestring语言代码
limitinteger返回数量
offset_tokenstring分页 token

请求示例

curl

curl -X POST "https://api.seermartech.cn/v3/business_data/social_media/pinterest/live" \ -H "Authorization: Bearer smt_live_YOUR_KEY" \ -H "Content-Type: application/json" \ -d '[{"keyword": "home office decor", "location_code": 2840, "language_code": "en", "limit": 50}]'

Python

import requests resp = requests.post( "https://api.seermartech.cn/v3/business_data/social_media/pinterest/live", headers={"Authorization": "Bearer smt_live_YOUR_KEY"}, json=[{ "keyword": "home office decor", "location_code": 2840, "language_code": "en", "limit": 50, }], timeout=60, ) for item in resp.json()["tasks"][0]["result"][0]["items"][:5]: print(item.get("title"), item.get("url"))

TypeScript

const resp = await fetch( "https://api.seermartech.cn/v3/business_data/social_media/pinterest/live", { method: "POST", headers: { Authorization: "Bearer smt_live_YOUR_KEY", "Content-Type": "application/json", }, body: JSON.stringify([{ keyword: "home office decor", location_code: 2840, language_code: "en", limit: 50, }]), } ); console.log((await resp.json()).tasks[0].result[0].items.slice(0, 5));

业务场景

相关文档