| 参数名 | 类型 | 必填 | 默认值 | 说明 |
|---|---|---|---|---|
query |
string | 选填 | - | 文本检索词,用自然语言描述想要的商品,如:帮我找一件黑色卫衣、我要买打印纸 |
file |
string | 选填 | - | 图片检索,支持:图片的公网URL、Base64编码(data:开头)、文件ID(fileid_开头) |
sort_type |
string | 选填 | - | 排序类型:price_asc(价格从低到高)、price_desc(价格从高到低)、old_desc(销量从高到低)、yx_desc(严选指数从高到低),不传则使用默认排序(相关性排序) |
page_size |
int | 选填 | - | 返回结果数量,如:20则返回20个结果 |
| 字段名 | 类型 | 说明 |
|---|---|---|
code | int | 状态码,0=成功 |
desc | string | 状态描述 |
data− |
object | 业务数据(成功时返回) |
products− |
array | 商品列表 |
title |
string | 商品标题 |
company |
string | 供应商公司名称 |
current_price |
float | 当前价格(元) |
image_url |
string | 商品图片URL |
detail_url |
string | 商品详情页URL |
item_id |
int | 商品ID |
sku_id |
int | SKU ID |
sku_title |
string | SKU规格描述 |
quantity_begin |
int | 起批量 |
store_amount |
int | 库存数量 |
sold_out |
int | 已售数量 |
score |
float | 相关性评分 |
yx_index |
float | 严选指数 |
recall_source |
string | 召回来源 |
selling_points |
array | 卖点标签 |
service_infos |
array | 服务标签 |
promotion_tags |
array | 促销标签 |
price_stable_30d |
bool | 30天价格稳定 |
post_fee_good |
bool | 邮费优势 |
repeat_rate |
string | 复购率 |
shop_year |
string | 店铺年限 |
customer_scale |
string | 客户规模 |
pay_orders_30d |
string | 30天支付订单数 |
rebuy_30d |
string | 30天复购数 |
request_id | string | 请求追踪ID |
{
"code": 0,
"desc": "success",
"data": { ... },
"request_id": "abc123..."
}
{
"code": 999,
"desc": "错误描述",
"request_id": "abc123..."
}
© 网程科技(林州网程科技有限公司) | 豫ICP备2025120409号-2 | 豫B2-20230220 | 豫公网安备 41058102000262号