Sand AISand AI MAGI-2MAGI-2 が SandBase に登場しました: ネイティブ音声付き 1080p 動画今すぐ試す

1688 Category Info

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.

料金
$0.014286USD / 回
メソッド
POST
レスポンス
JSON
パラメータ
必須 0 件 · 任意 1 件

プレイグラウンド

入力
1688 platform category ID.
出力準備完了

出力はここに表示されます

入力を完了してから[実行]をクリックしてください。

API README

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.

さらに探索

関連 APIs

すべての APIs
API価格レスポンス
1688$0.014286 / 回JSON
1688$0.014286 / 回JSON
1688$0.014286 / 回JSON
1688$0.014286 / 回JSON
1688$0.014286 / 回JSON
1688$0.014286 / 回JSON

ガイド:Best 1688 API in 2026: Pricing Compared

質問

FAQ

1688 Category Info API はどのように使いますか?

Authorization ヘッダー(Bearer)に SandBase API key を指定し、パラメータを JSON ボディで送信して https://api.sandbase.ai/v1/api/1688/category/info に POST リクエストを送ります。このページの Playground で、コードを書かずに試すこともできます。

1688 Category Info API の料金はいくらですか?

1回あたり $0.014286、SandBase 残高から課金されます。課金対象はご利用分のみで、サブスクリプションはありません。

1688 Category Info API はどのパラメータを受け付けますか?

必須パラメータはありません。 任意: catId (string)。 このページの Parameters テーブルと Playground に、すべてのフィールドが一覧表示されています。

1688 Category Info API は何を返しますか?

同じ HTTP リクエスト内で返される JSON レスポンスです(同期)。 このページの README にサンプルレスポンスがあります。

1688 の開発者アカウントまたは API key は必要ですか?

いいえ。1688 Category Info は SandBase 経由で動作するため、SandBase の API key 1つでこのエンドポイントと、カタログ内の他のすべての API とモデルを利用できます。1688 の API アクセスを別途申請する必要はありません。