Sand AISand AI MAGI-2MAGI-2 ya está en SandBase: video en 1080p con audio nativoPruébalo ahora

1688 Shop Categories

Documentación de la API
https://api.sandbase.ai/v1/api/1688/shop/categories

List all product categories of a 1688 shop by shop URL or seller member ID.

Precio
$0.014286USD / llamada
Método
POST
Respuesta
JSON
Parámetros
0 obligatorios · 2 opcionales

Entorno de pruebas

Entrada
1688 shop homepage URL. Supply shopUrl or memberId.
Seller member ID. Supply memberId or shopUrl.
SalidaListo

Su salida aparecerá aquí

Complete las entradas y luego haga clic en Ejecutar.

README de la API

1688 Shop Categories API

Returns the list of product categories that a 1688 shop has set up, with a product count for each category. Send either the shop homepage URL as shopUrl or the seller ID as memberId.

Use cases

  • Map the full catalog structure of a competitor shop on 1688.
  • Find which categories hold the most products in a supplier's shop.
  • Collect category IDs for a shop before you pull the products in each category.
  • Check how a seller groups its products, for example by phone case type.

Request

curl -X POST "https://api.sandbase.ai/v1/api/1688/shop/categories" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"memberId": "b2b-3945631662b7581"}'

The result is returned in outputs[0].data.

Parameters

NameTypeRequiredDescription
memberIdstringNoSeller member ID. Supply memberId or shopUrl.
shopUrlstringNo1688 shop homepage URL. Supply shopUrl or memberId.

Example response

Real response for the request above, trimmed: lists keep their first item and long strings are cut.

{
  "is_custom": true,
  "list": [
    {
      "children": [],
      "count": 16,
      "full_name": "折叠屏转轴保护套",
      "id": 169945812,
      "name": "折叠屏转轴保护套"
    }
  ],
  "member_id": "b2b-3945631662b7581"
}

Response fields

FieldMeaning
member_idThe seller member ID the categories belong to. It matches the memberId you sent.
is_customBoolean flag on the category list. It is true in this response. The key name does not say more, so treat the exact meaning as unconfirmed.
list[]One entry per shop category.
list[].idNumeric ID of the category.
list[].name / list[].full_nameCategory name, and its full name. Both show the same text for these top-level categories.
list[].countNumber of products in the category.
list[].childrenList of sub-categories. It is empty for the categories shown here.

Notes

  • Supply shopUrl or memberId. You only need one of them.
  • Category names are returned in Chinese, as set by the seller.
  • Use 1688 Category Products to list products in a category, and 1688 Category Info for category details.
  • Use 1688 Shop Info to get details about the shop itself.

Pricing

$0.014286 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.

Explorar más

APIs relacionadas

Todas las APIs
APIPrecioRespuesta
1688$0.014286 por llamadaJSON
1688$0.014286 por llamadaJSON
1688$0.014286 por llamadaJSON
1688$0.014286 por llamadaJSON
1688$0.014286 por llamadaJSON
1688$0.014286 por llamadaJSON

Guías:Best 1688 API in 2026: Pricing Compared

Preguntas

FAQ

¿Cómo uso la API de 1688 Shop Categories?

Envía una solicitud POST a https://api.sandbase.ai/v1/api/1688/shop/categories con tu clave API de SandBase en el encabezado Authorization (Bearer) y los parámetros como un cuerpo JSON. También puedes probarlo en el Playground de esta página sin escribir código.

¿Cuánto cuesta la API de 1688 Shop Categories?

$0.014286 por llamada, facturado desde tu saldo de SandBase. Solo se te cobra por las llamadas que haces; no hay suscripción.

¿Qué parámetros acepta la API de 1688 Shop Categories?

No se requieren parámetros. Opcionales: shopUrl (string) y memberId (string). La tabla de Parámetros y el Playground de esta página enumeran todos los campos.

¿Qué devuelve la API de 1688 Shop Categories?

Una respuesta JSON devuelta en la misma solicitud HTTP (sincrónica). El README de esta página incluye una respuesta de ejemplo.

¿Necesito una cuenta de desarrollador o una clave API de 1688?

No. 1688 Shop Categories funciona a través de SandBase, así que una sola clave API de SandBase cubre este endpoint y todas las demás APIs y modelos del catálogo. No necesitas solicitar acceso a la API de 1688 por separado.