接口参考
监控任务的广告商品列表 API
POST
/open-api/v1/ad-monitor-task/product-list免费·api.ppspy.com数据与监控消耗规则
数据消耗规则:1. 获取一条shopify数据结果消耗 1 数据 或者 获取一条广告库数据结果消耗 2 数据,获取数据结果的更多数据详情不消耗数据。 2. 广告监控 & 销量监控,每次监控 $1 / 月。单个监控有效期为一个月,一个月后自动停止。删除监控不会恢复监控次数,请谨慎删除。监控调用为随时且无限次。
请求头
AUTHORIZATION
Authorization: {API Key}CONTENT-TYPE
application/jsonACCEPT
application/json请求示例
cURL
curl --location --request POST 'https://api.ppspy.com/open-api/v1/ad-monitor-task/product-list' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--header 'Authorization: {API Key}' \
--data-raw '{
"task_id": "48c99a7968aa3f76a353297f629e8460",
"order_by": "ad_count",
"direction": "desc",
"page": 1,
"per_page": 10
}' 请求参数
按参数标注的位置传入请求。
| 参数 | 类型 | 说明 |
|---|---|---|
| body
body · 可选
| object | | none |
| » task_id
body · 必填
| string | 监控任务ID | none |
| » keyword
body · 可选
| string | 商品名称关键词 | none |
| » first_ad_date_start
body · 可选
| integer | 首次广告开始日期 | 时间戳:秒。 |
| » first_ad_date_end
body · 可选
| integer | 首次广告结束日期 | 时间戳:秒。 |
| » min_active_ad_count
body · 可选
| integer | 最小活跃广告数 | none |
| » max_active_ad_count
body · 可选
| integer | 最大活跃广告数 | none |
| » min_ad_count
body · 可选
| integer | 最小广告数 | none |
| » max_ad_count
body · 可选
| integer | 最大广告数 | none |
| » min_ad_days
body · 可选
| integer | 最小投放天数 | none |
| » max_ad_days
body · 可选
| integer | 最大投放天数 | none |
| » min_price
body · 可选
| number | 最小价格 | none |
| » max_price
body · 可选
| number | 最大价格 | none |
| » min_material_count
body · 可选
| integer | 最小店铺素材数量 | none |
| » max_material_count
body · 可选
| integer | 最大店铺素材数量 | none |
| » recent_ad_date_start
body · 可选
| integer | 最近广告开始日期 | 时间戳:秒。 |
| » recent_ad_date_end
body · 可选
| integer | 最近广告结束日期 | 时间戳:秒。 |
| » order_by
body · 可选
| string | 排序字段 | 可选值:active_ad_count-活跃广告数,ad_count-广告数,ad_days-投放天数,recent_ad_date-最近广告日期,first_ad_date-首次广告日期,price-价格(USD),material_count-店铺素材数量。 |
| » direction
body · 可选
| string | 排序方式 | 可选值:desc-降序,asc-升序。 |
| » page
body · 可选
| integer | 页码 | 最小值等于1。 |
| » per_page
body · 可选
| integer | 分页大小 | 取值范围1-100。 |
返回示例
返回示例 · JSON
{
"code": 200,
"message": "success",
"data": {
"current_page": 1,
"data": [
{
"product_id": "06f4503b3d07810ad2aec20b3eab46f2",
"product_url": "https:\/\/bloomchic.com\/products\/geometric-print-drawstring-skinny-waistline-inside-dress?variant=42774716711082&feed_id=fb4454701",
"product_name": "Geometric Print Drawstring Skinny Short Dress",
"product_image": "https:\/\/fb-cdn.pipiads.com\/images\/pimg_71d287434cac842df6f45.png",
"active_ad_count": 67,
"ad_count": 634,
"ad_days": 148,
"recent_ad_date": 1761202800,
"first_ad_date": 1748502000,
"price": 21.8
},
{
"product_id": "ce047b08c273540fd6d364c6ea2779e2",
"product_url": "https:\/\/bloomchic.com\/products\/plunging-neck-button-detail-pocket-maxi-dress?variant=42759663648938&feed_id=fb9739801",
"product_name": "Plunging Neck Button Detail Pocket Maxi Dress",
"product_image": "https:\/\/fb-cdn.pipiads.com\/images\/pimg_7b3411f14f53ac20eed6a.png",
"active_ad_count": 66,
"ad_count": 548,
"ad_days": 182,
"recent_ad_date": 1761202800,
"first_ad_date": 1745564400,
"price": 38.8
},
{
"product_id": "19cd1b54816e321183e115dd770304e3",
"product_url": "https:\/\/bloomchic.com\/products\/ditsy-floral-elastic-waist-ruffles-pocket-knee-dress?variant=43090401099946&feed_id=fb9738901",
"product_name": "Bloom Dress - Ditsy Floral Elastic Waist Ruffles Pocket Knee Dress",
"product_image": "https:\/\/fb-cdn.pipiads.com\/images\/pimg_af7ed5240540be0cd6da.png",
"active_ad_count": 5,
"ad_count": 266,
"ad_days": 172,
"recent_ad_date": 1760943600,
"first_ad_date": 1746169200,
"price": 28.9
},
{
"product_id": "88c569b53c835bfb69ab5b3ef2d273d7",
"product_url": "https:\/\/bloomchic.com\/products\/solid-pocket-contrast-lace-split-modal-maxi-dress?variant=43060164821162&feed_id=fb2136101",
"product_name": "Solid Pocket Contrast Lace Split Maxi Dress",
"product_image": "https:\/\/fb-cdn.pipiads.com\/images\/pimg_748e674c0fbade204499a.png",
"active_ad_count": 16,
"ad_count": 218,
"ad_days": 182,
"recent_ad_date": 1761202800,
"first_ad_date": 1745564400,
"price": 39.9
},
{
"product_id": "1c19b5adfafcd866c686af014004bafd",
"product_url": "https:\/\/bloomchic.com\/products\/solid-side-pocket-modal-midi-peasant-dress?variant=42572898009258&feed_id=fb3967901",
"product_name": "Solid Side Pocket Modal Midi Peasant Dress",
"product_image": "https:\/\/fb-cdn.pipiads.com\/images\/pimg_30a6463e0bc1140b5b2c7.png",
"active_ad_count": 21,
"ad_count": 184,
"ad_days": 45,
"recent_ad_date": 1749366000,
"first_ad_date": 1745564400,
"price": 24.8
},
{
"product_id": "3290d7fed2c2deb2854bea573825ffe5",
"product_url": "https:\/\/bloomchic.com\/products\/skinny-very-stretchy-high-rise-black-wash-sculpt-waist-jeans?variant=43345622204586&feed_id=fb2106901",
"product_name": "Skinny Very Stretchy High Rise Black Wash Sculpt Waist Jeans",
"product_image": "https:\/\/fb-cdn.pipiads.com\/images\/pimg_d71e51c424586e6689501.png",
"active_ad_count": 7,
"ad_count": 163,
"ad_days": 177,
"recent_ad_date": 1761202800,
"first_ad_date": 1745996400,
"price": 35.9
},
{
"product_id": "1302168b5819a268917e5c8c713c9ab1",
"product_url": "https:\/\/bloomchic.com\/products\/skinny-very-stretchy-mid-rise-dark-wash-gap-proof-jeans?variant=43191001743530&feed_id=fb5151701",
"product_name": "Skinny Very Stretchy High Rise Dark Wash Gap Proof Jeans",
"product_image": "https:\/\/fb-cdn.pipiads.com\/images\/pimg_48987d78414edfb571d2.png",
"active_ad_count": 9,
"ad_count": 161,
"ad_days": 180,
"recent_ad_date": 1761030000,
"first_ad_date": 1745564400,
"price": 35.9
},
{
"product_id": "2a88b878dc37de986465a89f1ea393ad",
"product_url": "https:\/\/bloomchic.com\/products\/scoop-neck-pocket-floral-short-dress?variant=42611501662378&feed_id=fb3687901",
"product_name": "Bloom Dress - Scoop Neck Pocket Floral Short Dress",
"product_image": "https:\/\/fb-cdn.pipiads.com\/images\/pimg_e00d7bd11b4ee08d53599.png",
"active_ad_count": 12,
"ad_count": 134,
"ad_days": 105,
"recent_ad_date": 1758006000,
"first_ad_date": 1749020400,
"price": 29.8
},
{
"product_id": "f02ff58481555263b8792c33584c9be7",
"product_url": "https:\/\/bloomchic.com\/products\/ditsy-floral-v-neck-ruffle-tie-front-blouse?variant=42895560638634&feed_id=fb2653601",
"product_name": "Ditsy Floral V Neck Ruffle Tie Front Blouse",
"product_image": "https:\/\/fb-cdn.pipiads.com\/images\/pimg_73d485f2db3a51d17e6bf.png",
"active_ad_count": 10,
"ad_count": 128,
"ad_days": 174,
"recent_ad_date": 1760943600,
"first_ad_date": 1745996400,
"price": 29.8
},
{
"product_id": "2abc3fd717a642511ab7175deee73f7d",
"product_url": "https:\/\/bloomchic.au\/products\/supersoft-essentials-colorblock-contrast-pocket-cardigan-1?variant=45924066754809&feed_id=fb48271801",
"product_name": "Supersoft Essentials Colorblock Contrast Pocket Cardigan",
"product_image": "https:\/\/fb-cdn.pipiads.com\/images\/pimg_a6678c847a48038974e20.png",
"active_ad_count": 6,
"ad_count": 95,
"ad_days": 38,
"recent_ad_date": 1751094000,
"first_ad_date": 1747897200,
"price": 38.49
}
],
"last_page": 16,
"per_page": 10,
"total": 151
},
"credits": {
"remaining_credits": 745,
"consumed_credits": 0,
"total_credits": 745
}
}
文档中的示例数据
返回数据结构
| 名称 | 类型 | 必选 | 约束 | 中文名 | 说明 |
|---|---|---|---|---|---|
| » code | integer | true | none | 业务状态码 | none |
| » message | string | true | none | 响应的消息 | none |
| » data | object | true | none | 响应的数据 | none |
| »» current_page | integer | true | none | 当前页码 | none |
| »» data | [object] | true | none | 数据列表 | none |
| »»» product_id | string | true | none | 商品ID | none |
| »»» product_url | string | true | none | 产品地址 | none |
| »»» product_name | string | true | none | 商品名称 | none |
| »»» product_image | string | true | none | 商品图片 | none |
| »»» active_ad_count | integer | true | none | 活跃广告数 | none |
| »»» ad_count | integer | true | none | 广告数量 | none |
| »»» ad_days | integer | true | none | 投放天数 | none |
| »»» recent_ad_date | integer | true | none | 最近广告日期 | 时间戳:秒。 |
| »»» first_ad_date | integer | true | none | 首次广告日期 | 时间戳:秒。 |
| »»» price | number | true | none | 价格(USD) | none |
| »»» material_count | integer | true | none | 店铺素材数量 | none |
| »» last_page | integer | true | none | 最后一页的页码 | none |
| »» per_page | integer | true | none | 分页大小 | none |
| »» total | integer | true | none | 总数据量 | none |
| » credits | object | true | none | Credits 信息 | 当前 API 请求对应的 credits 信息 |
| »» remaining_credits | integer | true | none | 剩余 credits | 本次请求后剩余的 credits 数量 |
| »» consumed_credits | integer | true | none | 消耗 credits | 本次请求消耗的 credits 数量 |
| »» total_credits | integer | true | none | 总 credits | 当前 credits 类型的总数量 |
