shopUrlstring
1688 shop homepage URL. Supply shopUrl or memberId.
https://api.sandbase.ai/v1/api/1688/shop/infoGet 1688 shop information by shop URL or seller member ID: company, location, ratings and business type.
出力はここに表示されます
入力を完了してから[実行]をクリックしてください。
This API returns profile data for a 1688 shop, including company name, location, service ratings and business type flags. It needs either a shopUrl (the shop homepage URL) or a memberId (the seller member ID).
is_factory or is_super_factory when you build a supplier list.member_id to a company_id and company name to match records in your own database.curl -X POST "https://api.sandbase.ai/v1/api/1688/shop/info" \
-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.
{
"chat_url": "",
"company_id": "36968811",
"company_name": "广州贝利塑料制品有限公司",
"contact_info": {},
"favorite_count": "295",
"is_factory": false,
"is_flagship_shop": false,
"is_industry_brand": false,
"is_super_factory": false,
"is_tp": true,
"location": {
"city": "广州市",
"province": "广东省",
"street": ""
},
"location_str": "广东省 广州市"
}
| Field | Meaning |
|---|---|
company_name / shop_name | Registered company name and shop name. Both hold the same value in this response. |
company_id / member_id | Identifiers for the company and the seller. member_id matches the value you can send as memberId. |
location.province / location.city / location.street | Province, city and street of the seller. street can be an empty string. |
location_str | Province and city joined in one string, ready to display. |
shop_ratings[].title | Name of the rating category, shown in Chinese. |
shop_ratings[].score | Score for that category, returned as a string such as 5.0. |
shop_ratings[].type | Machine-readable rating code, such as purchase_consultation, logistics or dispute_resolution. |
is_factory / is_super_factory / is_flagship_shop / is_industry_brand | Boolean flags for the shop's business type and status. |
is_tp / tp_year | is_tp flags a TP shop. tp_year is a string with a number of years, 9 in this response. |
favorite_count | Number of favorites for the shop, returned as a string. |
shopUrl or memberId. The example uses memberId with a value like b2b-3945631662b7581.chat_url, shop_logo, shop_url and contact_info. seller_id can be null.favorite_count, company_id and tp_year are returned as strings.$0.014286 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.
開発を始める
統一認証と使用状況の追跡を備えたプラットフォームAPIエンドポイントです。
curl -X POST "https://api.sandbase.ai/v1/api/1688/shop/info" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"memberId": "b2b-3945631662b7581"
}'SandBaseのAPIキーをサーバー環境に設定してください。リクエストはBearer認証を使用します。
export SANDBASE_API_KEY="YOUR_API_KEY"キーはサーバー側で管理してください。ブラウザコードに公開しないでください。
shopUrlstring1688 shop homepage URL. Supply shopUrl or memberId.
memberIdstringSeller member ID. Supply memberId or shopUrl.
このAPIの保存済みサンプルレスポンスです。表示時にライブリクエストは行われません。
保存済みレスポンスはまだ公開されていません。PlaygroundでAPIを実行し、レスポンスを確認してください。
さらに探索
| API | 価格 | レスポンス |
|---|---|---|
1688 Shop Infoこの 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 |
質問
Authorization ヘッダー(Bearer)に SandBase API key を指定し、パラメータを JSON ボディで送信して https://api.sandbase.ai/v1/api/1688/shop/info に POST リクエストを送ります。このページの Playground で、コードを書かずに試すこともできます。
1回あたり $0.014286、SandBase 残高から課金されます。課金対象はご利用分のみで、サブスクリプションはありません。
必須パラメータはありません。 任意: shopUrl (string) と memberId (string)。 このページの Parameters テーブルと Playground に、すべてのフィールドが一覧表示されています。
同じ HTTP リクエスト内で返される JSON レスポンスです(同期)。 このページの README にサンプルレスポンスがあります。
いいえ。1688 Shop Info は SandBase 経由で動作するため、SandBase の API key 1つでこのエンドポイントと、カタログ内の他のすべての API とモデルを利用できます。1688 の API アクセスを別途申請する必要はありません。