# Shopee Product specs API (shopee.product_specs)

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

## Health

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

## Parameters

| name | type | required | default | description |
|---|---|---|---|---|
| url | not declared | yes | not declared | The full Shopee product URL for `profile`, `product_detail`, `product_specs` and `reviews`. `profile` extracts identifiers using the `i.shop_id.product_id` pattern; for `product_specs` and `reviews`, the path must contain `i.<shop_id>.<item_id>` or `/product/<shop_id>/<item_id>`, or the request is rejected before you are charged. Shortened links must be resolved to their landing page URL first and are not guaranteed to parse directly. |
| country | not declared | no | not declared | Sets the region code and takes precedence over `region` and URL inference. For `search`, `profile`, `shop` and `shop_info`, defaults to `id` (Indonesia) when unspecified; `shop_info` reads it from the domain when you pass a shop link. 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. `shop_info`, `product_specs` and `reviews` accept only `tw`, `vn`, `sg`, `my`, `ph`, `th`, `id`, `br` and `mx`, and `shop_info` and `reviews` reject any other value before you are charged. `product_detail`, `product_specs` and `reviews` usually read the region from the product URL, and a product is only found in its own market. `categories`, `trending_searches` and `search_suggest` cover Singapore only and accept only `sg`; other values are rejected before you are charged. |

## Response fields (items in `results`)

| field | meaning |
|---|---|
| item_id | Item ID. |
| shop_id | Shop ID. |
| shop_name | Shop name. |
| url | Link to the record on the platform. |
| country | Country or region: a full name or an ISO code depending on the platform, not normalized. |
| name | Name of the object itself, for account, product and business capabilities. |
| description | Summary or description, usually shorter than text. |
| brand | Brand. |
| currency | Currency code of the price (for example CNY, USD). If price is present but currency is null, do not assume a currency. |
| image_url | Image link. Capabilities with several images may return an image_urls array. |
| image_urls | Array of image links in the platform's display order; absent when there are no images. |
| category_ids | IDs of the product's categories, from top level to leaf. |
| categories | Names of the product's categories, from top level to leaf. |
| display_category_ids | IDs of the categories the storefront displays the product under, from top level to leaf. |
| display_categories | Names of the categories the storefront displays the product under, from top level to leaf. |
| discount_pct | Discount percentage. |
| in_stock | Whether the product is in stock: `true` if at least one variant is in stock, `false` if every variant is out of stock. |
| variations | List of variation dimensions. Each has `name` (such as Color) and `options` (the available values). |
| variation_count | Number of variant combinations. |
| skus | Each variant combination: `sku_id`, `name`, `options` (the value for each dimension), `in_stock` (whether this variant is in stock) and `on_promotion` (whether this variant is at a promotional price now). Price and stock counts are not included. |
| attributes | List of product attributes. Each has `name` and `value`. |
| shop_location | Shop location. Delivery times differ a lot between cross-border and local shops. |
| is_official_shop | Whether the shop is an official shop. |
| free_shipping | Whether shipping is free. |
| is_pre_order | Whether the item is a pre-order. |
| is_new | Whether the product is new. |
| min_purchase | Minimum number of units per purchase. |
| estimated_days | Days needed to prepare the order. |
| status | Product status; `normal` means on sale. |
| created_at | Creation time, same format as posted_at. |
| video | The product video: `url`, `cover_url`, `duration_seconds`. Present only when the product has a video. |
| shop_vouchers | The shop's current vouchers: `code`, `discount_amount` (amount off, in the market's currency), `discount_pct` (percentage off), `min_spend` (minimum spend), `ends_at` (end time). Present only when the shop has vouchers. |
| shop | The seller's shop (profile): shop_id, name, username, location, rating (shop rating), item_count (number of products), follower_count, response_rate (reply rate, as a percentage), is_official_shop and is_shopee_verified, each only when it has a value. In `product_specs`, its fields are the same as the `shop_info` response. |
| collected_at | When this record was collected (ISO 8601, UTC). |
| 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_specs",
  "params": {
    "url": "https://shopee.sg/product/285901479/15134762530"
  }
}'
```

```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_specs",
        "params": {
            "url": "https://shopee.sg/product/285901479/15134762530",
        },
    },
    timeout=120,
)
print(response.status_code)
print(response.json())
```

## Response example

No real sample for these example parameters yet: structure only, every value is a placeholder (…).

```text
{
  "id": "req_…",
  "platform": "shopee",
  "action": "product_specs",
  "results": {
    "item_id": …,
    "shop_id": …,
    "shop_name": …,
    "url": …,
    "country": …,
    "name": …,
    "description": …,
    "brand": …,
    "currency": …,
    "image_url": …,
    "image_urls": …,
    "category_ids": …,
    "categories": …,
    "display_category_ids": …,
    "display_categories": …,
    "discount_pct": …,
    "in_stock": …,
    "variations": …,
    "variation_count": …,
    "skus": …,
    "attributes": …,
    "shop_location": …,
    "is_official_shop": …,
    "free_shipping": …,
    "is_pre_order": …,
    "is_new": …,
    "min_purchase": …,
    "estimated_days": …,
    "status": …,
    "created_at": …,
    "video": …,
    "shop_vouchers": …,
    "shop": …,
    "collected_at": …,
    "platform": …
  },
  "billing": {
    "charged": …,
    "charged_usd": …,
    "balance_after_usd": …,
    …
  },
  "quota": { … }
}
```

## 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
