Shopee Details API
API health
- 24h health
- Normal
- 24h average time
- —
- Healthy / normal
- Available
- Limited
- Mostly down
Last 24 hours
Last 30 days
Open a Shopee product page by its full url for the description, price range across variants, stock, units sold, likes, brand and pre-order status. Despite the name, this describes the item, not the buyer or seller; resolve shortened links to the landing page first.
Price $1.39 per 1,000 requests ($0.001389 per call). Failed calls and empty results are not charged. Synchronous. For slow jobs add "mode": "async" to the body, take the job_id and poll.
AI prompt
Paste this into your AI assistant. It already holds this endpoint's parameters, response fields and an example request, so the assistant can ask what you need and then write the scraper.
Please help me write a data collection script with the EveryInfra Shopee Details endpoint (shopee/profile).
Endpoint contract:
- Request: POST https://api.everyinfra.com/api/v1/social with the header Authorization: Bearer <API key>. Read the key from the EVERYINFRA_API_KEY environment variable and never hard-code it.
- In the request body, set platform to shopee and action to profile, and put the parameters inside params.
- Required parameters:
- url: Specifies the full Shopee product URL for profile and product_detail. profile extracts identifiers using the i.shop_id.product_id pattern.
- Optional parameters:
- country: Sets the region code and takes precedence over region and URL inference. For search, profile, and shop, defaults to id (Indonesia) when unspecified. (allowed: br / cl / co / id / mx / my / ph / sg)
- Returns one object. Main fields: shop_id, item_id, name, url, description, price, price_min, price_max, original_price, discount_pct, currency, rating; 23 fields in total, full list at https://api.everyinfra.com/api/v1/social/catalog?platform=shopee.
- Example request body:
{
"platform": "shopee",
"action": "profile",
"params": {
"url": "https://shopee.co.id/Case-Casing-for-iPhone-XS-X-6-6s-13-XR-SE2-8-7Plus-15-PlusProMax-12-Max-SE3-Plus-14-XS-11-soft-case-hp-lucu-unik-KQ04060401-i.1761879954.56511647417"
}
}
- Price: $1.39 per 1,000 requests; failed and empty results are not charged.
- For dozens or hundreds of targets, add "mode": "async" to the body: you get a job_id at once and poll GET https://api.everyinfra.com/api/v1/jobs/{job_id} for the result.
- On 422, fix the request using the suggested parameter names and allowed values in the error; on 429 or 503, wait for Retry-After and try again.
Before writing code, ask me which targets I need, how many, which fields, and what output format I want; then confirm the plan and the rough cost with me.Request parameters
| Name | In | Type | Required | Default | Description |
|---|---|---|---|---|---|
Authorization | header | string | Yes | - | Bearer followed by your API key. Create it in the console; never put it in a URL or a code repository. |
platform | body | string | Yes | shopee | Platform identifier, fixed value. |
action | body | string | Yes | profile | Capability identifier, fixed value. |
url | body.params | Not declared | Yes | - | 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 | body.params | enum | No | - | 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.Allowed valuesbrclcoidmxmyphsgthtwvn |
Code samples
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": "profile",
"params": {
"url": "https://shopee.co.id/Case-Casing-for-iPhone-XS-X-6-6s-13-XR-SE2-8-7Plus-15-PlusProMax-12-Max-SE3-Plus-14-XS-11-soft-case-hp-lucu-unik-KQ04060401-i.1761879954.56511647417"
}
}'[OpenAPI definition (JSON)]Samples read the key from the EVERYINFRA_API_KEY environment variable; copied code never contains your key.
Response example
Captured September 26, 2026 at 08:56 (UTC) by calling this API with the parameters in the code sample above. results and count are that call's real response 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.
{
"id": "req_…",
"platform": "shopee",
"action": "profile",
"results": {
"shop_id": 1761879954,
"item_id": 56511647417,
"name": "Case Casing for iPhone XS X 6 6s 13 XR SE2 8 7Plus 15 PlusProMax 12 Max SE3 Plus 14 XS 11 soft case hp lucu unik KQ04060401",
"description": "Selamat datang!\nPesanan yang dilakukan sebelum pukul 12 siang akan dikirim pada hari yang sama dan pesanan yang dilakukan setelah pukul 12 siang akan dikirim keesokan harinya dalam kondisi normal (kecuali dalam kondisi khusus), kecuali hari libur dan acara khusus.\n\n\nPengiriman Lo…",
"price": 17000,
"price_min": 17000,
"price_max": 17000,
"discount_pct": 73,
"currency": "IDR",
"rating": 4.9,
"rating_count": [],
"sold_count": 5000,
"is_pre_order": false,
"has_video": true,
"platform": "shopee",
"images": [
"https://down-id.img.susercontent.com/file/sg-11134201-823qk-mp1vma3mmole2f",
"https://down-id.img.susercontent.com/file/sg-11134201-823pe-mp1vmbgs9t7149",
"https://down-id.img.susercontent.com/file/sg-11134201-823q5-mp1vmcnrxrf175"
],
"shop": {
"shop_id": 1761879954,
"name": "case lucu id",
"username": "(已隐去)",
"location": "KAB. TANGERANG",
"rating": 4.872473,
"item_count": 2815,
"follower_count": 1764,
"response_rate": 97,
"is_official_shop": false,
"is_shopee_verified": false
},
"rating_scale": 5
},
"billing": {
"charged": …,
"charged_usd": …,
"balance_after_usd": …,
…
},
"quota": { … }
}Response fields
Business data is in results. The table lists the fields a record can contain; values the platform does not show are never made up.
| Field | Meaning |
|---|---|
shop_id | Keeps the platform's own meaning |
item_id | Keeps the platform's own meaning |
name | Name of the object itself, for account, product and business capabilities. |
url | Link to the record on the platform. |
description | Summary or description, usually shorter than text. |
price | Price as a number without a currency symbol; see currency. |
price_min | Keeps the platform's own meaning |
price_max | Keeps the platform's own meaning |
original_price | Keeps the platform's own meaning |
discount_pct | Keeps the platform's own meaning |
currency | Currency code of the price (for example CNY, USD). If price is present but currency is null, do not assume a currency. |
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. |
rating_count | Number of people who rated. null means not disclosed, not 0. |
sold_count | Keeps the platform's own meaning |
stock | Keeps the platform's own meaning |
liked_count | Keeps the platform's own meaning |
view_count | Views or plays. null means not disclosed, not 0. |
brand | Keeps the platform's own meaning |
is_pre_order | Keeps the platform's own meaning |
has_video | Keeps the platform's own meaning |
platform | Source platform identifier, the same as platform in the request (for example xiaohongshu, tiktok). |
images | Array of image links in the platform's display order; absent when there are no images. |
shop | Keeps the platform's own meaning |
Errors and billing
- 401
- Missing or invalid key. Authentication runs before parameter checks, so unauthenticated requests never see the parameter schema.
- 422
- Wrong parameter name or value. The error lists the parameters and allowed values this capability accepts and the closest match; it happens before any charge.
- 402
- Insufficient balance. Top up first.
- 429
- The account's per-minute request limit was reached (all of its API keys count together; a key's own lower limit applies first). Wait for Retry-After and try again; a rate package in the console raises the limit.
- 503
- Could not complete right now. Any charge for the call goes back to your balance automatically, and the billing receipt in the response states the actual outcome, including when it is not yet known. Do not resend blindly.
- 200 empty
- The request completed without data and is not charged (billing.reason = empty_result_refunded).
Official references
Used only to check objects and terms. They do not imply authorization or endorsement of EveryInfra by the platform.
- Shopee: Locating Shop and Item IDs ↗
Shopee seller educational materials distinguish between Shop ID, Item ID, username, and shop display name, cautioning users against interchanging these identifiers. This reference cites these terms without guaranteeing identical back-office operating steps in other regions.
Checked 2026-09-04