# Shopee API

Search Shopee products, organize items by shop, and view individual specifications, inventory, and store details.

Specify the marketplace country code, which defaults to Indonesia if left unstated.

- Request: POST https://api.everyinfra.com/api/v1/social with `{"platform": "shopee", "action": "<action>", "params": {...}}`
- Canonical page: [https://everyinfra.com/en/shopee-api](https://everyinfra.com/en/shopee-api?utm_medium=ai_doc&utm_campaign=page_md)
- Each capability uses the price recorded in the public catalog. The response includes the amount charged. Authentication failures, invalid parameters, failed calls, and empty results are not charged.

## Actions

### search — Search
Search a Shopee marketplace for products by keyword, with price, original price and discount, rating, units sold, seller location and a Shopee Mall flag. `country` defaults to Indonesia, and price filters use that market's own currency.
- Sync delivery · Price: $6.4 per 1,000 requests (every 20 rows count as one call)
- Catalog values: defaultLimit=20, maxLimit=100. For some actions a limit controls pages or per-parent expansion, so it is not always the final row count.
- Parameters:
  - `keyword` (required): The search term. For `search`, it is the product keyword, and `country` selects the marketplace. For `search_suggest`, it is the term to get suggestions for, up to 120 characters, on the Singapore site only.
  - `country` (optional): 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. One of: br, cl, co, id, mx, my, ph, sg, th, tw, vn.
  - `max_price` (optional): Sets the maximum item price using the target marketplace's price scale. Use it with min_price to define a range. Filtering uses whole numbers: decimals round up (145.98 becomes 146).
  - `min_price` (optional): Sets the minimum item price for `search` based on the target market's currency scale. Do not assume values represent the same currency across regions. This parameter does not represent API billing amounts. Filtering uses whole numbers: decimals round down (39.81 becomes 39).
  - `sort` (optional): Sorts product search results for `search`. Allowed values are `relevance`, `popular` (sales-based), `newest`, `price_asc`, and `price_desc`. This parameter is not used for `shop` listings or product details. One of: newest, popular, price_asc, price_desc, relevance.
- Returns fields: shop_id, item_id, name, url, image_url, price, original_price, discount_pct, currency, rating, rating_scale, rating_count, sold_count, location, is_mall, platform
- Capability page: [https://everyinfra.com/en/shopee-api/search](https://everyinfra.com/en/shopee-api/search?utm_medium=ai_doc&utm_campaign=page_md) (Markdown: https://everyinfra.com/en/shopee-api/search.md)

### profile — Product details
Open a Shopee product page by its full `url`. Get 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.
- Sync delivery · Price: $5.6 per 1,000 requests
- Parameters:
  - `url` (required): 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` (optional): 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. One of: br, cl, co, id, mx, my, ph, sg, th, tw, vn.
- Returns fields: shop_id, item_id, name, url, description, price, price_min, price_max, original_price, discount_pct, currency, rating, rating_scale, rating_count, sold_count, stock, liked_count, brand, is_pre_order, has_video, images, shop, platform, view_count
- Capability page: [https://everyinfra.com/en/shopee-api/profile](https://everyinfra.com/en/shopee-api/profile?utm_medium=ai_doc&utm_campaign=page_md) (Markdown: https://everyinfra.com/en/shopee-api/profile.md)

### shop — Shop
Browse the products a Shopee shop sells, by its username or numeric ID, with price, discount, rating, units sold and Mall status for each listing. Shop reviews, finances and private orders are not included, and the full catalog is not guaranteed.
- Sync delivery · Price: $1.39 per 1,000 requests (every 20 rows count as one call)
- Catalog values: defaultLimit=20, maxLimit=100. For some actions a limit controls pages or per-parent expansion, so it is not always the final row count.
- Parameters:
  - `shop` (required): The shop to look up, for `shop` and `shop_info`: a numeric shop ID or a shop username (with or without `@`). `shop_info` also accepts a shop link, `shopee.<domain>/<username>` or `shopee.<domain>/shop/<shop_id>`, but not the shop's display name. `shop` returns the shop's product listing rather than shop reviews; `shop_info` returns the shop's own profile.
  - `country` (optional): 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. One of: br, cl, co, id, mx, my, ph, sg, th, tw, vn.
- Returns fields: shop_id, item_id, name, url, image_url, price, original_price, discount_pct, currency, rating, rating_scale, rating_count, sold_count, location, is_mall, platform
- Capability page: [https://everyinfra.com/en/shopee-api/shop](https://everyinfra.com/en/shopee-api/shop?utm_medium=ai_doc&utm_campaign=page_md) (Markdown: https://everyinfra.com/en/shopee-api/shop.md)

### product_detail — Product details
Read a full Shopee listing from its product link. Get description, variants, discount text, stock, units sold, reviews and the name and location of the shop. Each market has its own currency, so read `price` with `currency`. Displayed stock does not confirm units available.
- Sync delivery · Price: $1.39 per 1,000 requests
- Parameters:
  - `url` (required): 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` (optional): 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. One of: br, id, mx, my, ph, sg, th, vn.
- Returns fields: id, url, name, text, price, original_price, currency, discount, stock, sold_count, rating, rating_scale, review_count, shop_name, shop_location, variants, image_url, platform
- Capability 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) (Markdown: https://everyinfra.com/en/shopee-api/product_detail.md)

### shop_info — Shop details
Get a Shopee shop's own profile by shop ID, username or shop link: follower and product counts, rating with good, neutral and bad totals, chat response rate and time, cancellation rate, creation and last-active dates, official-shop flag and one featured product. Use `shop` for the shop's product list.
- Sync delivery · Price: $0.56 per 1,000 requests
- Parameters:
  - `shop` (required): The shop to look up, for `shop` and `shop_info`: a numeric shop ID or a shop username (with or without `@`). `shop_info` also accepts a shop link, `shopee.<domain>/<username>` or `shopee.<domain>/shop/<shop_id>`, but not the shop's display name. `shop` returns the shop's product listing rather than shop reviews; `shop_info` returns the shop's own profile.
  - `country` (optional): 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.
- Returns fields: shop_id, shop_name, username, url, country, follower_count, item_count, rating, rating_scale, good_rating_count, neutral_rating_count, bad_rating_count, response_rate, response_time_seconds, cancellation_rate, created_at, last_active_at, is_official_shop, description, cover_image_url, featured_product, collected_at, platform
- Capability page: [https://everyinfra.com/en/shopee-api/shop_info](https://everyinfra.com/en/shopee-api/shop_info?utm_medium=ai_doc&utm_campaign=page_md) (Markdown: https://everyinfra.com/en/shopee-api/shop_info.md)

### product_specs — Product specs
Read a Shopee product's catalog details from its full `url`: name, images, description, brand, categories, variations and per-variant stock and promotion flags, attributes, shipping terms, video and shop vouchers. For price, units sold, rating and review count, use `product_detail`.
- Sync delivery · Price: $0.56 per 1,000 requests
- Parameters:
  - `url` (required): 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` (optional): 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.
- Returns fields: 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
- Capability 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) (Markdown: https://everyinfra.com/en/shopee-api/product_specs.md)

### categories — Category tree
List Shopee Singapore's full category tree in one response: about 260 rows across three levels, each with `id`, `name`, `parent_id`, `level` and `image_url` when there is one. No pagination.
- Sync delivery · Price: $0.56 per 1,000 requests
- Parameters:
  - `country` (optional): 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.
  - `limit` (optional): Positive integer (≥1): the maximum number of results to return; omit it to get every result from this call. Setting it only trims the response to at most this many and never fetches more; billing is the same with or without `limit`, whatever the value.
- Returns fields: id, name, parent_id, level, image_url, collected_at, platform
- Capability page: [https://everyinfra.com/en/shopee-api/categories](https://everyinfra.com/en/shopee-api/categories?utm_medium=ai_doc&utm_campaign=page_md) (Markdown: https://everyinfra.com/en/shopee-api/categories.md)

### trending_searches — Trending searches
List the trending search terms on Shopee Singapore, about 30 in one response, in the platform's order with `rank` and `image_url` when there is one. The list changes over time and search volume is not provided. No pagination.
- Sync delivery · Price: $0.56 per 1,000 requests
- Parameters:
  - `country` (optional): 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.
  - `limit` (optional): Positive integer (≥1): the maximum number of results to return; omit it to get every result from this call. Setting it only trims the response to at most this many and never fetches more; billing is the same with or without `limit`, whatever the value.
- Returns fields: keyword, rank, image_url, collected_at, platform
- Capability page: [https://everyinfra.com/en/shopee-api/trending_searches](https://everyinfra.com/en/shopee-api/trending_searches?utm_medium=ai_doc&utm_campaign=page_md) (Markdown: https://everyinfra.com/en/shopee-api/trending_searches.md)

### search_suggest — Search suggestions
Get Shopee Singapore search suggestions for a `keyword`, about 10 in one response, in the platform's order with `keyword` and `rank`. Search volume is not provided. No pagination.
- Sync delivery · Price: $0.56 per 1,000 requests
- Parameters:
  - `keyword` (required): The search term. For `search`, it is the product keyword, and `country` selects the marketplace. For `search_suggest`, it is the term to get suggestions for, up to 120 characters, on the Singapore site only.
  - `country` (optional): 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.
  - `limit` (optional): Positive integer (≥1): the maximum number of results to return; omit it to get every result from this call. Setting it only trims the response to at most this many and never fetches more; billing is the same with or without `limit`, whatever the value.
- Returns fields: keyword, rank, image_url, collected_at, platform
- Capability page: [https://everyinfra.com/en/shopee-api/search_suggest](https://everyinfra.com/en/shopee-api/search_suggest?utm_medium=ai_doc&utm_campaign=page_md) (Markdown: https://everyinfra.com/en/shopee-api/search_suggest.md)

### reviews — Reviews
Get the buyer reviews of a Shopee product from its full `url`, usually around 20 per page: star rating, text, photos and videos, the variant bought, helpful count, seller reply and ratings for product quality, seller service and delivery. Filter with `rating` or `with_media` and page with `page_token`. Review totals and per-star counts are not returned. Most calls take a few seconds to about fifteen; some pages take up to about 80 seconds, so set your client timeout to 90 seconds. In the `id` store a call can take 30 to 90 seconds, so set it to 100 seconds or more.
- Sync delivery · Price: $13.07 per 1,000 requests
- Each call returns one page of up to 20 rows. The number of rows varies from page to page, so a short page is not the end. For the next page, pass the response's top-level next_page_token as page_token; stop when there is none. limit is accepted and has no effect.
- Parameters:
  - `url` (required): 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` (optional): 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.
  - `page_token` (optional): Only for `reviews`: to get the next page, pass the `next_page_token` from the previous response unchanged, with the other parameters the same. The first page needs no `page_token`. In the id store, a product has at most 5 pages (about 100 of the newest reviews), and page 5 has no `next_page_token`. If a page could not be read, the call returns 503 and is not charged; retry with the same parameters, including the same `page_token`.
  - `rating` (optional): Only for `reviews`: return only reviews with this star rating, from 1 to 5. Omit it to get every star level, from 5 stars down to 1. In the id store, omitting it gives the newest reviews first. Do not send it together with `with_media`.
  - `with_media` (optional): Only for `reviews`: pass `true` to return only reviews that have photos or videos. A page can then hold fewer than 20 reviews. Do not send it together with `rating`.
- Returns fields: review_id, item_id, rating, rating_scale, text, posted_at, image_urls, video_urls, sku_id, variant, author_name, author_avatar_url, is_anonymous, is_verified_purchase, helpful_count, seller_reply, seller_reply_at, product_quality_rating, seller_service_rating, delivery_rating, buyer_tags, country, collected_at, platform
- Capability page: [https://everyinfra.com/en/shopee-api/reviews](https://everyinfra.com/en/shopee-api/reviews?utm_medium=ai_doc&utm_campaign=page_md) (Markdown: https://everyinfra.com/en/shopee-api/reviews.md)

## Shopee API questions

### What can I retrieve with the Shopee API?

Set `platform` to `shopee`. The current catalog lists search, product details, shop, product details, shop details, and more. These action names identify different Shopee objects or views; they are not interchangeable search modes.

### Which input starts the Shopee `search` request?

The search term. For `search`, it is the product keyword, and `country` selects the marketplace. For `search_suggest`, it is the term to get suggestions for, up to 120 characters, on the Singapore site only. Send it as `keyword` inside `params`.

### Which fields can Shopee `search` return?

Its declared schema includes `shop_id`, `item_id`, `name`, and `image_url`. A declared field can still be absent from an individual record, and every other action has its own field list.

### Does every Shopee action return immediately?

Actions labeled asynchronous return a job ID you poll. Every other action can also run asynchronously: add `"mode": "async"` to the request body to receive a job ID immediately, useful for slow tasks or large limits. The current catalog contains sync delivery.

## Also

- Machine catalog (no key): https://everyinfra.com/openapi.json · GET /api/v1/social/catalog?platform=shopee
- API guide for AI clients: https://everyinfra.com/llms.txt · agents guide: https://everyinfra.com/agents.md
