Shopee Product Detail Task API
Submit and query Shopee product detail raw data through an async task workflow.
Subscribe to This Product
Pricing plans belong to this product. Choose a plan for this product here.
Free免费积分包
Free
100 credits included
- Billing model: Credit package
- 100 积分
Overview
The Shopee Product Detail Task API uses an asynchronous workflow.
- Step 1: submit a crawl task and receive a
batch_id - Step 2: poll the query endpoint for task status
- Step 3: read the raw product detail payload from
data.sourcewhencode = 0
Basics
- Base URL:
https://api.bodapi.com - Auth headers:
X-API-Token: YOUR_API_TOKENandX-API-Secret: YOUR_API_SECRET - Method style:
GET - Response format:
application/json - Version:
sp/v1
Workflow
- Submit task:
GET /sp/v1/submit/product_detail - Store the returned
batch_id - Query result:
GET /sp/v1/query/product_detail code = 0means completed,code = -1means still processing, andcode = -2means service exception
Common Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| shop_id | query | string | yes | Shopee shop ID |
| item_id | query | string | yes | Shopee item ID |
| country | query | string | yes | Site code: id / tw / vn / th / ph / my / sg / br / mx |
| X-API-Token | header | string | yes | Permanent API token used for identity, billing, and rate limiting |
| X-API-Secret | header | string | yes | Rotatable API secret used to protect the credential from abuse |
Common Response Shape
| Field | Type | Description |
|---|---|---|
| code | integer | Business status code; 0 is success, negative values mean pending or failed |
| msg | string | Server message |
| data | object | Business payload |
Notes
- The OpenAPI spec only declares HTTP
200; usecodeto determine the real task state. data.sourcein the query endpoint is the raw upstream product detail object. It is large and may evolve with upstream changes.- If
batch_idis omitted on submit, the spec states that the current date is used by default.