keywordstringobrigatório
Search keyword.
https://api.sandbase.ai/v1/api/1688/search/itemsSearch 1688 wholesale products by keyword with price, minimum order quantity, tiered prices, sales, repurchase rate and delivery info. Sort and filter by price, MOQ, dropshipping, free shipping and factory.
Sua saída aparecerá aqui
Preencha as entradas e clique em Executar.
Returns a page of 1688 wholesale products that match a keyword. Each item includes price, sales counts, shop details, delivery origin and tags. The only required input is keyword.
shop_info.is_factory and shop_info.is_super_factory in the results.curl -X POST "https://api.sandbase.ai/v1/api/1688/search/items" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"keyword": "蓝牙耳机"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
keyword | string | Yes | Search keyword. |
freeShipping | boolean | No | Filter for free shipping. |
isSuperFactory | boolean | No | Optional super-factory filter. |
moq | integer | No | Minimum order quantity filter. |
newArrival | boolean | No | Filter for new products. |
page | integer | No | Page number, starting at 1. |
pageSize | integer | No | Number of items requested per page. The returned count may differ. |
priceEnd | string | No | Maximum price filter in CNY. |
priceStart | string | No | Minimum price filter in CNY. |
sort | string | No | Product sort order. |
supportDropshipping | boolean | No | Filter for support for dropshipping. |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"cat_id": null,
"filters": {},
"has_next_page": true,
"items": [
{
"category_path": [
"10333"
],
"delivery_info": {
"area_from": [
"福建"
]
},
"goods_score": "3.0",
"img": "https://cbu01.alicdn.com/img/ibank/O1CN01HcxZQF1JWzrRozisJ_!!2219639211037-0-cib…",
"is_ad": false,
"item_id": 1051199602311,
"item_repurchase_rate": "",
"moq": null,
"price": "5.01",
"price_info": {
"origin_price": null,
"sale_price": "5.01"
},
"product_url": "https://detail.1688.com/offer/1051199602311.html",
"quantity_begin": null
}
],
"keyword": "蓝牙耳机",
"page": 1,
"page_size": 20,
"sort": "default",
"total_count": 2000
}
| Field | Meaning |
|---|---|
items[].item_id / items[].product_url | Product ID and the link to its 1688 detail page. |
items[].title / items[].img | Product title and main image URL. |
items[].price / items[].price_info.sale_price | Listed price as a string. price_info.origin_price holds the original price and can be null. |
items[].moq / items[].quantity_begin / items[].quantity_prices[] | Minimum order quantity and tiered price data. These are null or empty when the listing shows no tiers. |
items[].sale_info.orders_count / items[].sale_info.sale_quantity_int | Order count and numeric sales quantity. sale_info.sale_quantity is the display text, such as 已售100+件. |
items[].item_repurchase_rate | Repurchase rate shown on the listing, such as 33%. It is an empty string when not shown. |
items[].goods_score / items[].rating_star | Score and star rating for the product, as strings. |
items[].shop_info.company_name / items[].shop_info.member_id | Seller company name and the shop's member ID. |
items[].shop_info.is_factory / items[].shop_info.is_super_factory / items[].shop_info.factory_inspection | Flags that show whether the seller is a factory, a super factory, or has a factory inspection. |
items[].delivery_info.area_from / items[].tags | Province and city the goods ship from, and listing tags such as return shipping coverage. |
Prefer to inspect a known listing link? Use Product Details by URL. The Python request example sends a keyword search and a separate, manually selected URL lookup. It does not automatically identify a supplier or call details for every result.
page to move through results. has_next_page shows whether another page exists, and total_count gives the total match count.item_id is a number. Pass it to 1688 Product Details for the full listing.shop_info.member_id with 1688 Shop Info to look up the seller.keyword, page, page_size and sort. The returned item count may differ from pageSize.$0.014286 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.
Comece a construir
Endpoint da API da plataforma com autenticação unificada e rastreamento de uso.
curl -X POST "https://api.sandbase.ai/v1/api/1688/search/items" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"page": 1,
"sort": "default",
"keyword": "蓝牙耳机",
"pageSize": 20
}'Defina sua chave da API SandBase no ambiente do seu servidor. As requisições usam autenticação Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Mantenha sua chave no servidor. Não a exponha em código do navegador.
keywordstringobrigatórioSearch keyword.
pageintegerPage number, starting at 1.
Padrão: 1
pageSizeintegerNumber of items requested per page. The returned count may differ.
Padrão: 20
sortstringProduct sort order.
Padrão: "default"
Valores possíveis: default, sales, price_up, price_down
moqintegerMinimum order quantity filter.
priceStartstringMinimum price filter in CNY.
priceEndstringMaximum price filter in CNY.
newArrivalbooleanFilter for new products.
supportDropshippingbooleanFilter for support for dropshipping.
freeShippingbooleanFilter for free shipping.
isSuperFactorybooleanOptional super-factory filter.
Resposta de exemplo salva para esta API; nenhuma requisição ao vivo é feita ao visualizá-la.
Nenhuma resposta salva foi publicada. Execute a API no Playground para inspecionar a resposta.
Explorar mais
| API | Preço | Resposta |
|---|---|---|
1688 Product SearchEsta API 1688 | $0.014286 por chamada | JSON |
1688 | $0.014286 por chamada | JSON |
1688 | $0.014286 por chamada | JSON |
1688 | $0.014286 por chamada | JSON |
1688 | $0.014286 por chamada | JSON |
1688 | $0.014286 por chamada | JSON |
Perguntas
Envie uma solicitação POST para https://api.sandbase.ai/v1/api/1688/search/items com sua chave de API da SandBase no cabeçalho Authorization (Bearer) e os parâmetros no corpo JSON. Você também pode testar no Playground desta página sem escrever código.
$0.014286 por chamada, cobrado do seu saldo SandBase. Você paga apenas pelas chamadas que fizer; não há assinatura.
Obrigatórios: keyword (string). Opcionais: page (integer), pageSize (integer), sort (um de default, sales, price_up, price_down), moq (integer), priceStart (string) e priceEnd (string) e mais 4. A tabela de Parâmetros e o Playground nesta página listam todos os campos.
Uma resposta JSON retornada na mesma solicitação HTTP (síncrona). O README desta página inclui um exemplo de resposta.
Não. 1688 Product Search funciona via SandBase, então uma única chave de API da SandBase cobre este endpoint e todas as outras APIs e modelos do catálogo. Você não precisa solicitar acesso à API do 1688 separadamente.
Product Search exige a string keyword. Os campos opcionais page, pageSize e moq são inteiros; priceStart e priceEnd são strings para uma faixa de preço CNY documentada. A entrada relacionada à fábrica aqui é isSuperFactory. Image Search tem uma entrada diferente, imgUrl, e usa isFactory e verifiedSupplier; esses nomes não são intercambiáveis com esta request.
A referência chama moq de filtro de quantidade mínima de pedido, mas não especifica um operador de comparação. Não presuma que definir 10 garante que todo anúncio retornado possa ser encomendado em dez unidades ou menos. Verifique a oferta selecionada, o SKU e o nível de quantidade; preserve valores ausentes de MOQ como desconhecidos, e não como zero.
Não. A referência descreve uma página de candidatos do marketplace, e a contagem retornada pode diferir de pageSize. Um total reportado ou uma flag relacionada à fábrica não estabelece cobertura completa nem verifica um fornecedor de forma independente. Revise o anúncio e o fornecedor separadamente. O exemplo em Python faz uma única request de busca, não um fluxo completo de paginação ou auditoria de fornecedor.