---
title: TaxonomyCategory - Storefront API
description: >
  A category from Shopify's [Standard Product
  Taxonomy](https://shopify.github.io/product-taxonomy/releases/unstable/?categoryId=sg-4-17-2-17)
  assigned to a [`Product`](/docs/api/storefront/2025-07/objects/Product).
  Categories provide hierarchical classification through the `ancestors` field.


  The
  [`ancestors`](/docs/api/storefront/2025-07/objects/TaxonomyCategory#field-TaxonomyCategory.fields.ancestors)
  field returns the parent chain from the immediate parent up to the root. Each
  ancestor category also includes its own `ancestors`.


  The
  [`name`](https://shopify.dev/docs/api/storefront/latest/objects/TaxonomyCategory#field-TaxonomyCategory.fields.name)
  field returns the localized category name based on the storefront's request
  language with shop locale fallbacks. If a translation isn't available for the
  resolved locale, the English taxonomy name is returned.
api_version: 2025-07
api_name: storefront
type: object
api_type: graphql
source_url:
  html: 'https://shopify.dev/docs/api/storefront/2025-07/objects/TaxonomyCategory'
  md: 'https://shopify.dev/docs/api/storefront/2025-07/objects/TaxonomyCategory.md'
---

# Taxonomy​Category

object

Requires `unauthenticated_read_product_listings` access scope.

A category from Shopify's [Standard Product Taxonomy](https://shopify.github.io/product-taxonomy/releases/unstable/?categoryId=sg-4-17-2-17) assigned to a [`Product`](https://shopify.dev/docs/api/storefront/2025-07/objects/Product). Categories provide hierarchical classification through the `ancestors` field.

The [`ancestors`](https://shopify.dev/docs/api/storefront/2025-07/objects/TaxonomyCategory#field-TaxonomyCategory.fields.ancestors) field returns the parent chain from the immediate parent up to the root. Each ancestor category also includes its own `ancestors`.

The [`name`](https://shopify.dev/docs/api/storefront/latest/objects/TaxonomyCategory#field-TaxonomyCategory.fields.name) field returns the localized category name based on the storefront's request language with shop locale fallbacks. If a translation isn't available for the resolved locale, the English taxonomy name is returned.

## Fields

* ancestors

  [\[Taxonomy​Category!\]!](https://shopify.dev/docs/api/storefront/2025-07/objects/TaxonomyCategory)

  non-null

  All parent nodes of the current taxonomy category.

* id

  [ID!](https://shopify.dev/docs/api/storefront/2025-07/scalars/ID)

  non-null

  A static identifier for the taxonomy category.

* name

  [String!](https://shopify.dev/docs/api/storefront/2025-07/scalars/String)

  non-null

  The localized name of the taxonomy category.

***

## Map

### Fields with this object

* [Product.category](https://shopify.dev/docs/api/storefront/2025-07/objects/Product#field-Product.fields.category)
* [TaxonomyCategory.ancestors](https://shopify.dev/docs/api/storefront/2025-07/objects/TaxonomyCategory#field-TaxonomyCategory.fields.ancestors)

***

## Interfaces

* [Node](https://shopify.dev/docs/api/storefront/2025-07/interfaces/Node)

  interface

***

## TaxonomyCategory Implements

### Implements

* [Node](https://shopify.dev/docs/api/storefront/2025-07/interfaces/Node)
