# Shopee Search Category Facets API (V1)

Retrieve Shopee search category facets, brands, shipping options and shop locations via REST or OpenAny MCP—with pay-per-use pricing, no subscription, and no proxies required. Powered by JustOneAPI, pass parameters such as keyword, site, and retrieve structured data including shopee numeric category identifier, count, localized category display name, brandid, and brand display name to map keyword-to-category demand, identify leading brands per niche, and analyze fulfillment and origin options.

Documentation: https://openany.si/shopee/shopee-search-category-facets-api-v1/9b9b3748-3b11-4628-9550-d6c5b4bd77fe/
API ID: 9b9b3748-3b11-4628-9550-d6c5b4bd77fe
Provider: justoneapi
Contract revision: 4
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/justoneapi/api/shopee/get-search-facets/v1
Page update time: 2026-12-03T02:43:34.488Z
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.051Z. This is not a price-change timestamp.
```json
{
  "currency": "USD",
  "mode": "fixed",
  "priceMicroUsd": "30769",
  "rounding": null,
  "unit": "call",
  "unitQuantity": null
}
```

## Usage and limits
## Shopee Search Facets API (V1)

Send a GET request with `site` (`TW`, `ID`, or `TH`) and `keyword` to fetch Shopee's search facet breakdown for that term. The response groups category counts (`facets[]`), `brands[]`, `locations[]`, `shippings[]` and `shop_types[]` under `data.data`.

## What You Can Build

- **Map keyword-to-category demand**: Read `facets[].catid`, `category.display_name` and `count` to see which Shopee categories dominate a search keyword.
- **Identify leading brands per niche**: Extract `brands[].brandid` and `brands[].name` to discover active brands competing on a query.
- **Analyze fulfillment and origin options**: Inspect `shippings[]`, `locations[]` and `shop_types` to understand local vs. cross-border competition.

## Returned Data

| Field | Meaning |
| --- | --- |
| `data.site` | Requested Shopee marketplace site code |
| `data.market` | Marketplace name for the requested site |
| `data.data.facets[].catid` | Shopee numeric category identifier |
| `data.data.facets[].count` | Number of matching listings in the category |
| `data.data.facets[].category.display_name` | Localized category display name |
| `data.data.brands[].brandid` | Brand identifier appearing in search facets |
| `data.data.brands[].name` | Brand display name |
| `data.data.locations[].display_name` | Localized seller location filter label |
| `data.data.shippings[].display_name` | Localized shipping channel filter label |
| `data.data.shop_types` | Available shop-type filter definitions |

## Request parameters
```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Shopee Search Category Facets 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"
          ]
        },
        "keyword": {
          "type": "string",
          "description": "Product search keyword."
        }
      },
      "required": [
        "site",
        "keyword"
      ]
    },
    "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": {
            "bff_meta": {
              "type": "null"
            },
            "brands": {
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "brandid": {
                    "type": "integer"
                  },
                  "name": {
                    "type": "string"
                  }
                }
              }
            },
            "colorful_block": {
              "type": "array",
              "items": {}
            },
            "disabled_filters": {
              "type": "null"
            },
            "dynamic_filter": {
              "type": "null"
            },
            "error": {
              "type": "null"
            },
            "error_msg": {
              "type": "null"
            },
            "facets": {
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "category": {
                    "type": "object",
                    "properties": {
                      "display_name": {
                        "type": "string"
                      },
                      "is_default_subcat": {
                        "type": "null"
                      },
                      "name": {
                        "type": "string"
                      },
                      "parent_category_detail": {
                        "anyOf": [
                          {
                            "type": "null"
                          },
                          {
                            "type": "object",
                            "properties": {
                              "category": {
                                "type": "object",
                                "properties": {
                                  "display_name": {
                                    "type": "string"
                                  },
                                  "is_default_subcat": {
                                    "type": "null"
                                  },
                                  "name": {
                                    "type": "string"
                                  },
                                  "parent_category_detail": {
                                    "type": "null"
                                  },
                                  "parentids": {
                                    "type": "null"
                                  }
                                }
                              },
                              "catid": {
                                "type": "integer"
                              },
                              "count": {
                                "type": "integer"
                              },
                              "show_parent_category": {
                                "type": "null"
                              }
                            }
                          }
                        ]
                      },
                      "parentids": {
                        "anyOf": [
                          {
                            "type": "null"
                          },
                          {
                            "type": "array",
                            "items": {
                              "type": "integer"
                            }
                          }
                        ]
                      }
                    }
                  },
                  "catid": {
                    "type": "integer"
                  },
                  "count": {
                    "type": "integer"
                  },
                  "show_parent_category": {
                    "anyOf": [
                      {
                        "type": "null"
                      },
                      {
                        "type": "boolean"
                      }
                    ]
                  }
                }
              }
            },
            "filter_algorithm": {
              "type": "string"
            },
            "locations": {
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "display_name": {
                    "type": "string"
                  },
                  "level": {
                    "type": "string"
                  },
                  "name": {
                    "type": "string"
                  },
                  "sub_location": {
                    "type": "null"
                  },
                  "tag_ids": {
                    "type": "array",
                    "items": {
                      "type": "integer"
                    }
                  },
                  "translations": {
                    "type": "array",
                    "items": {}
                  }
                }
              }
            },
            "price_ranges": {
              "type": "array",
              "items": {}
            },
            "shippings": {
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "channelids": {
                    "type": "string"
                  },
                  "display_name": {
                    "type": "string"
                  },
                  "item_tag_ids": {
                    "type": "array",
                    "items": {
                      "type": "integer"
                    }
                  },
                  "name": {
                    "type": "string"
                  },
                  "positionid": {
                    "type": "integer"
                  }
                }
              }
            },
            "shop_types": {
              "type": "array",
              "items": {
                "type": "integer"
              }
            },
            "sub_errs": {
              "type": "array",
              "items": {
                "type": "integer"
              }
            },
            "version": {
              "type": "null"
            },
            "video_filter": {
              "type": "integer"
            }
          }
        },
        "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-search-facets/v1?keyword=%3CREPLACE_KEYWORD%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": {
      "bff_meta": null,
      "brands": [
        {
          "brandid": 1139704,
          "name": "ucc"
        },
        {
          "brandid": 1082663,
          "name": "BARISTA COFFEE 西雅圖極品咖啡"
        },
        {
          "brandid": 1131185,
          "name": "OKLAO SPECIALTY COFFEE 歐客佬精品咖啡農場"
        },
        {
          "brandid": 1141533,
          "name": "品皇咖啡"
        },
        {
          "brandid": 1802055,
          "name": "Nescafe"
        },
        {
          "brandid": 1354638,
          "name": "MR.BROWN 伯朗"
        },
        {
          "brandid": 3268371,
          "name": "Maxim"
        },
        {
          "brandid": 1083315,
          "name": "AGF"
        },
        {
          "brandid": 1111020,
          "name": "G7"
        },
        {
          "brandid": 1147048,
          "name": "Starbucks"
        },
        {
          "brandid": 1440358,
          "name": "再再之在"
        },
        {
          "brandid": 2563581,
          "name": "Nestle"
        },
        {
          "brandid": 1215517,
          "name": "FELALA 費拉拉咖啡"
        },
        {
          "brandid": 1599315,
          "name": "dripo"
        },
        {
          "brandid": 1088224,
          "name": "HWC ROASTERS 黑沃咖啡"
        },
        {
          "brandid": 5981424,
          "name": "yy bean coffee"
        },
        {
          "brandid": 1094459,
          "name": "OneFreshCup 鮮一杯"
        },
        {
          "brandid": 2660862,
          "name": "Buon Caffe 步昂咖啡"
        },
        {
          "brandid": 2239957,
          "name": "Caffitaly"
        },
        {
          "brandid": 1129021,
          "name": "CREATION FOOD 開元食品"
        }
      ],
      "colorful_block": [],
      "disabled_filters": null,
      "dynamic_filter": null,
      "error": null,
      "error_msg": null,
      "facets": [
        {
          "category": {
            "display_name": "女生配件/黃金",
            "is_default_subcat": null,
            "name": "Women Accessories",
            "parent_category_detail": null,
            "parentids": null
          },
          "catid": 11041224,
          "count": 82023,
          "show_parent_category": null
        },
        {
          "category": {
            "display_name": "女生衣著",
            "is_default_subcat": null,
            "name": "Women's Apparel",
            "parent_category_detail": null,
            "parentids": null
          },
          "catid": 11040766,
          "count": 75065,
          "show_parent_category": null
        },
        {
          "category": {
            "display_name": "料理用具",
            "is_default_subcat": null,
            "name": "Spatulas & Cooking Tweezers",
            "parent_category_detail": {
              "category": {
                "display_name": "餐廚",
                "is_default_subcat": null,
                "name": "Kitchen",
                "parent_category_detail": null,
                "parentids": null
              },
              "catid": 11042579,
              "count": 241411,
              "show_parent_category": null
            },
            "parentids": [
              11042579
            ]
          },
          "catid": 11042583,
          "count": 67586,
          "show_parent_category": null
        },
        {
          "category": {
            "display_name": "其他",
            "is_default_subcat": null,
            "name": "Others",
            "parent_category_detail": {
              "category": {
                "display_name": "餐廚",
                "is_default_subcat": null,
                "name": "Kitchen",
                "parent_category_detail": null,
                "parentids": null
              },
              "catid": 11042579,
              "count": 241411,
              "show_parent_category": null
            },
            "parentids": [
              11042579
            ]
          },
          "catid": 11042581,
          "count": 50194,
          "show_parent_category": true
        },
        {
          "category": {
            "display_name": "收納",
            "is_default_subcat": null,
            "name": "Home Organizers",
            "parent_category_detail": {
              "category": {
                "display_name": "居家生活",
                "is_default_subcat": null,
                "name": "Home&Living",
                "parent_category_detail": null,
                "parentids": null
              },
              "catid": 11040925,
              "count": 380539,
              "show_parent_category": null
            },
            "parentids": [
              11040925
            ]
          },
          "catid": 11041036,
          "count": 42110,
          "show_parent_category": null
        },
        {
          "category": {
            "display_name": "女生包包/精品",
            "is_default_subcat": null,
            "name": "Women Bags / Luxury Bags",
            "parent_category_detail": null,
            "parentids": null
          },
          "catid": 11041292,
          "count": 41442,
          "show_parent_category": null
        },
        {
          "category": {
            "display_name": "烘焙用具",
            "is_default_subcat": null,
            "name": "Bakewares & Decorations",
            "parent_category_detail": {
              "category": {
                "display_name": "餐廚",
                "is_default_subcat": null,
                "name": "Kitchen",
                "parent_category_detail": null,
                "parentids": null
              },
              "catid": 11042579,
              "count": 241411,
              "show_parent_category": null
            },
            "parentids": [
              11042579
            ]
          },
          "catid": 11042586,
          "count": 33865,
          "show_parent_category": null
        },
        {
          "category": {
            "display_name": "手機平板與周邊",
            "is_default_subcat": null,
            "name": "Mobile & Gadgets",
            "parent_category_detail": null,
            "parentids": null
          },
          "catid": 11041546,
          "count": 31790,
          "show_parent_category": null
        },
        {
          "category": {
            "display_name": "保鮮盒、便當盒",
            "is_default_subcat": null,
            "name": "Food Storage",
            "parent_category_detail": {
              "category": {
                "display_name": "餐廚",
                "is_default_subcat": null,
                "name": "Kitchen",
                "parent_category_detail": null,
                "parentids": null
              },
              "catid": 11042579,
              "count": 241411,
              "show_parent_category": null
            },
            "parentids": [
              11042579
            ]
          },
          "catid": 11042580,
          "count": 31005,
          "show_parent_category": null
        },
        {
          "category": {
            "display_name": "居家裝飾",
            "is_default_subcat": null,
            "name": "Decoration",
            "parent_category_detail": {
              "category": {
                "display_name": "居家生活",
                "is_default_subcat": null,
                "name": "Home&Living",
                "parent_category_detail": null,
                "parentids": null
              },
              "catid": 11040925,
              "count": 380539,
              "show_parent_category": null
            },
            "parentids": [
              11040925
            ]
          },
          "catid": 11041008,
          "count": 28780,
          "show_parent_category": null
        },
        {
          "category": {
            "display_name": "水壺、杯子",
            "is_default_subcat": null,
            "name": "Cups, Mugs & Glasses",
            "parent_category_detail": {
              "category": {
                "display_name": "居家生活",
                "is_default_subcat": null,
                "name": "Home&Living",
                "parent_category_detail": null,
                "parentids": null
              },
              "catid": 11040925,
              "count": 380539,
              "show_parent_category": null
            },
            "parentids": [
              11040925
            ]
          },
          "catid": 11042566,
          "count": 26215,
          "show_parent_category": null
        },
        {
          "category": {
            "display_name": "男女鞋",
            "is_default_subcat": null,
            "name": "Shoes",
            "parent_category_detail": null,
            "parentids": null
          },
          "catid": 11041795,
          "count": 23853,
          "show_parent_category": null
        }
      ],
      "filter_algorithm": "",
      "locations": [
        {
          "display_name": "台灣",
          "level": "-1",
          "name": "台灣",
          "sub_location": null,
          "tag_ids": [
            822059780857868
          ],
          "translations": []
        },
        {
          "display_name": "海外",
          "level": "-2",
          "name": "海外",
          "sub_location": null,
          "tag_ids": [
            822059780859404
          ],
          "translations": []
        }
      ],
      "price_ranges": [],
      "shippings": [
        {
          "channelids": "30015",
          "display_name": "蝦皮店到店",
          "item_tag_ids": [
            840902217782303
          ],
          "name": "蝦皮店到店",
          "positionid": 1
        },
        {
          "channelids": "30017;30030",
          "display_name": "店到家宅配",
          "item_tag_ids": [
            1400285049,
            298888387
          ],
          "name": "店到家宅配",
          "positionid": 2
        },
        {
          "channelids": "30006",
          "display_name": "全家",
          "item_tag_ids": [
            822120594703895
          ],
          "name": "全家",
          "positionid": 3
        },
        {
          "channelids": "30011",
          "display_name": "全家冷凍",
          "item_tag_ids": [
            825524591821317
          ],
          "name": "全家冷凍",
          "positionid": 4
        },
        {
          "channelids": "30007",
          "display_name": "萊爾富",
          "item_tag_ids": [
            822120594705943
          ],
          "name": "萊爾富",
          "positionid": 5
        },
        {
          "channelids": "30010",
          "display_name": "萊爾富經濟包",
          "item_tag_ids": [
            3073920408394775
          ],
          "name": "萊爾富經濟包",
          "positionid": 6
        },
        {
          "channelids": "30005",
          "display_name": "7-ELEVEN",
          "item_tag_ids": [
            1948020501544471
          ],
          "name": "7-ELEVEN",
          "positionid": 7
        },
        {
          "channelids": "30020",
          "display_name": "新竹物流 ",
          "item_tag_ids": [
            997936212
          ],
          "name": "新竹物流 ",
          "positionid": 8
        },
        {
          "channelids": "30012",
          "display_name": "宅配通",
          "item_tag_ids": [
            829091185487422
          ],
          "name": "宅配通",
          "positionid": 9
        },
        {
          "channelids": "30001",
          "display_name": "黑貓宅急便",
          "item_tag_ids": [
            4199820315223063
          ],
          "name": "黑貓宅急便",
          "positionid": 10
        },
        {
          "channelids": "30018",
          "display_name": "嘉里快遞",
          "item_tag_ids": [
            700450057
          ],
          "name": "嘉里快遞",
          "positionid": 11
        },
        {
          "channelids": "38067",
          "display_name": "蝦皮海外 - 快速到貨 (蝦皮店到店)",
          "item_tag_ids": [
            1400545066
          ],
          "name": "蝦皮海外 - 快速到貨 (蝦皮店到店)",
          "positionid": 12
        },
        {
          "channelids": "38066",
          "display_name": "蝦皮海外- 蝦皮店到店",
          "item_tag_ids": [
            842817945828358
          ],
          "name": "蝦皮海外- 蝦皮店到店",
          "positionid": 13
        },
        {
          "channelids": "38064",
          "display_name": "蝦皮海外 - 蝦皮店到店 (海運)",
          "item_tag_ids": [
            298988336
          ],
          "name": "蝦皮海外 - 蝦皮店到店 (海運)",
          "positionid": 14
        },
        {
          "channelids": "38011",
          "display_name": "蝦皮海外 - 宅配 (空運)",
          "item_tag_ids": [
            4199820315274263
          ],
          "name": "蝦皮海外 - 宅配 (空運)",
          "positionid": 15
        },
        {
          "channelids": "38010",
          "display_name": "蝦皮海外 - 宅配 (海運)",
          "item_tag_ids": [
            700025252
          ],
          "name": "蝦皮海外 - 宅配 (海運)",
          "positionid": 16
        },
        {
          "channelids": "38012",
          "display_name": "蝦皮海外 - 7-ELEVEN",
          "item_tag_ids": [
            5325720222119447
          ],
          "name": "蝦皮海外 - 7-ELEVEN",
          "positionid": 17
        },
        {
          "channelids": "38070",
          "display_name": "蝦皮韓國 - 快速到貨 (蝦皮店到店)",
          "item_tag_ids": [
            299038358
          ],
          "name": "蝦皮韓國 - 快速到貨 (蝦皮店到店)",
          "positionid": 18
        },
        {
          "channelids": "38065",
          "display_name": "蝦皮韓國 - 蝦皮店到店",
          "item_tag_ids": [
            1688720
          ],
          "name": "蝦皮韓國 - 蝦皮店到店",
          "positionid": 19
        },
        {
          "channelids": "38041",
          "display_name": "蝦皮日本 - 蝦皮店到店",
          "item_tag_ids": [
            997846063
          ],
          "name": "蝦皮日本 - 蝦皮店到店",
          "positionid": 20
        }
      ],
      "shop_types": [
        0,
        1
      ],
      "sub_errs": [
        36801207
      ],
      "version": null,
      "video_filter": 1
    },
    "market": "Taiwan",
    "site": "TW"
  },
  "message": null,
  "recordTime": "2026-08-12T14:01:27.936562071"
}
```

## 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 fetch search facets?
Pass required query parameters site (TW, ID, or TH) and keyword.

### Does this endpoint return product cards?
No. It returns filter facets (categories, brands, locations, shippings); use the Shopee Item Search API (V1) for product cards.

### How are category counts represented?
Each object in data.data.facets[] includes catid, count and a nested category object with name and display_name.

### Are brand filters included alongside categories?
Yes. data.data.brands[] returns brandid and name entries associated with the search keyword.

### What shipping and location filters are returned?
data.data.shippings[] lists shipping channel names and IDs, while data.data.locations[] lists location filter labels and levels.

### Can I pass category or price filters into this request?
No. The live contract defines only site and keyword as query parameters.

## Available implementations
- justoneapi: https://openany.si/shopee/shopee-search-category-facets-api-v1/9b9b3748-3b11-4628-9550-d6c5b4bd77fe/

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