# Shopee Product details API (shopee.product_detail)

- Canonical page: [https://everyinfra.com/en/shopee-api/product_detail](https://everyinfra.com/en/shopee-api/product_detail?utm_medium=ai_doc&utm_campaign=page_md)
- Endpoint: POST https://api.everyinfra.com/api/v1/social with {"platform": "shopee", "action": "product_detail", "params": {...}}
- Price: $0.001389 per call ($1.39 per 1,000 requests); failed calls and empty results are not charged
- Returns: single object
- Mode: sync; add "mode": "async" for slow tasks

Shopee Product details reads one Shopee listing from its product link and returns the full record: name, the complete description, price and original price with the currency, the discount text, stock, units sold, rating and review count, variants, the main image, and the shop's name and location. Sellers and brands that compete on Shopee use it to study a rival listing in depth, check a price before a campaign or keep a product catalog in sync.

Each Shopee country is its own marketplace with its own currency, so read `price` and `original_price` together with `currency` and never compare raw numbers across markets. The marketplace is detected from the link, so `country` is normally left out; set it only to override that detection. `stock` and `sold_count` show how much is left and how much has sold. When `review_count` is null, Shopee is not disclosing the number; it does not mean the product has no reviews.

## Health

- Live health (24h percent, hourly and daily trends): https://api.everyinfra.com/api/v1/social/availability?platform=shopee&action=product_detail

## Parameters

| name | type | required | default | description |
|---|---|---|---|---|
| url | not declared | yes | not declared | Specifies the full Shopee product URL for `profile` and `product_detail`. `profile` extracts identifiers using the `i.shop_id.product_id` pattern. Shortened links must be resolved to their landing page URL first and are not guaranteed to parse directly. |
| country | enum: br / id / mx / my / ph / sg / th / vn | no | not declared | Sets the region code and takes precedence over `region` and URL inference. For `search`, `profile`, and `shop`, defaults to `id` (Indonesia) when unspecified. Configured domain detection includes `sg`, `my`, `th`, `ph`, `vn`, `br`, `tw`, `mx`, `co`, and `cl`, though a recognized domain does not guarantee data for every region. `product_detail` usually reads the region from the product URL. |

## Response fields (items in `results`)

| field | meaning |
|---|---|
| id | The record's unique ID on the platform. Unique only within one platform; IDs can repeat across platforms. |
| url | Link to the record on the platform. |
| name | Name of the object itself, for account, product and business capabilities. |
| text | Body text with HTML removed, returned in full and never cut short (on a few platforms the list results themselves carry only an excerpt; the platform's field notes say so). |
| price | Price as a number without a currency symbol; see currency. For product detail (product_detail), a call that returns no price is not charged; the other fields still come back. |
| original_price | platform-native meaning |
| currency | Currency code of the price (for example CNY, USD). If price is present but currency is null, do not assume a currency. |
| discount | platform-native meaning |
| stock | platform-native meaning |
| sold_count | platform-native meaning |
| rating | Rating. **The scale varies by platform**: rating_scale on the same row gives the maximum (usually 5; Booking, Douban, iQIYI and NAVER use 10). Convert with rating_scale before comparing across platforms, or the comparison can come out backwards. |
| rating_scale | Maximum of rating in the same row: 5 for five-star scales, 10 for ten-point scales. Present only when the row has a rating. |
| review_count | Number of reviews, for product and business capabilities. null means not disclosed, not 0. |
| shop_name | platform-native meaning |
| shop_location | platform-native meaning |
| variants | platform-native meaning |
| image_url | Image link. Capabilities with several images may return an image_urls array. |
| platform | Source platform identifier, the same as platform in the request (for example xiaohongshu, tiktok). |

## Example

```bash
curl -X POST 'https://api.everyinfra.com/api/v1/social' \
  -H "Authorization: Bearer $EVERYINFRA_API_KEY" \
  -H 'Content-Type: application/json' \
  --data-raw '{
  "platform": "shopee",
  "action": "product_detail",
  "params": {
    "url": "https://shopee.co.id/Puppy-Casing-Hp-Untuk-IPhone-11-12-13-14-15-16-Pro-Max-XR-X-XS-Max-Case-Kucing-Petelur-Luxury-Leather-Colorful-Painted-Protective-Phone-Cover-i.1003966504.53252749487"
  }
}'
```

```python
import os
import requests

response = requests.post(
    "https://api.everyinfra.com/api/v1/social",
    headers={"Authorization": f"Bearer {os.environ['EVERYINFRA_API_KEY']}"},
    json={
        "platform": "shopee",
        "action": "product_detail",
        "params": {
            "url": "https://shopee.co.id/Puppy-Casing-Hp-Untuk-IPhone-11-12-13-14-15-16-Pro-Max-XR-X-XS-Max-Case-Kucing-Petelur-Luxury-Leather-Colorful-Painted-Protective-Phone-Cover-i.1003966504.53252749487",
        },
    },
    timeout=120,
)
print(response.status_code)
print(response.json())
```

## Response example

Real response to the example request above, captured 2026-11-07T14:47:42Z. `results` and `count` are real with personal information (names, handles, avatars, profile links, contact details) removed. `id`, `billing` and `quota` differ on every call, so only their shape is shown.

```text
{
  "id": "req_…",
  "platform": "shopee",
  "action": "product_detail",
  "results": {
    "id": "•••",
    "url": "https://shopee.co.id/Puppy-Casing-Hp-Untuk-IPhone-11-12-13-14-15-16-Pro-Max-XR-X-XS-Max-Case-Kucing-Petelur-Luxury-Leather-Colorful-Painted-Protective-Phone-Cover-i.1003966504.53252749487",
    "name": "Puppy Casing Hp Untuk IPhone ••• Pro Max XR X XS Max Case Kucing Petelur Luxury Leather Colorful Painted Protective Phone Cover",
    "text": "1.Perfect fit for your phone model\n\n2.Material------high quality silicone,No peculiar smell,make your phone Classic Elegant.\n\n3.Green environmental protection,fashion cartoon design\n\n4.According to the real mobile phone opening shape,perfect access design for speaker,buttons,came…",
    "price": 14999,
    "original_price": 100000,
    "currency": "IDR",
    "discount": 85,
    "rating": 4.6,
    "shop_name": "akcaseno.1",
    "shop_location": "KAB. TANGERANG",
    "variants": [
      {
        "modelId": "•••",
        "name": "Black#3,For iPhone 16 Pro",
        "tierIndex": [
          2,
          18
        ],
        "imageUrl": "https://down-id.img.susercontent.com/file/sg-11134201-81zws-mmjqi7n2jrid12"
      },
      {
        "modelId": "•••",
        "name": "Black,For iPhone 11",
        "tierIndex": [
          0,
          3
        ],
        "imageUrl": "https://down-id.img.susercontent.com/file/sg-11134201-822zx-mhzwvtds3ifc90"
      },
      {
        "modelId": "•••",
        "name": "Pink,For iPhone X & XS",
        "tierIndex": [
          3,
          0
        ],
        "imageUrl": "https://down-id.img.susercontent.com/file/sg-11134201-822z1-mhzwvvc6xjpded"
      }
    ],
    "image_url": "https://down-id.img.susercontent.com/file/sg-11134201-822yq-mhzwvmkjwgsge2",
    "platform": "shopee",
    "rating_scale": 5
  },
  "billing": {
    "charged": …,
    "charged_usd": …,
    "balance_after_usd": …,
    …
  },
  "quota": { … }
}
```

## FAQ

### Which link formats does `url` accept?

A full product link whose path carries both the shop ID and the item ID: either the standard form ending in i.<shop ID>.<item ID>, such as a shopee.co.id link ending in i.1003966504.53252749487, or a /product/<shop ID>/<item ID> path. A shop's home page is not a product link and does not work here.

### How should I read the price fields?

`price` is the current selling price as a plain number, `original_price` the price before the discount, and `discount` the discount text Shopee shows. Both prices are in the marketplace's currency, named in `currency`; when `currency` is null, do not assume one. If the product comes in several options, check `variants` before you quote a single price.

### Why does `shop_location` matter?

It shows where the shop is based. Delivery times differ a lot between cross-border shops and local ones, so two listings at the same price can mean very different waits for the buyer. Group competing listings by location before you compare their prices or `sold_count`, and treat cross-border and local sellers as separate groups.

## Also

- Capability catalog (no key): https://api.everyinfra.com/api/v1/social/catalog?platform=shopee
- OpenAPI: https://everyinfra.com/openapi.json · Agents guide: https://everyinfra.com/agents.md
