Sand AISand AI MAGI-2MAGI-2 est maintenant sur SandBase : vidéo 1080p avec audio natifEssayer maintenant

1688 Category Info

Docs API
https://api.sandbase.ai/v1/api/1688/category/info

Get a 1688 category and its child categories by category ID, or the root categories when no ID is given.

Prix
$0.014286USD / appel
Méthode
POST
Réponse
JSON
Paramètres
0 obligatoires · 1 facultatifs

Bac à sable

Entrée
1688 platform category ID.
SortiePrêt

Votre sortie apparaîtra ici

Complétez les entrées, puis cliquez sur Exécuter.

README de l'API

1688 Category Info API

Returns a 1688 category and its child categories. Send a catId to get that category with its children, or send no input to get the root categories.

Use cases

  • Build a full 1688 category tree by starting with no catId and walking down through children[].id.
  • Map Chinese category names to English labels using name and name_en for a catalog or translation table.
  • Check children[].has_children to decide which categories need another call to reach leaf categories.
  • Collect category IDs to use when listing products in a category.

Request

curl -X POST "https://api.sandbase.ai/v1/api/1688/category/info" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'

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

Parameters

NameTypeRequiredDescription
catIdstringNo1688 platform category ID.

Example response

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

{
  "children": [
    {
      "has_children": true,
      "id": "130823000",
      "level": 0,
      "name": "成人用品",
      "name_en": "Adult Products"
    }
  ],
  "id": "",
  "level": null,
  "name": "",
  "name_en": ""
}

Response fields

FieldMeaning
children[]List of child categories. With no catId in the request, this list holds the root categories.
children[].idCategory ID as a string. Use it as catId in the next call.
children[].nameCategory name in Chinese.
children[].name_enCategory name in English.
children[].has_childrentrue when the category has child categories below it. Use it to decide whether to go deeper.
children[].levelDepth number of the child category. Root categories show 0.
id / name / name_enID and names of the requested category. These are empty strings when no catId is sent.
levelDepth of the requested category. It is null when no catId is sent.

Notes

  • Leave catId out to get the root categories. The top-level id, name and name_en are then empty and level is null.
  • id values are strings, for example "130823000" and "54". Pass them back unchanged as catId.
  • To list products in a category, call 1688 Category Products with a category ID from this response.

Pricing

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

Explorer plus

APIs associées

Toutes les APIs
APIPrixRéponse
1688$0.014286 par appelJSON
1688$0.014286 par appelJSON
1688$0.014286 par appelJSON
1688$0.014286 par appelJSON
1688$0.014286 par appelJSON
1688$0.014286 par appelJSON

Guides :Best 1688 API in 2026: Pricing Compared

Questions

FAQ

Comment utiliser l’API 1688 Category Info ?

Envoyez une requête POST à https://api.sandbase.ai/v1/api/1688/category/info avec votre clé API SandBase dans l’en-tête Authorization (Bearer) et les paramètres dans un corps JSON. Vous pouvez aussi l’essayer dans le Playground sur cette page sans écrire de code.

Combien coûte l’API 1688 Category Info ?

$0.014286 par appel, facturé depuis votre solde SandBase. Vous ne payez que les appels que vous effectuez ; aucun abonnement.

Quels paramètres l’API 1688 Category Info accepte-t-elle ?

Aucun paramètre n’est requis. Facultatif : catId (string). Le tableau des paramètres et le Playground sur cette page listent tous les champs.

Que renvoie l’API 1688 Category Info ?

Une réponse JSON renvoyée dans la même requête HTTP (synchrone). Le README sur cette page inclut un exemple de réponse.

Ai-je besoin d’un compte développeur ou d’une clé API 1688 ?

Non. 1688 Category Info fonctionne via SandBase, donc une seule clé API SandBase couvre ce point de terminaison ainsi que toutes les autres API et tous les modèles du catalogue. Vous n’avez pas besoin de demander un accès API 1688 séparément.