GET /v1/brands/{brand}/top-categories for precomputed category tabs on a brand page. Category names are ranked by active product count.
Send Authorization: Bearer <your-platform-api-key> with every request. POST requests also require Content-Type: application/json. Use the base URL https://api.storerouter.ai/v1.
URL-encode the brand slug or case-insensitive name in brand. Optional query parameters: minLevel (0–10, default 0), and limit (1–20, default 3).
brandName and topCategories. Each category has categoryName and categoryLevel. These are corpus-wide, precomputed category names; the response does not return product counts or promise product availability in your scope. Unknown brands return 404 with brand_not_found.
See Discover brands for brand-versus-store semantics, catalog scope, filter rules, MCP equivalents, and shared authorization, validation, and rate-limit errors.
Operation ID: getBrandTopCategories. SDK methods: Python get_brand_top_categories(brand, min_level=2, limit=3); TypeScript getBrandTopCategories(brand, {minLevel: 2, limit: 3}). An empty topCategories list is valid; a failed request is an error.