---
updatedAt: 2026-06-02T19:52:07.000Z
---

# Get a Category

Retrieve the full details of a specific product category by its ID. The response includes the category name, parent ID, hierarchy level, and any platform-specific metadata associated with the category.

> **Note:** Available fields and category hierarchy representation vary by platform.

## Available platforms

This endpoint is supported by **23 platforms**. Click on each platform to see its specific response fields and details.

[BigCommerce](https://docs.ecartapi.com/reference/get_single_category_bigcommerce) · [CS-Cart](https://docs.ecartapi.com/reference/get_single_category_cscart) · [eBay](https://docs.ecartapi.com/reference/get_single_category_ebay_v2) · [Ecart](https://docs.ecartapi.com/reference/get_single_category_ecart) · [Ecwid](https://docs.ecartapi.com/reference/get_single_category_ecwid) · [Etsy](https://docs.ecartapi.com/reference/get_single_category_etsy) · [Jumpseller](https://docs.ecartapi.com/reference/get_single_category_jumpseller) · [Loja](https://docs.ecartapi.com/reference/get_single_category_loja) · [Magento 2](https://docs.ecartapi.com/reference/get_single_category_magento2) · [Mercado Libre](https://docs.ecartapi.com/reference/get_single_category_mercadolibre) · [Multivende](https://docs.ecartapi.com/reference/get_single_category_multivende) · [Nopcommerce](https://docs.ecartapi.com/reference/get_single_category_nopcommerce) · [PrestaShop](https://docs.ecartapi.com/reference/get_single_category_prestashop) · [PrestaShop 9](https://docs.ecartapi.com/reference/get_single_category_prestashop9) · [Shopify](https://docs.ecartapi.com/reference/get_single_category_shopify) · [Tienda Nube](https://docs.ecartapi.com/reference/get_single_category_tiendanube) · [TikTok](https://docs.ecartapi.com/reference/get_single_category_tiktok) · [Tray](https://docs.ecartapi.com/reference/get_single_category_tray) · [Vend HQ](https://docs.ecartapi.com/reference/get_single_category_vendhq) · [VTEX](https://docs.ecartapi.com/reference/get_single_category_vtex) · [Weebly](https://docs.ecartapi.com/reference/get_single_category_weebly) · [WooCommerce](https://docs.ecartapi.com/reference/get_single_category_woocommerce) · [Yampi](https://docs.ecartapi.com/reference/get_single_category_yampi)

> **Same schema, platform-aware details.** Available fields and category hierarchy representation vary by platform.

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "title": "EcartAPI",
    "version": "1.0.0",
    "description": "Unified API reference for all EcartAPI resources. EcartAPI connects 50+ e-commerce platforms through a single, consistent API."
  },
  "servers": [
    {
      "url": "https://api.ecartapi.com/api/v2"
    }
  ],
  "security": [
    {
      "bearerAuth": []
    }
  ],
  "tags": [
    {
      "name": "Categories",
      "description": "Manage product categories and taxonomy structures across supported platforms."
    }
  ],
  "paths": {
    "/categories/{categoryId}": {
      "get": {
        "tags": [
          "Categories"
        ],
        "summary": "Get a Category",
        "operationId": "get_single_category",
        "description": "Retrieve the full details of a specific product category by its ID. The response includes the category name, parent ID, hierarchy level, and any platform-specific metadata associated with the category.\n\n> **Note:** Available fields and category hierarchy representation vary by platform.",
        "parameters": [
          {
            "name": "categoryId",
            "in": "path",
            "required": true,
            "description": "The unique identifier of the category in the connected platform.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "category": {
                      "$ref": "#/components/schemas/Category"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "securitySchemes": {
      "bearerAuth": {
        "type": "http",
        "scheme": "bearer",
        "bearerFormat": "JWT"
      }
    },
    "schemas": {
      "Category": {
        "type": "object",
        "description": "EcartAPI unified category schema. Represents a node in the product taxonomy tree of the connected platform.",
        "properties": {
          "id": {
            "type": "string",
            "description": "Unique category identifier in the connected platform."
          },
          "name": {
            "type": "string",
            "description": "Category name or title."
          },
          "parentId": {
            "type": "string",
            "description": "ID of the parent category. Null for root-level categories."
          },
          "level": {
            "type": "integer",
            "description": "Depth level in the category hierarchy. Root categories are level 0 or 1 depending on the platform. May be null."
          },
          "description": {
            "type": "string",
            "description": "Category description. May be null."
          },
          "image": {
            "type": "object",
            "description": "Category image. May be null.",
            "properties": {
              "src": {
                "type": "string"
              }
            }
          },
          "url": {
            "type": "string",
            "description": "Public URL of the category page. May be null."
          }
        }
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true
  }
}
```