Alibaba Product Details
POST /api/v1/alibaba/products/details
Get product details from an Alibaba product URL, including quantity-based prices, minimum order, specifications, purchase options, images and supplier information.
Overview
Get product details from an Alibaba product URL, including quantity-based prices, minimum order, specifications, purchase options, images and supplier information.
POST /api/v1/alibaba/products/details
Method: POST Path: /api/v1/alibaba/products/details Category: E-Commerce
Request Parameters
Endpoint Parameters
| Name | Type | Requirement | Description |
|---|---|---|---|
| location | string | Optional | Two-letter country code (default US). Prices and currency follow this country. |
| product_url | string | Required | Full Alibaba product URL (e.g. https://www.alibaba.com/product-detail/Wireless-Headphones_1601749124707.html). |
Request Example
Alibaba Product Details Request Examples
curl -X POST "https://api.dataguru.cc/api/v1/alibaba/products/details" \ -H "Authorization: Api-Key YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{"location": "US", "product_url": "example"}'
Response Example
200 OK
Typical 200 OK JSON response structure with envelope metadata.
{ "product_id": "1234567890", "title": "string", "url": "https://example.com/...", "brand": "string", "price": { "min_price": 0.0, "max_price": 0.0, "formatted_price": "string", "currency": "USD", "unit": "string", "tiers": [ { "min_quantity": 0, "max_quantity": 0, "price": 0.0, "formatted_price": "string" } ] }, "min_order": "string", "rating": { "average_rating": 0.0, "review_count": 0 }, "images": [ "string" ], "videos": [ "string" ], "options": {}, "specifications": {}, "categories": [ "string" ], "ships_from": "string", "supplier": { "name": "string", "url": "https://example.com/...", "country": "string", "business_type": "string", "years_on_platform": "string", "employees": "string", "response_time": "string", "on_time_delivery_rate": "string", "average_rating": 0.0, "review_count": 0 }, "_metadata": { "request_id": "3f6c1a2e-8b4d-4c1e-9a7f-2d5e6b7c8d9e", "execution_time_ms": 842, "endpoint": "Alibaba Product Details", "mode": "live", "format": "json", "timestamp": "2026-01-01T12:00:00+00:00" } }
Response Schema
Fields returned in a successful response. Nested fields use dot notation and `[]` marks items of a list. Fields that are not required can be missing or `null` when the source does not provide them. Every response also includes a `_metadata` block.
Response Fields
| Field | Type | Required | Description |
|---|---|---|---|
| product_id | string | Yes | Alibaba product identifier. |
| title | string | Yes | Product display name. |
| url | string | Yes | Full product URL on Alibaba. |
| brand | string | null | No | Brand name, when the supplier lists one. |
| price | object | Yes | Wholesale price, which usually depends on the order quantity. |
| price.min_price | number | null | Yes | Lowest listed unit price. |
| price.max_price | number | null | Yes | Highest listed unit price. |
| price.formatted_price | string | null | No | Price as displayed, including its currency symbol, e.g. "$5.20-8". |
| price.currency | string | null | Yes | ISO currency code, or null when the displayed symbol doesn't identify one. |
| price.unit | string | null | No | Unit the price applies to, e.g. "piece". |
| price.tiers | array<object> | No | Unit price by order quantity. |
| price.tiers[].min_quantity | integer | null | No | Smallest quantity for this price. |
| price.tiers[].max_quantity | integer | null | No | Largest quantity for this price, or null when there is no upper limit. |
| price.tiers[].price | number | null | No | Unit price at this quantity. |
| price.tiers[].formatted_price | string | null | No | Unit price as displayed. |
| min_order | string | null | No | Minimum order quantity, e.g. "1 piece". |
| rating | object | No | Reviews of this product. Empty for products without their own reviews. |
| rating.average_rating | number | null | No | Average rating score out of 5.0. |
| rating.review_count | integer | No | Number of product reviews. |
| images | array<string> | No | Full-size product image URLs. |
| videos | array<string> | No | Product video URLs. |
| options | object | No | Purchase options and their values, e.g. color: Black, Silver. |
| specifications | object | No | Product attributes as listed by the supplier. |
| categories | array<string> | No | Category path, from broadest to narrowest. |
| ships_from | string | null | No | Two-letter country code the product ships from. |
| supplier | object | Yes | The company selling this product. |
| supplier.name | string | null | No | Company name. |
| supplier.url | string | null | No | Company profile URL on Alibaba. |
| supplier.country | string | null | No | Two-letter country code of the company. |
| supplier.business_type | string | null | No | Business type, e.g. "Trading Company". |
| supplier.years_on_platform | string | null | No | Time on Alibaba as displayed, e.g. "3 yrs". |
| supplier.employees | string | null | No | Employee count range, e.g. "101-200". |
| supplier.response_time | string | null | No | Typical response time as displayed, e.g. "≤1h". |
| supplier.on_time_delivery_rate | string | null | No | On-time delivery rate as displayed, e.g. "100.0%". |
| supplier.average_rating | number | null | No | The supplier's average rating out of 5.0. |
| supplier.review_count | integer | No | Number of reviews behind the supplier's rating. |
Asynchronous Requests
Long-running requests can be processed in the background. Add `?async=true` (or the `Prefer: respond-async` header) to receive a `job_id` immediately, then poll the job until its status is `COMPLETED`.
Async Workflow
curl -X POST "https://api.dataguru.cc/api/v1/alibaba/products/details?async=true" \ -H "Authorization: Api-Key YOUR_API_KEY" # 202 Accepted { "success": true, "status": "SUBMITTED", "job_id": "0ca215ce-244f-4b28-b481-dc1b551983c8", "status_url": "/api/v1/jobs/0ca215ce-244f-4b28-b481-dc1b551983c8/" }
Batch Processing
To run many requests at half price, upload them as a CSV file: one row per request, with the parameter names above as the header row. Rows run in the background within 24 hours (up to 7 days for large files) and each successful row costs 50% of the price below. Poll /api/v1/batches/{batch_id}/ for progress and download results.json when it has finished. See the Batch Processing guide for details.
Batch Workflow
product_url,location example,US
Pricing & Rate Limits
Endpoint Pricing
$0.0022 / per successful request (USD)
Consumed per successful call: 1 request unit(s), 1 credit(s).
Endpoint Rate Limits
Common Errors
Common HTTP Errors
| Status | Code | Description |
|---|---|---|
| 400 | VALIDATION_ERROR | A required parameter is missing or malformed. |
| 401 | UNAUTHORIZED | Missing or invalid API key. |
| 402 | INSUFFICIENT_BALANCE | Your balance cannot cover this request. |
| 403 | ENDPOINT_DISABLED | This endpoint is currently unavailable. |
| 405 | METHOD_NOT_ALLOWED | The endpoint was called with the wrong HTTP method. |
| 429 | RATE_LIMIT_EXCEEDED | Too many requests. See the Retry-After header. |
| 502 | PROVIDER_ERROR | The upstream data source failed. Retry with exponential backoff. |