Shopee Shop Categories API
Fetch custom Shopee shop categories via REST or OpenAny MCP—with pay-per-use pricing, no subscription, and no proxies required. Powered by JustOneAPI, pass parameters such as shopId, site, and retrieve structured data including total, has more, tier, unique shop category identifier, and numeric category type indicator to audit storefront merchandising, distinguish manual vs, auto collections, and paginate large shop taxonomies.
- Selected price
- $0.030769 / callPublished pricing
- Sellers / APIs
- 1 / 1
- Requests · 30d
- 0Selected implementation · last 30 days
- Success rate · 30d
- —No requests in this period
Shopee Shop Categories API
Prepare your request, then continue with your agent.
Selected price
$0.030769 / call
- Provider
- API
- Pricing
On this page
Overview
Shopee Shop Categories API
Send a GET request with site (TW, ID, or TH), shopId, and optional offset to list a seller's storefront categories. The response under data.data.data returns shop_categories[] with category IDs, names, item totals and a has_more pagination indicator.
Quick Facts
| Fact | Value |
|---|---|
| Access | OpenAny REST |
| Authentication | OpenAny API key in the Authorization header |
| Core inputs | GET query: required site (TW, ID, TH) and shopId (integer); optional offset (zero-based string). |
| Selected implementation | justoneapi · Shopee Shop Categories API (V1) |
| Billing | See the pricing area for the selected implementation and request options |
What You Can Build
- Audit storefront merchandising: Inspect
shop_categories[].display_nameandtotalto see which product lines a competitor emphasizes. - Distinguish manual vs. auto collections: Check
is_generated,category_typeandcollection_typeto separate curated shelves from automated categories. - Paginate large shop taxonomies: Read
has_moreand advanceoffsetwhen indexing stores with many custom categories.
Returned Data
| Field | Meaning |
|---|---|
data.site |
Requested Shopee marketplace site code |
data.data.data.total |
Total number of categories reported for the shop |
data.data.data.has_more |
Boolean indicating whether additional category pages exist |
data.data.data.tier |
Category navigation tier level for the storefront |
data.data.data.shop_categories[].shop_category_id |
Unique shop category identifier |
data.data.data.shop_categories[].display_name |
Storefront display name for the category |
data.data.data.shop_categories[].total |
Number of items assigned to this category |
data.data.data.shop_categories[].category_type |
Numeric category type indicator |
data.data.data.shop_categories[].is_generated |
Flag indicating whether the category is system-generated |
data.data.data.shop_categories[].image |
Category cover image identifier |
Quick Start
- Set OPENANY_API_KEY to your OpenAny API key.
- Review the selected implementation and pricing, then adapt the request below to your target.
- Check the HTTP response and business result before reading optional fields.
curl --request GET --get \
https://api.openany.si/v1/agent-apis/justoneapi/api/shopee/get-shop-categories/v1 \
-H "Authorization: Bearer ${OPENANY_API_KEY}" \
--data-urlencode 'shopId=<REPLACE_SHOPID>' \
--data-urlencode site=TW
Request and Response Examples
The response is a historical documentation reference; the request is an independent calling template. Returned records and available content can differ.
Published Shopee Shop Categories API implementation contract.
Pricing and Billing
The pricing area reflects the selected API implementation. Review its billing unit and any request-dependent rules before calling; a source service's public availability does not determine OpenAny billing.
Frequently Asked Questions
Related APIs
Playground
Run sends a real API request. Charges follow the published API contract.
Sellers
| Seller | Pricing | Requests · 30d | Performance | Access |
|---|---|---|---|---|
justoneapiCurrent Shopee Shop Categories API (V1) · GET · View API reference | $0.030769 / call | 0 | —successP50— |
- Unit price
- $0.030769
Statistics use persisted gateway logs from the last 30 days up to now, including today.
Success rate = successful requests / all requests;
P50 = median latency of successful requests.
Prices reflect the published API contract. Contract revision: 4. Price update time: not supplied.
Total $3.0769
API
- Method
- GET
- Endpoint
https://api.openany.si/v1/agent-apis/justoneapi/api/shopee/get-shop-categories/v1- Content type
- application/json
- Authentication
Authorization: Bearer $OPENANY_API_KEY
Input parameters
Fields in this listing; additional options and input encoding can vary by provider.
| Parameter | Location | Type | Required | Description |
|---|---|---|---|---|
site | URL query parametersquery | string | Yes | Shopee marketplace site. Available Values: - `TW`: Taiwan - `ID`: Indonesia - `TH`: Thailand enum: "TW", "ID", "TH" |
shopId | URL query parametersquery | integer | Yes | Shopee shop ID. |
offset | URL query parametersquery | string | No | Zero-based result offset. |
Required markers inside a nested object or variant apply when that object or variant is used.
Response structure
codeintegerdataobjectdataobjectdataobjectab_testobjectfashion_shop_improvementstring
all_products_coverobjectimagestringis_adultboolean
deco_layoutintegerdynamic_translation_statusintegerhas_morebooleanshop_categoriesobject[]category_typeintegercollection_typeintegerdisplay_namestringimagestringis_adultbooleanis_generatedbooleanrulestringshop_category_idintegertotalinteger
tierintegertotalinteger
errorintegererror_msgstring
marketstringsitestring
messagenullrecordTimestring
Agent integration
Copy the resource contract without sharing an API key.
Error handling
| Status | Next step |
|---|---|
400 | Check the offering and request fields. |
401 / 403 | Verify your credentials and access permissions. |
402 | Inspect the selected access mode and returned payment requirements. |
429 | Respect the returned rate limit and retry guidance. |
5xx | Inspect the error and usage record before retrying a paid operation. |
Examples
Official example · Historical response; independent request temp
Example from the provider's documentation. Field values in your results will differ.
Prepare your environment
Use a terminal with cURL installed.
Use an OpenAny API key with shared-balance access. Confirm availability and price before running; a call may charge your balance.
Set the key in your terminal using the hidden prompt below. Keep its value out of source files and logs.
Terminal · macOS / Linuxprintf 'OpenAny API key: ' read -r -s OPENANY_API_KEY export OPENANY_API_KEY printf '\n'Run the request
Paste the complete command below into your terminal.
Values to replace before running 3
Review these request fields before running. Keep the published provider and request method unchanged.
site- Shopee marketplace site. Available Values: - `TW`: Taiwan - `ID`: Indonesia - `TH`: Thailand
shopId- Shopee shop ID.
offset- Zero-based result offset.
Terminal · cURLcurl \ 'https://api.openany.si/v1/agent-apis/justoneapi/api/shopee/get-shop-categories/v1?shopId=%3CREPLACE_SHOPID%3E&site=TW' \ -X GET \ -H "Authorization: Bearer $OPENANY_API_KEY" \ -H 'Content-Type: application/json'Check the response
Sample response · Documented HTTP 200
Sample response{ "code": 0, "data": { "data": { "data": { "ab_test": { "fashion_shop_improvement": "control" }, "all_products_cover": { "image": "", "is_adult": false }, "deco_layout": 1, "dynamic_translation_status": 0, "has_more": false, "shop_categories": [ { "category_type": 4, "collection_type": 4, "display_name": "🔥 熱銷新品", "image": "sg-11134201-825av-mr9nr9phnuo479", "is_adult": false, "is_generated": false, "rule": "", "shop_category_id": 137680257, "total": 1 }, { "category_type": 1, "collection_type": 1, "display_name": "✦ 拉花缸", "image": "sg-11134201-824in-mfrwl7wxv11ke6", "is_adult": false, "is_generated": false, "rule": "", "shop_category_id": 144555586, "total": 9 }, { "category_type": 1, "collection_type": 1, "display_name": "✦ 布粉 / 壓粉器", "image": "tw-11134207-7r98v-lrvgxqel9s0813", "is_adult": false, "is_generated": false, "rule": "", "shop_category_id": 144555849, "total": 21 }, { "category_type": 1, "collection_type": 1, "display_name": "✦ 布粉針 / 攪粉針", "image": "tw-11134207-7r98v-lrvgxqel9s0813", "is_adult": false, "is_generated": false, "rule": "", "shop_category_id": 256986832, "total": 4 }, { "category_type": 1, "collection_type": 1, "display_name": "✦ 電子秤 / 咖啡秤", "image": "sg-11134201-822xg-mo93unpgwa9t01", "is_adult": false, "is_generated": false, "rule": "", "shop_category_id": 256986944, "total": 5 }, { "category_type": 1, "collection_type": 1, "display_name": "✦ 冷萃壺/ 冰滴壺", "image": "tw-11134207-7r98y-lzw994hr2ak4ce", "is_adult": false, "is_generated": false, "rule": "", "shop_category_id": 253966696, "total": 2 }, { "category_type": 1, "collection_type": 1, "display_name": "✦ 義式器具", "image": "tw-11134207-7r98v-lrvgxqel9s0813", "is_adult": false, "is_generated": false, "rule": "", "shop_category_id": 144555832, "total": 45 }, { "category_type": 1, "collection_type": 1, "display_name": "✦ 咖啡杯", "image": "sg-11134201-22100-pj0w52qkexivcf", "is_adult": false, "is_generated": false, "rule": "", "shop_category_id": 144555851, "total": 10 }, { "category_type": 1, "collection_type": 1, "display_name": "✦ 吧台工具", "image": "cd35596f06ad7bd84b977d600243cdbb", "is_adult": false, "is_generated": false, "rule": "", "shop_category_id": 144555811, "total": 29 }, { "category_type": 1, "collection_type": 1, "display_name": "✦ 手沖器具", "image": "tw-11134207-7r98v-lrvgxqel9s0813", "is_adult": false, "is_generated": false, "rule": "", "shop_category_id": 144556006, "total": 23 }, { "category_type": 1, "collection_type": 1, "display_name": "✦ 磨豆機", "image": "sg-11134201-7rbmf-lmynus7zsgftbb", "is_adult": false, "is_generated": false, "rule": "", "shop_category_id": 144556014, "total": 4 } ], "tier": 1, "total": 11 }, "error": 0, "error_msg": "" }, "market": "Taiwan", "site": "TW" }, "message": null, "recordTime": "2026-08-12T14:00:11.336811108" }