# Shopee Shop Categories API (V1)

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.

Documentation: https://openany.si/shopee/shopee-shop-categories-api-v1/93a2bccd-6575-434a-9d74-38a09a0ecdb3/
API ID: 93a2bccd-6575-434a-9d74-38a09a0ecdb3
Provider: justoneapi
Contract revision: 4
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/justoneapi/api/shopee/get-shop-categories/v1
Page update time: 2026-12-03T02:43:34.506Z
Access: OpenAny REST
OpenAny MCP: availability is not supplied by this REST contract. Check get_api on the configured OpenAny MCP server before execution.
Request content type: none
Execution mode: sync
Authentication: Authorization: Bearer $OPENANY_API_KEY

## Billing
Price: $0.030769 / call
API-key calls use your shared balance. Review the published billing rules before making a paid request.
Price source: OpenAny public API contract.
Contract update time: 2026-12-03T02:43:34.171Z. This is not a price-change timestamp.
```json
{
  "currency": "USD",
  "mode": "fixed",
  "priceMicroUsd": "30769",
  "rounding": null,
  "unit": "call",
  "unitQuantity": null
}
```

## Usage and limits
## 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.

## What You Can Build

- **Audit storefront merchandising**: Inspect `shop_categories[].display_name` and `total` to see which product lines a competitor emphasizes.
- **Distinguish manual vs. auto collections**: Check `is_generated`, `category_type` and `collection_type` to separate curated shelves from automated categories.
- **Paginate large shop taxonomies**: Read `has_more` and advance `offset` when 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 |

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Shopee Shop Categories API (V1) request inputs",
  "$comment": "Declared input types grouped by HTTP location. Path, query and header values describe decoded inputs and are serialized as text on the wire; body is the payload. This is not an exhaustive provider contract or a schema for the raw HTTP request.",
  "type": "object",
  "properties": {
    "path": {
      "type": "object",
      "properties": {}
    },
    "query": {
      "type": "object",
      "properties": {
        "site": {
          "type": "string",
          "description": "Shopee marketplace site.\n\nAvailable Values:\n- `TW`: Taiwan\n- `ID`: Indonesia\n- `TH`: Thailand",
          "enum": [
            "TW",
            "ID",
            "TH"
          ]
        },
        "shopId": {
          "type": "integer",
          "description": "Shopee shop ID."
        },
        "offset": {
          "type": "string",
          "description": "Zero-based result offset."
        }
      },
      "required": [
        "site",
        "shopId"
      ]
    },
    "headers": {
      "type": "object",
      "properties": {}
    }
  },
  "required": [
    "path",
    "query",
    "headers"
  ]
}
```

## Response fields
Source: Inferred from examples; not an exhaustive provider schema.
```json
{
  "type": "object",
  "properties": {
    "code": {
      "type": "integer"
    },
    "data": {
      "type": "object",
      "properties": {
        "data": {
          "type": "object",
          "properties": {
            "data": {
              "type": "object",
              "properties": {
                "ab_test": {
                  "type": "object",
                  "properties": {
                    "fashion_shop_improvement": {
                      "type": "string"
                    }
                  }
                },
                "all_products_cover": {
                  "type": "object",
                  "properties": {
                    "image": {
                      "type": "string"
                    },
                    "is_adult": {
                      "type": "boolean"
                    }
                  }
                },
                "deco_layout": {
                  "type": "integer"
                },
                "dynamic_translation_status": {
                  "type": "integer"
                },
                "has_more": {
                  "type": "boolean"
                },
                "shop_categories": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "category_type": {
                        "type": "integer"
                      },
                      "collection_type": {
                        "type": "integer"
                      },
                      "display_name": {
                        "type": "string"
                      },
                      "image": {
                        "type": "string"
                      },
                      "is_adult": {
                        "type": "boolean"
                      },
                      "is_generated": {
                        "type": "boolean"
                      },
                      "rule": {
                        "type": "string"
                      },
                      "shop_category_id": {
                        "type": "integer"
                      },
                      "total": {
                        "type": "integer"
                      }
                    }
                  }
                },
                "tier": {
                  "type": "integer"
                },
                "total": {
                  "type": "integer"
                }
              }
            },
            "error": {
              "type": "integer"
            },
            "error_msg": {
              "type": "string"
            }
          }
        },
        "market": {
          "type": "string"
        },
        "site": {
          "type": "string"
        }
      }
    },
    "message": {
      "type": "null"
    },
    "recordTime": {
      "type": "string"
    }
  }
}
```

## Request example
Scenario: Official example · Historical response; independent request temp
```bash
curl \
  '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'
```

## Response example
Example from the provider's documentation. Field values in your results will differ.
Sample response · Documented HTTP 200
```json
{
  "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
400: Check the request fields.
401 / 403: Verify credentials and access permissions.
402: Inspect payment requirements and balance.
429: Respect returned retry guidance.
5xx: Inspect the error and usage record before retrying a paid operation.

## Common questions
### What inputs are required to list shop categories?
Pass site (TW, ID, or TH) and shopId (integer), with optional offset for pagination.

### How do I know if more category pages are available?
Check data.data.data.has_more and compare returned items against data.data.data.total.

### Does this endpoint return the products inside each category?
No. It returns category metadata and item counts (total); use Shopee Shop Item List API to fetch product cards for a shop.

### Where do I find a shop's numeric shopId?
Resolve a shop's username using the Shopee Shop Profile API or Shop Details API, or read shop_id from search cards.

### Are category cover images included?
Yes. Each entry in shop_categories[] includes an image identifier, alongside all_products_cover.image.

### What does is_generated mean on a category?
It indicates whether Shopee generated the category automatically rather than the seller creating it manually.

## Available implementations
- justoneapi: https://openany.si/shopee/shopee-shop-categories-api-v1/93a2bccd-6575-434a-9d74-38a09a0ecdb3/

Integration guide: https://openany.si/docs/
Agent setup: https://openany.si/SKILL.md
