Shopee Shop Categories API (V1)
Retrieve Shopee shop categories using a zero-based result offset. The request takes a marketplace site and a shop ID. Use it for catalog research or marketplace monitoring. The GET request schema also lists shopId.
- Selected price
- $0.030769 / callPublished pricing
- Sellers / APIs
- 1 / 1
- Requests · 30d
- —Loading...
- Success rate · 30d
- —Loading...
Shopee Shop Categories API (V1)
Prepare your request, then continue with your agent.
Selected price
$0.030769 / call
- Provider
- Pricing
On this page
Playground
Run sends a real API request. Charges follow the published API contract.
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
// Inferred from response examples. Fields are optional and other fields may be returned.
export type ApiResponse = {
code?: number;
data?: {
data?: {
data?: {
ab_test?: {
fashion_shop_improvement?: string;
};
all_products_cover?: {
image?: string;
is_adult?: boolean;
};
deco_layout?: number;
dynamic_translation_status?: number;
has_more?: boolean;
shop_categories?: Array<{
category_type?: number;
collection_type?: number;
display_name?: string;
image?: string;
is_adult?: boolean;
is_generated?: boolean;
rule?: string;
shop_category_id?: number;
total?: number;
}>;
tier?: number;
total?: number;
};
error?: number;
error_msg?: string;
};
market?: string;
site?: string;
};
message?: null;
recordTime?: string;
};Sellers
| Seller | Pricing | Requests · 30d | Performance | Access |
|---|---|---|---|---|
justoneapiCurrent Shopee Shop Categories API (V1) · GET · View API reference | $0.030769 / call | — | —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: 3. 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
Correct the request fields in Playground to generate a code example.
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.
Sample response
Sample response · Documented HTTP 200 Example from the provider's documentation. Field values in your results will differ.
{
"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"
}Agent integration
Copy the resource contract without sharing an API key.
View API Markdown
# Shopee Shop Categories API (V1)
Retrieve Shopee shop categories using a zero-based result offset. The request takes a marketplace site and a shop ID. Use it for catalog research or marketplace monitoring. The GET request schema also lists shopId.
## Available implementations
justoneapi · Shopee Shop Categories API (V1): https://openany.si/markets/apis/capabilities/shopee-shop-categories-api-v1?offering=93a2bccd-6575-434a-9d74-38a09a0ecdb3 · $0.030769 / call
## Selected API contract
Documentation: https://openany.si/apis/93a2bccd-6575-434a-9d74-38a09a0ecdb3
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/justoneapi/api/shopee/get-shop-categories/v1
Price: $0.030769 / call
Provider: justoneapi
Contract revision: 3
Price source: OpenAny public API contract and documented provider unit rates. Price update time: not supplied.
Use OPENANY_API_KEY from the environment. API Key calls use your shared balance.
The request template contains errors. Correct it in Playground to generate a command.
## API contract
```json
{
"resource_type": "api",
"name": "Shopee Shop Categories API (V1)",
"endpoint": "https://api.openany.si/v1/agent-apis/justoneapi/api/shopee/get-shop-categories/v1",
"method": "GET",
"content_type": "none",
"execution_mode": "sync",
"authentication": {
"type": "bearer",
"environment_variable": "OPENANY_API_KEY"
},
"inputs": [
{
"description": "Shopee marketplace site.\n\nAvailable Values:\n- `TW`: Taiwan\n- `ID`: Indonesia\n- `TH`: Thailand",
"enum_values": [
"TW",
"ID",
"TH"
],
"location": "query",
"name": "site",
"nullable": false,
"required": true,
"type": "string"
},
{
"description": "Shopee shop ID.",
"location": "query",
"name": "shopId",
"nullable": false,
"required": true,
"type": "integer"
},
{
"description": "Zero-based result offset.",
"location": "query",
"name": "offset",
"nullable": false,
"required": false,
"type": "string"
}
],
"billing": {
"currency": "USD",
"mode": "fixed",
"priceMicroUsd": "30769",
"rounding": null,
"unit": "call",
"unitQuantity": null
},
"examples": [
{
"http_status": 200,
"name": "Official example · Historical response; independent request temp",
"request": {
"body": null,
"headers": {},
"path": {},
"query": {
"shopId": "<REPLACE_SHOPID>",
"site": "TW"
}
},
"response_body": {
"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"
}
}
]
}
```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" }