shopUrlstring
1688 shop homepage URL. Supply shopUrl or memberId.
https://api.sandbase.ai/v1/api/1688/shop/categoriesList all product categories of a 1688 shop by shop URL or seller member ID.
Ihre Ausgabe wird hier angezeigt
Vervollständigen Sie die Eingaben und klicken Sie dann auf Ausführen.
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.
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.
| Name | Type | Required | Description |
|---|---|---|---|
memberId | string | No | Seller member ID. Supply memberId or shopUrl. |
shopUrl | string | No | 1688 shop homepage URL. Supply shopUrl or memberId. |
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"
}
| Field | Meaning |
|---|---|
member_id | The seller member ID the categories belong to. It matches the memberId you sent. |
is_custom | Boolean 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[].id | Numeric ID of the category. |
list[].name / list[].full_name | Category name, and its full name. Both show the same text for these top-level categories. |
list[].count | Number of products in the category. |
list[].children | List of sub-categories. It is empty for the categories shown here. |
shopUrl or memberId. You only need one of them.$0.014286 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.
Jetzt loslegen
Plattform-API-Endpunkt mit einheitlicher Authentifizierung und Nutzungsnachverfolgung.
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"
}'Legen Sie Ihren SandBase API-Schlüssel in Ihrer Serverumgebung fest. Anfragen verwenden Bearer-Authentifizierung.
export SANDBASE_API_KEY="YOUR_API_KEY"Bewahren Sie Ihren Schlüssel auf dem Server auf. Geben Sie ihn nicht in Browser-Code preis.
shopUrlstring1688 shop homepage URL. Supply shopUrl or memberId.
memberIdstringSeller member ID. Supply memberId or shopUrl.
Gespeicherte Beispielantwort für diese API; beim Anzeigen wird keine Live-Anfrage gesendet.
Es wurde keine gespeicherte Antwort veröffentlicht. Führen Sie die API in Playground aus, um die Antwort zu prüfen.
Mehr entdecken
| API | Preis | Antwort |
|---|---|---|
1688 Shop CategoriesDiese API 1688 | $0.014286 pro Aufruf | JSON |
1688 | $0.014286 pro Aufruf | JSON |
1688 | $0.014286 pro Aufruf | JSON |
1688 | $0.014286 pro Aufruf | JSON |
1688 | $0.014286 pro Aufruf | JSON |
1688 | $0.014286 pro Aufruf | JSON |
Anleitungen:Best 1688 API in 2026: Pricing Compared
Fragen
Senden Sie eine POST-Anfrage an https://api.sandbase.ai/v1/api/1688/shop/categories mit Ihrem SandBase API-Schlüssel im Authorization-Header (Bearer) und den Parametern als JSON-Body. Sie können das auch ohne Code direkt auf dieser Seite im Playground testen.
$0.014286 pro Aufruf, abgerechnet von Ihrem SandBase-Guthaben. Es werden nur die von Ihnen getätigten Aufrufe berechnet; es gibt kein Abo.
Es sind keine Parameter erforderlich. Optional: shopUrl (string) und memberId (string). Die Parametertabelle und der Playground auf dieser Seite listen jedes Feld auf.
Eine JSON-Antwort, die in derselben HTTP-Anfrage zurückgegeben wird (synchron). Die README auf dieser Seite enthält eine Beispielantwort.
Nein. 1688 Shop Categories läuft über SandBase, daher deckt ein SandBase API-Schlüssel diesen Endpunkt und jede andere API sowie jedes Modell im Katalog ab. Sie müssen keinen separaten Zugang für 1688 API beantragen.