Sources › Marketplace › Shopee › Categories

Shopee Categories API

the full category tree

ShopeeGET /categoriesAll plans1 Zap

Request

GET
https://api.zapi.ink/v1/marketplace:shopee/categories

Send your key in the x-api-key header. The response is JSON in the { project, data, timestamp } envelope, and an identical request is served from cache for 1 hour.

Parameters

NameTypeInRequiredDescription
xstringqueryNoUnused — this endpoint takes no input

Code examples

cURL
curl -X GET "https://api.zapi.ink/v1/marketplace:shopee/categories?x=" \
  -H "x-api-key: zpi_xxxxxxxxxxxxxxxxxxxxxxxx"
JavaScript
const res = await fetch("https://api.zapi.ink/v1/marketplace:shopee/categories?x=", {
  method: "GET",
  headers: {
    "x-api-key": "zpi_xxxxxxxxxxxxxxxxxxxxxxxx"
  },
});
const data = await res.json();
console.log(data);
Python
import requests

res = requests.get(
    "https://api.zapi.ink/v1/marketplace:shopee/categories",
    params={"x":""},
    headers={"x-api-key":"zpi_xxxxxxxxxxxxxxxxxxxxxxxx"},
)
print(res.json())

Example response

200 OK · application/json
{
  "project": "marketplace:shopee",
  "data": {
    "count": 26,
    "items": [
      {
        "url": "https://shopee.co.id/Elektronik-cat.11044258",
        "name": "Elektronik",
        "image": "https://down-id.img.susercontent.com/file/dcd61dcb7c1448a132f49f938b0cb553",
        "level": 1,
        "children": [
          {
            "url": "https://shopee.co.id/Konsol-Game-cat.11044352",
            "name": "Konsol Game",
            "image": "https://down-id.img.susercontent.com/file/ed16bf6821780696667aa7fd2e8159a6",
            "level": 2,
            "parentId": "11044258",
            "categoryId": "11044352"
          },
          {
            "url": "https://shopee.co.id/Aksesoris-Konsol-cat.11044362",
            "name": "Aksesoris Konsol",
            "image": "https://down-id.img.susercontent.com/file/72e6f02f355c2be5c6066d4fd70e269b",
            "level": 2,
            "parentId": "11044258",
            "categoryId": "11044362"
          },
          {
            "url": "https://shopee.co.id/Alat-Casting-cat.11044363",
            "name": "Alat Casting",
            "image": "https://down-id.img.susercontent.com/file/702d079566786c926b9f156057b3b92c",
            "level": 2,
            "parentId": "11044258",
            "categoryId": "11044363"
          }
        ],
        "categoryId": "11044258"
      },
      {
        "url": "https://shopee.co.id/Makanan-%26-Minuman-cat.11043451",
        "name": "Makanan & Minuman",
        "image": "https://down-id.img.susercontent.com/file/7873b8c3824367239efb02d18eeab4f5",
        "level": 1,
        "children": [
          {
            "url": "https://shopee.co.id/Makanan-Ringan-cat.11043453",
            "name": "Makanan Ringan",
            "image": "https://down-id.img.susercontent.com/file/949f98eba7b5ed7f44136beb3edffd3e",
            "level": 2,
            "parentId": "11043451",
            "categoryId": "11043453"
          },
          {
            "url": "https://shopee.co.id/Bahan-Pokok-cat.11043467",
            "name": "Bahan Pokok",
            "image": "https://down-id.img.susercontent.com/file/c2d191b72dfee509156cb8d62b806dce",
            "level": 2,
            "parentId": "11043451",
            "categoryId": "11043467"
          },
          {
            "url": "https://shopee.co.id/Menu-Sarapan-cat.11043496",
            "name": "Menu Sarapan",
            "image": "https://down-id.img.susercontent.com/file/0a0d5992e6fbc848df17323fb438f39c",
            "level": 2,
            "parentId": "11043451",
            "categoryId": "11043496"
          }
        ],
        "categoryId": "11043451"
      },
      {
        "url": "https://shopee.co.id/Komputer-%26-Aksesoris-cat.11044364",
        "name": "Komputer & Aksesoris",
        "image": "https://down-id.img.susercontent.com/file/id-50009109-0bd6a9ebd0f2ae9b7e8b9ce7d89897d6",
        "level": 1,
        "children": [
          {
            "url": "https://shopee.co.id/Desktop-cat.11044365",
            "name": "Desktop",
            "image": "https://down-id.img.susercontent.com/file/1306e6ceff148fb7f914d405dffc8392",
            "level": 2,
            "parentId": "11044364",
            "categoryId": "11044365"
          },
          {
            "url": "https://shopee.co.id/Monitor-cat.11044371",
            "name": "Monitor",
            "image": "https://down-id.img.susercontent.com/file/ca43b42a0260290c90b31e6d906613a1",
            "level": 2,
            "parentId": "11044364",
            "categoryId": "11044371"
          },
          {
            "url": "https://shopee.co.id/Komponen-Desktop-%26-Laptop-cat.11044372",
            "name": "Komponen Desktop & Laptop",
            "image": "https://down-id.img.susercontent.com/file/3ed6721806e6f492d6ccc947b9c54709",
            "level": 2,
            "parentId": "11044364",
            "categoryId": "11044372"
          }
        ],
        "categoryId": "11044364"
      }
    ]
  },
  "timestamp": "2026-08-02T16:19:06Z"
}

Frequently asked questions

How do I call the Shopee Categories API?

Send a GET request to https://api.zapi.ink/v1/marketplace:shopee/categories with your Zapi key in the x-api-key header. Parameters — optional: x. The response is JSON in the { project, data, timestamp } envelope.

What does the Shopee Categories API return?

the full category tree. The example response has the fields count, items. Each item in items has fields such as url, name, image, level, children, categoryId.

Is the Shopee Categories API free?

Yes. It is on the Zapi free tier: 600 Zap a month with one API key and no credit card. Each call costs 1 Zap. Paid plans raise the limits.

Can an AI assistant call the Shopee Categories API?

Yes. Add the Zapi MCP server (https://mcp.zapi.ink/mcp) to Claude, Cursor or another MCP client and ask in plain words; it calls run_scraper with scraper "shopee" and endpoint "categories".

What other Shopee API endpoints are there?

It has 7 endpoints. Besides Categories: Shop Detail, Suggest, Flash Sale, Search, Shop Featured, Product Detail.