Contentstack introduces the Agentic Experience Platform | Press release
Contentstack introduces the Agentic Experience Platform | Press release
Contentstack.comAcademyLogin
CS-log-dark.svgCS-log-dark.svg
  • Changelog
  • APIs
  • SDKs
  • Solution Center
  • Marketplace
  • Changelog
  • Developers & IT
  • Business users
  • Digital leaders
  • Developer Fast Track
  • Plans & Pricing
  • Retail
  • Travel and tourism
  • Financial services
  • Technology
  • Manufacturing
  • E-commerce
  • Localization
  • Personalization
  • Portals and knowledge bases
  • Academy
  • Docs
  • Product updates
  • Contentstack on Contentstack
  • Blog
  • Insights and analyst reports
  • Webinars
  • Podcasts
  • Glossary
  • Content generative library
  • Community
  • Headless CMS
  • Composable AXP
  • Personalization
  • CDP
  • Case Studies
  • Customer Care
  • Contentstack Experience Awards
  • Customer support
  • Overview
  • Find a partner
  • Login
  • About us
  • News
  • Customer support portal
  • Contact
  • Facebook
  • LinkedIn
  • Instagram
  • Github
  • Youtube
  • Discord
  • X

Platform

  • Solution Center
  • Marketplace
  • Changelog
  • Developers & IT
  • Business users
  • Digital leaders
  • Developer Fast Track
  • Plans & Pricing

Solutions

  • Retail
  • Travel and tourism
  • Financial services
  • Technology
  • Manufacturing
  • E-commerce
  • Localization
  • Personalization
  • Portals and knowledge bases

Resources

  • Academy
  • Docs
  • Product updates
  • Contentstack on Contentstack
  • Blog
  • Insights and analyst reports
  • Webinars
  • Podcasts
  • Glossary
  • Content generative library
  • Community
  • Headless CMS
  • Composable AXP
  • Personalization
  • CDP

Customers

  • Case Studies
  • Customer Care
  • Contentstack Experience Awards
  • Customer support

Partners

  • Overview
  • Find a partner
  • Login

Company

  • About us
  • News
  • Customer support portal
  • Contact

Social

  • Facebook
  • LinkedIn
  • Instagram
  • Github
  • Youtube
  • Discord
  • X
LegalTermsPrivacyTrust Center

Cookie settings

Copyright © 2026 Contentstack Inc. All rights reserved.

AI Assistant

Ask a question below...

infoAI responses may contain mistakes.
/
  1. Home
  2. APIs
  3. Content Delivery API
  4. Taxonomy

Taxonomy

markdownView as Markdown

Taxonomy, simplifies the process of organizing content in your system, making it effortless to find and retrieve information. It allows you to arrange your web properties in a hierarchy according to your specific needs, whether it's their purpose, intended audience, or other aspects of your business.

NoteRefer to the Taxonomy Queries section for more query filters.

Get all taxonomies

GEThttps://cdn.contentstack.io/v3/taxonomies

The Get all taxonomies request retrieves all published taxonomies for the given environment.

Sample Response
Status|200 OK
12345678910111213141516
{
  "taxonomies": [
    {
      "uid": "categories",
      "name": "Categories",
      "description": "All categories for products.",
      "publish_details": {
        "time": "2025-09-01T13:19:28.365Z",
        "user": "blt368bfe4e50023d0e",
        "environment": "bltd7f8cacaf649b485",
        "locale": "en-us"
      }
    }
  ],
  "count": 1
}

Get a single taxonomy

GEThttps://cdn.contentstack.io/v3/taxonomies/{taxonomy_uid}

The Get a single taxonomy request retrieves details of a single published taxonomy.

Sample Response
Status|200 OK
12345678910111213
{
  "taxonomy": {
    "uid": "categories",
    "name": "Categories",
    "description": "All categories for products.",
    "publish_details": {
      "time": "2025-09-01T13:19:28.365Z",
      "user": "blt368bfe4e50023d0e",
      "environment": "bltd7f8cacaf649b485",
      "locale": "en-us"
    }
  }
}

Get all terms

GEThttps://cdn.contentstack.io/v3/taxonomies/{taxonomy_uid}/terms

The Get all terms request retrieves all published terms in a taxonomy for the specified environment and locale.

Sample Response
Status|200 OK
1234567891011121314151617
{
  "terms": [
    {
      "uid": "california",
      "name": "California",
      "parent_uid": "usa",
      "taxonomy_uid": "regions",
      "order": 1,
      "locale": "en-us",
      "created_at": "2024-02-01T10:30:00.000Z",
      "updated_at": "2024-02-01T10:30:00.000Z",
      "created_by": "admin",
      "updated_by": "admin"
    }
  ],
  "count": 1
}

Get a single term

GEThttps://cdn.contentstack.io/v3/taxonomies/{taxonomy_uid}/terms/{term_uid}

The Get a single term request retrieves a specific published term within a taxonomy.

Sample Response
Status|200 OK
123456789101112131415
{
  "term": {
    "uid": "gaming_laptops",
    "name": "Gaming Laptops",
    "parent_uid": "laptops",
    "order": 1,
    "locale": "en-us",
    "publish_details": {
      "time": "2025-09-01T13:19:28.365Z",
      "user": "blt368bfe4e50023d0e",
      "environment": "bltd7f8cacaf649b485",
      "locale": "en-us"
    }
  }
}

Get a single term in all locales

GEThttps://cdn.contentstack.io/v3/taxonomies/{taxonomy_uid}/terms/{term_uid}/locales

The Get a single term in all locales request retrieves all localized versions of a published term.

Sample Response
Status|200 OK
1234567891011121314151617181920212223242526
{
  "terms": [
    {
      "uid": "gaming_laptops",
      "name": "Gaming Laptops",
      "locale": "en-us",
      "publish_details": {
        "time": "2025-09-01T13:19:28.365Z",
        "user": "blt368bfe4e50023d0e",
        "environment": "bltd7f8cacaf649b485",
        "locale": "en-us"
      }
    },
    {
      "uid": "gaming_laptops",
      "name": "Ordinateurs Portables de Jeu",
      "locale": "fr-fr",
      "publish_details": {
        "time": "2025-09-01T13:25:00.000Z",
        "user": "blt368bfe4e50023d0e",
        "environment": "bltd7f8cacaf649b485",
        "locale": "fr-fr"
      }
    }
  ]
}

Get descendants of a term

GEThttps://cdn.contentstack.io/v3/taxonomies/{taxonomy_uid}/terms/{term_uid}/descendants

The Get descendants of a term request retrieves all descendant terms of a given term.

Sample Response
Status|200 OK
123456789101112131415161718
{
  "term": {
    "uid": "electronics",
    "name": "Electronics",
    "parent_uid": null,
    "order": 1,
    "locale": "en-us",
    "descendants": [
      {
        "uid": "laptops",
        "name": "Laptops",
        "parent_uid": "electronics",
        "order": 1,
        "locale": "en-us"
      }
    ]
  }
}

Get ancestors of a term

GEThttps://cdn.contentstack.io/v3/taxonomies/{taxonomy_uid}/terms/{term_uid}/ancestors

The Get ancestors of a term request retrieves all ancestor terms of a given term up to the root.

Sample Response
Status|200 OK
12345678910111213141516171819202122232425
{
  "term": {
    "uid": "gaming_laptops",
    "name": "Gaming Laptops",
    "parent_uid": "laptops",
    "order": 1,
    "locale": "en-us",
    "ancestors": [
      {
        "uid": "laptops",
        "name": "Laptops",
        "parent_uid": "electronics",
        "order": 1,
        "locale": "en-us"
      },
      {
        "uid":"electronics",
        "name": "Electronics",
        "parent_uid": null,
        "order": 1,
        "locale": "en-us"
      }
    ]
  }
}
Hide Parameters

Query Parameters

limitoptionalstring

Number of results to return.

Example:

5
skipoptionalstring

Number of results to skip (for pagination).

Example:

5

Headers

api_keyoptionalstring

Enter the API key of the stack.

Example:

your_stack_api_key
access_tokenoptionalstring

Enter your environment-specific delivery token. Check Authentication.

Example:

your_access_token
Hide Parameters

URL Parameters

taxonomy_uidoptionalstring

Enter the unique ID of the taxonomy you want to update. The UID of a taxonomy is unique across a stack.

Example:

categories

Query Parameters

limitoptionalstring

Number of results to return.

Example:

5
skipoptionalstring

Number of results to skip (for pagination).

Example:

5

Headers

api_keyoptionalstring

Enter the API key of the stack.

Example:

your_stack_api_key
access_tokenoptionalstring

Enter your environment-specific delivery token. Check Authentication.

Example:

your_access_token
Hide Parameters

URL Parameters

taxonomy_uidoptionalstring

Enter the unique ID of the taxonomy you want to update. The UID of a taxonomy is unique across a stack.

Example:

categories

Query Parameters

limitoptionalstring

Number of results to return.

Example:

5
skipoptionalstring

Number of results to skip (for pagination).

Example:

5
depthoptionalstring

Depth of term hierarchy to retrieve.

Example:

2

Headers

api_keyoptionalstring

Enter the API key of the stack.

Example:

your_stack_api_key
access_tokenoptionalstring

Enter your environment-specific delivery token. Check Authentication.

Example:

your_access_token
Hide Parameters

URL Parameters

taxonomy_uidoptionalstring

Enter the unique ID of the taxonomy you want to update. The UID of a taxonomy is unique across a stack.

Example:

categories
term_uidoptionalstring

Enter the unique ID of the term of which you want to retrieve the details. The UID of a term is unique across a stack.

Example:

gaming_laptops

Query Parameters

limitoptionalstring

Number of results to return.

Example:

5
skipoptionalstring

Number of results to skip (for pagination).

Example:

5
depthoptionalstring

Depth of term hierarchy to retrieve.

Example:

2

Headers

api_keyoptionalstring

Enter the API key of the stack.

Example:

your_stack_api_key
access_tokenoptionalstring

Enter your environment-specific delivery token. Check Authentication.

Example:

your_access_token
Hide Parameters

URL Parameters

taxonomy_uidoptionalstring

Enter the unique ID of the taxonomy you want to update. The UID of a taxonomy is unique across a stack.

Example:

categories
term_uidoptionalstring

Enter the unique ID of the term of which you want to retrieve the details. The UID of a term is unique across a stack.

Example:

gaming_laptops

Query Parameters

limitoptionalstring

Number of results to return.

Example:

5
skipoptionalstring

Number of results to skip (for pagination).

Example:

5

Headers

api_keyoptionalstring

Enter the API key of the stack.

Example:

your_stack_api_key
access_tokenoptionalstring

Enter your environment-specific delivery token. Check Authentication.

Example:

your_access_token
Hide Parameters

URL Parameters

taxonomy_uidoptionalstring

Enter the unique ID of the taxonomy you want to update. The UID of a taxonomy is unique across a stack.

Example:

categories
term_uidoptionalstring

Enter the unique ID of the term of which you want to retrieve the details. The UID of a term is unique across a stack.

Example:

gaming_laptops

Query Parameters

limitoptionalstring

Number of results to return.

Example:

5
skipoptionalstring

Number of results to skip (for pagination).

Example:

5
depthoptionalstring

Depth of term hierarchy to retrieve.

Example:

2

Headers

api_keyoptionalstring

Enter the API key of the stack.

Example:

your_stack_api_key
access_tokenoptionalstring

Enter your environment-specific delivery token. Check Authentication.

Example:

your_access_token
Hide Parameters

URL Parameters

taxonomy_uidoptionalstring

Enter the unique ID of the taxonomy you want to update. The UID of a taxonomy is unique across a stack.

Example:

categories
term_uidoptionalstring

Enter the unique ID of the term of which you want to retrieve the details. The UID of a term is unique across a stack.

Example:

gaming_laptops

Query Parameters

limitoptionalstring

Number of results to return.

Example:

5
skipoptionalstring

Number of results to skip (for pagination).

Example:

5
depthoptionalstring

Depth of term hierarchy to retrieve.

Example:

2

Headers

api_keyoptionalstring

Enter the API key of the stack.

Example:

your_stack_api_key
access_tokenoptionalstring

Enter your environment-specific delivery token. Check Authentication.

Example:

your_access_token