OpenAny
Get API keyAPI Key
APIDataE-commerce

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
USE THIS API

Shopee Shop Categories API

Prepare your request, then continue with your agent.

Selected price

$0.030769 / call

Provider
API
Pricing
Connect your agent
On this page

Overview

Overview
Shopee Shop Categories API

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_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

Quick Start

  1. Set OPENANY_API_KEY to your OpenAny API key.
  2. Review the selected implementation and pricing, then adapt the request below to your target.
  3. Check the HTTP response and business result before reading optional fields.
bash
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

View FAQ

Related APIs

Playground

Run sends a real API request. Charges follow the published API contract.

Request parameters
Shopee marketplace site. Available Values: - `TW`: Taiwan - `ID`: Indonesia - `TH`: Thailand
Enter a valid integer.
Zero-based result offset.

Sample response

Run a request to see the actual response. Published samples are in Examples.

Response result

Sellers

SellerPricingRequests · 30dPerformanceAccess
justoneapiCurrent
Shopee Shop Categories API (V1) · GET · View API reference
$0.030769 / call0
—successP50—
Selected implementation traffic · 11/3/2026 – 12/3/2026 (UTC)
Selected pricing · justoneapiUSD / call
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.

calls

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
View request and response examples

Input parameters

Fields in this listing; additional options and input encoding can vary by provider.

ParameterLocationTypeRequiredDescription
siteURL query parametersquerystringYes

Shopee marketplace site. Available Values: - `TW`: Taiwan - `ID`: Indonesia - `TH`: Thailand

enum: "TW", "ID", "TH"

shopIdURL query parametersqueryintegerYes

Shopee shop ID.

offsetURL query parametersquerystringNo

Zero-based result offset.

Required markers inside a nested object or variant apply when that object or variant is used.

Response structure

Inferred from examples
  • codeinteger
  • dataobject
    • dataobject
      • dataobject
        • ab_testobject
          • fashion_shop_improvementstring
        • all_products_coverobject
          • imagestring
          • is_adultboolean
        • deco_layoutinteger
        • dynamic_translation_statusinteger
        • has_moreboolean
        • shop_categoriesobject[]
          • category_typeinteger
          • collection_typeinteger
          • display_namestring
          • imagestring
          • is_adultboolean
          • is_generatedboolean
          • rulestring
          • shop_category_idinteger
          • totalinteger
        • tierinteger
        • totalinteger
      • errorinteger
      • error_msgstring
    • marketstring
    • sitestring
  • messagenull
  • recordTimestring

Agent integration

Copy the resource contract without sharing an API key.

Download MDView API Markdown

Error handling

StatusNext step
400Check the offering and request fields.
401 / 403Verify your credentials and access permissions.
402Inspect the selected access mode and returned payment requirements.
429Respect the returned rate limit and retry guidance.
5xxInspect 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.

  1. 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 / Linux
    printf 'OpenAny API key: '
    read -r -s OPENANY_API_KEY
    export OPENANY_API_KEY
    printf '\n'
  2. 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 · cURL
    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'
  3. 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"
    }

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.

Use Shopee Shop Categories API with your agent

Inspect endpoint contracts and confirm availability and pricing before a paid call.