Retrieve a specific blog post tag by its unique slug identifier, providing detailed tag information and optional recent posts integration. Tags provide granular categorization and labeling for blog content, enabling detailed content organization and enhanced discovery capabilities.Tag Information: The tag object contains the display name (e.g., “API Development”) and URL-friendly slug identifier (e.g., “api-development”) that can be used for building tag-based navigation, content filtering, and topic-specific landing pages.Recent Posts Integration: Use the include=recent_posts parameter to enrich the response with the tag’s recent blog posts. This adds a recent_posts array containing up to 10 of the most recently published posts tagged with this tag, perfect for creating comprehensive tag pages that showcase both tag information and the latest related content.
Authorizations
readTokenAuthHeaderreadTokenAuthQuery
Authorization
string
header
required
Set the Authorization header to Token your_read_api_token.
Example: Authorization: Token abc123def456
Note: The header value includes the Token prefix. Authorization: Bearer ... is not accepted and returns 401.
You can access your API token from your settings page.
Path Parameters
slug
string
required
The unique slug identifier of the tag to retrieve.
Query Parameters
auth_token
string
Your ButterCMS read API token
include
enum<string>
Include additional data in the response.
When set to recent_posts, the tag object will include a recent_posts array containing the latest blog posts tagged with this tag (up to 10 posts, ordered by most recent first).
Available options:
recent_posts
locale
string
Filter the embedded recent_posts list to posts in the given locale (e.g. en, es). The tag itself is shared across locales and is always returned. When omitted, defaults to your organization's default locale.
Returns 400 if the value is not a locale configured on your organization.
Maximum string length: 10
Response
Tag retrieved successfully
Response structure for retrieving a single tag
data
object
Single tag object
Show child attributes
Was this page helpful?
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"ButterCMS Docs","colors":{"primary":"#0505e5","light":"#5050ff","dark":"#0000a0"},"logo":{"light":"https://cdn.buttercms.com/nDD3LeMXQxiR9aJRpRLE","dark":"https://cdn.buttercms.com/nDD3LeMXQxiR9aJRpRLE","href":"https://buttercms.com"},"favicon":"https://mintcdn.com/buttercms/ADHjuou5Js2KRBnv/favicon.svg?fit=max\u0026auto=format\u0026n=ADHjuou5Js2KRBnv\u0026q=85\u0026s=719e07eca4e3b3446e3ba6621a6095f0","navbar":{"links":[{"href":"https://buttercms.com/sales/","label":"Request a Demo"}],"primary":{"type":"button","label":"Start for Free","href":"https://app.buttercms.com/join/"}},"seo":{"metatags":{"canonical":"https://buttercms.com/docs","robots":"noindex, nofollow"}},"integrations":{"gtm":{"tagId":"GTM-W7DPCL97"}},"interaction":{"drilldown":true},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"buttercms","hasAudioNarration":false,"actualSubdomain":"buttercms","customDomains":["buttercms.com"],"gitSource":{"type":"github","owner":"buttercms","repo":"buttercms","deployBranch":"master","contentDirectory":"unified-docs","isPrivate":true,"mountPath":"","label":""},"feedback":{"thumbs":true,"agentFeedback":true},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6afd6c61c83bd67fa977217d","clientVersion":"0.0.4271","searchFilterCounts":[{"language":"default","tag":"Frameworks","count":79},{"language":"default","tag":"Build your app","count":74},{"language":"default","tag":"Create content","count":74},{"language":"default","tag":"API Reference","count":63},{"language":"default","tag":"Creating and editing content","count":24},{"language":"default","tag":"Core concepts","count":23},{"language":"default","tag":"Starter projects","count":21},{"language":"default","tag":"All starter projects","count":20},{"language":"default","tag":"Webhooks API","count":19},{"language":"default","tag":"How-to recipes","count":18}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"/docs","hasChatPermissions":false,"hasWebMcpPermissions":true,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"site-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":".mermaid .node rect,.mermaid .node circle,.mermaid .node ellipse,.mermaid .node polygon{fill:#f0f4ff!important;stroke:#0505e5!important;stroke-width:2px!important}.mermaid .node .label,.mermaid .node text,.mermaid .nodeLabel{font-family:'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif!important;fill:#000022!important;font-size:14px!important;font-weight:500!important}.mermaid .cluster rect{fill:#f8fafc!important;stroke:#5050ff!important;stroke-width:2px!important;rx:8px!important;ry:8px!important}.mermaid .cluster text,.mermaid .cluster .nodeLabel{fill:#0505e5!important;font-weight:600!important;font-size:15px!important}.mermaid .edgePath .path,.mermaid .flowchart-link{stroke:#5050ff!important;stroke-width:2px!important}.mermaid .arrowheadPath,.mermaid marker path{fill:#5050ff!important;stroke:#5050ff!important}.mermaid .edgeLabel,.mermaid .edgeLabel rect{background-color:#ffffff!important;fill:#ffffff!important}.mermaid .edgeLabel p,.mermaid .edgeLabel>p,.mermaid .edgeLabel div,.mermaid .edgeLabel>div{background:#f8fafc!important}.mermaid .edgeLabel text,.mermaid .edgeLabel .label{fill:#000022!important;font-size:12px!important}.mermaid .actor{fill:#f0f4ff!important;stroke:#0505e5!important;stroke-width:2px!important}.mermaid .actor-line{stroke:#5050ff!important;stroke-width:1px!important}.mermaid text.actor{fill:#000022!important;font-weight:600!important}.mermaid .messageText{fill:#000022!important;font-size:13px!important}.mermaid .messageLine0,.mermaid .messageLine1{stroke:#5050ff!important;stroke-width:1.5px!important}.mermaid .note{fill:#fbe700!important;stroke:#c4b800!important}.mermaid .noteText{fill:#000022!important}.mermaid .statediagram-state rect{fill:#f0f4ff!important;stroke:#0505e5!important;stroke-width:2px!important;rx:6px!important}.mermaid .state-start,.mermaid .state-end{fill:#0505e5!important}.mermaid .pieTitleText{fill:#0505e5!important;font-weight:600!important;font-size:16px!important}.mermaid .classGroup rect{fill:#f0f4ff!important;stroke:#0505e5!important}.mermaid .classGroup text{fill:#000022!important}.mermaid .er.entityBox{fill:#f0f4ff!important;stroke:#0505e5!important}.mermaid .section{fill:#f0f4ff!important}.mermaid .task{fill:#5050ff!important;stroke:#0505e5!important}.mermaid .taskText{fill:#ffffff!important}.mermaid,pre:has(.mermaid),div:has(>.mermaid){max-width:100%!important;min-width:100%!important;padding:1.5rem!important}.mermaid svg{width:100%!important;max-width:100%!important;height:auto!important;min-height:200px!important;max-height:800px!important}.dark .mermaid .edgeLabel p,.dark .mermaid .edgeLabel>p,.dark .mermaid .edgeLabel div,.dark .mermaid .edgeLabel>div{background:#1a1a2e!important}.dark .mermaid{background:#1a1a2e!important}.dark .mermaid .node rect,.dark .mermaid .node circle,.dark .mermaid .node ellipse{fill:#2a2a4a!important;stroke:#5050ff!important}.dark .mermaid .node text,.dark .mermaid .nodeLabel{fill:#e0e0e0!important}.dark .mermaid .cluster rect{fill:#1e1e3a!important;stroke:#5050ff!important}.dark .mermaid .cluster text{fill:#8080ff!important}.dark .mermaid .edgePath .path,.dark .mermaid .flowchart-link{stroke:#7070ff!important}.dark .mermaid .arrowheadPath{fill:#7070ff!important}.dark .mermaid .edgeLabel rect{fill:#1a1a2e!important}.dark .mermaid .edgeLabel text{fill:#e0e0e0!important}.diagram-modal-toggle{display:none}.diagram-container{position:relative}.diagram-preview{position:relative;display:block;cursor:zoom-in;transition:opacity 0.2s ease}.diagram-preview:hover{opacity:0.95}.diagram-expand-hint{position:absolute;top:12px;right:12px;background:rgba(255, 255, 255, 0.95);color:#0505e5;padding:6px 12px;border-radius:6px;font-size:12px;font-weight:500;opacity:0;transition:opacity 0.2s ease;pointer-events:none;box-shadow:0 2px 8px rgba(0, 0, 0, 0.15);z-index:10}.diagram-preview:hover .diagram-expand-hint{opacity:1}.dark .diagram-expand-hint{background:rgba(30, 30, 46, 0.95);color:#8080ff}.diagram-modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:rgba(0, 0, 0, 0.9);display:none;align-items:center;justify-content:center;z-index:9999;padding:2rem;cursor:zoom-out}.diagram-modal-toggle:checked~.diagram-modal-overlay{display:flex;animation:fadeIn 0.2s ease}.diagram-modal-content{max-width:90vw;max-height:90vh;background:#ffffff;border-radius:12px;padding:2rem;box-shadow:0 20px 60px rgba(0, 0, 0, 0.5);cursor:default;overflow:auto}.dark .diagram-modal-content{background:#1a1a2e}.diagram-modal-toggle:checked~*{overflow:hidden}.mermaid-lightbox-wrapper{position:relative;cursor:zoom-in;transition:all 0.2s ease}.mermaid-lightbox-wrapper:hover{opacity:0.95}.mermaid-expand-icon{position:absolute;top:12px;right:12px;width:32px;height:32px;display:flex;align-items:center;justify-content:center;background:rgba(255, 255, 255, 0.95);border-radius:6px;box-shadow:0 2px 8px rgba(0, 0, 0, 0.15);opacity:0;transition:opacity 0.2s ease, transform 0.2s ease;pointer-events:none;z-index:10}.mermaid-lightbox-wrapper:hover .mermaid-expand-icon{opacity:1;transform:scale(1.05)}.mermaid-expand-icon svg{width:18px;height:18px;color:#0505e5}.dark .mermaid-expand-icon{background:rgba(30, 30, 46, 0.95)}.dark .mermaid-expand-icon svg{color:#8080ff}.mermaid-lightbox-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:rgba(0, 0, 0, 0.9);display:flex;align-items:center;justify-content:center;z-index:9999;padding:2rem;animation:fadeIn 0.2s ease;cursor:zoom-out}@keyframes fadeIn{from{opacity:0}to{opacity:1}}.mermaid-lightbox-content{max-width:90vw;max-height:90vh;background:#ffffff;border-radius:12px;padding:2rem;box-shadow:0 20px 60px rgba(0, 0, 0, 0.5);cursor:default;overflow:auto}.dark .mermaid-lightbox-content{background:#1a1a2e}.mermaid-lightbox-content .mermaid{padding:0!important}.mermaid-lightbox-content .mermaid svg{max-height:85vh!important;width:auto!important;max-width:85vw!important}.mermaid-lightbox-close{position:fixed;top:1.5rem;right:1.5rem;width:48px;height:48px;display:flex;align-items:center;justify-content:center;background:rgba(255, 255, 255, 0.95);border:none;border-radius:50%;cursor:pointer;box-shadow:0 4px 12px rgba(0, 0, 0, 0.3);transition:all 0.2s ease;z-index:10000}.mermaid-lightbox-close:hover{transform:scale(1.1);background:#ffffff}.mermaid-lightbox-close svg{width:24px;height:24px;color:#000022}.dark .mermaid-lightbox-close{background:rgba(30, 30, 46, 0.95)}.dark .mermaid-lightbox-close:hover{background:#1e1e3a}.dark .mermaid-lightbox-close svg{color:#e0e0e0}.mermaid-scroll-zoom{overflow:auto;max-height:500px;border:1px solid #e5e7eb;border-radius:12px;background:#ffffff;margin:1rem 0;cursor:grab;position:relative}.mermaid-scroll-zoom:active{cursor:grabbing}.dark .mermaid-scroll-zoom{border-color:#374151;background:#1a1a2e}.mermaid-scroll-zoom .mermaid{padding:1.5rem!important;min-width:100%;width:max-content}.mermaid-scroll-zoom .mermaid svg{min-width:120%;max-width:none!important;max-height:none!important;height:auto!important;transform-origin:top left}.mermaid-zoom-hint{text-align:center;font-size:12px;color:#6b7280;margin:0.5rem 0 1rem 0;font-style:italic}.dark .mermaid-zoom-hint{color:#9ca3af}.mermaid-scroll-zoom::-webkit-scrollbar{width:8px;height:8px}.mermaid-scroll-zoom::-webkit-scrollbar-track{background:#f1f1f1;border-radius:4px}.mermaid-scroll-zoom::-webkit-scrollbar-thumb{background:#c1c1c1;border-radius:4px}.mermaid-scroll-zoom::-webkit-scrollbar-thumb:hover{background:#a1a1a1}.dark .mermaid-scroll-zoom::-webkit-scrollbar-track{background:#2a2a4a}.dark .mermaid-scroll-zoom::-webkit-scrollbar-thumb{background:#4a4a6a}.dark .mermaid-scroll-zoom::-webkit-scrollbar-thumb:hover{background:#5a5a7a}@media (max-width: 768px){.mermaid-lightbox-overlay{padding:1rem}.mermaid-lightbox-content{max-width:95vw;max-height:95vh;padding:1rem}.mermaid-lightbox-content .mermaid svg{max-height:90vh!important;max-width:90vw!important}.mermaid-lightbox-close{width:40px;height:40px;top:1rem;right:1rem}.mermaid-lightbox-close svg{width:20px;height:20px}.mermaid-expand-icon{opacity:0.8}}"}]}
{"page":{"pagePath":"api-reference/blog-metadata/retrieve-tag","slug":"/api-reference/blog-metadata/retrieve-tag","pageMetadata":{"title":"Retrieve Tag","description":"Retrieve a specific blog post tag by slug with tag details and optional recent posts integration.","deprecated":null,"version":null,"openapi":"/api/openapi/read_api.yaml get /tags/{slug}/","href":"/api-reference/blog-metadata/retrieve-tag","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Retrieve a specific blog post tag by slug with tag details and optional recent posts integration.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={code:`code`,p:`p`,strong:`strong`,..._provideComponents(),...props.components};return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`Retrieve a specific blog post tag by its unique slug identifier, providing detailed tag information and optional recent posts integration. Tags provide granular categorization and labeling for blog content, enabling detailed content organization and enhanced discovery capabilities.`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Tag Information`}),`: The tag object contains the display name (e.g., “API Development”) and URL-friendly slug identifier (e.g., “api-development”) that can be used for building tag-based navigation, content filtering, and topic-specific landing pages.`]}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Recent Posts Integration`}),`: Use the `,_jsx(_components.code,{children:`include=recent_posts`}),` parameter to enrich the response with the tag’s recent blog posts. This adds a `,_jsx(_components.code,{children:`recent_posts`}),` array containing up to 10 of the most recently published posts tagged with this tag, perfect for creating comprehensive tag pages that showcase both tag information and the latest related content.`]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Retrieve Tag","description":"Retrieve a specific blog post tag by slug with tag details and optional recent posts integration.","deprecated":null,"version":null,"openapi":"/api/openapi/read_api.yaml get /tags/{slug}/","href":"/api-reference/blog-metadata/retrieve-tag","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"tags":["Blog metadata"],"summary":"Retrieve Tag","description":"Retrieve a specific blog post tag by slug with tag details and optional recent posts integration.","x-mint":{"metadata":{"description":"Retrieve a specific blog post tag by slug with tag details and optional recent posts integration."},"content":"Retrieve a specific blog post tag by its unique slug identifier, providing detailed tag information and optional recent posts integration. Tags provide granular categorization and labeling for blog content, enabling detailed content organization and enhanced discovery capabilities.\n\n**Tag Information**: The tag object contains the display name (e.g., \"API Development\") and URL-friendly slug identifier (e.g., \"api-development\") that can be used for building tag-based navigation, content filtering, and topic-specific landing pages.\n\n**Recent Posts Integration**: Use the `include=recent_posts` parameter to enrich the response with the tag's recent blog posts. This adds a `recent_posts` array containing up to 10 of the most recently published posts tagged with this tag, perfect for creating comprehensive tag pages that showcase both tag information and the latest related content.\n"},"operationId":"retrieveTag","parameters":["105545ff-3ab6-4235-a72c-a2afd7c5d19c","833fe3a8-32ae-49ec-8dd9-5d2e3c971988","4fbef4de-b82c-4da4-bf4e-9a831a8a4484","e14f2b5d-c3c5-4585-81c0-db73c1369572"],"responses":{"200":"1455f334-bbd6-4c99-b93f-e1d53ee343e4","401":"bac82183-3455-49de-bfcd-f4cbc5b41527","404":"854f1f71-211f-4baa-bfaa-4df8405ef47a"},"security":["ae9d1145-ac3b-4a0c-a930-b83363ebc935","bfa8ed85-23da-4a40-805c-c3374bbef91c"],"method":"get","type":"path","servers":["5245510f-95b6-4fd0-b4e8-4159dcc1f97b"],"path":"/tags/{slug}/","baseUrlOptions":["https://api.buttercms.com/v2"],"title":"Retrieve Tag","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"105545ff-3ab6-4235-a72c-a2afd7c5d19c":{"name":"slug","in":"path","required":true,"schema":{"type":"string","isRequired":true,"description":"The unique slug identifier of the tag to retrieve.\n","uniqueKey":"","typeLabel":"string"},"description":"The unique slug identifier of the tag to retrieve.\n","example":"api-development"},"833fe3a8-32ae-49ec-8dd9-5d2e3c971988":{"name":"auth_token","in":"query","required":false,"schema":{"type":"string","isRequired":false,"description":"Your ButterCMS read API token\n","uniqueKey":"","typeLabel":"string"},"description":"Your ButterCMS read API token\n","example":"your_api_token"},"4fbef4de-b82c-4da4-bf4e-9a831a8a4484":{"name":"include","in":"query","required":false,"schema":{"type":"string","enum":["recent_posts"],"isRequired":false,"description":"Include additional data in the response.\n\nWhen set to `recent_posts`, the tag object will include a `recent_posts` array containing the latest blog posts tagged with this tag (up to 10 posts, ordered by most recent first).\n","uniqueKey":"","typeLabel":"enum\u003cstring>"},"description":"Include additional data in the response.\n\nWhen set to `recent_posts`, the tag object will include a `recent_posts` array containing the latest blog posts tagged with this tag (up to 10 posts, ordered by most recent first).\n","example":"recent_posts"},"e14f2b5d-c3c5-4585-81c0-db73c1369572":{"name":"locale","in":"query","description":"Filter the embedded `recent_posts` list to posts in the given locale (e.g. `en`, `es`). The tag itself is shared across locales and is always returned. When omitted, defaults to your organization's default locale.\n\nReturns `400` if the value is not a locale configured on your organization.\n","required":false,"schema":{"type":"string","maxLength":10,"isRequired":false,"description":"Filter the embedded `recent_posts` list to posts in the given locale (e.g. `en`, `es`). The tag itself is shared across locales and is always returned. When omitted, defaults to your organization's default locale.\n\nReturns `400` if the value is not a locale configured on your organization.\n","uniqueKey":"","typeLabel":"string"},"example":"en"}},"responses":{"1455f334-bbd6-4c99-b93f-e1d53ee343e4":{"description":"Tag retrieved successfully","content":{"application/json":{"schema":{"type":"object","description":"Response structure for retrieving a single tag","properties":{"data":{"type":"object","description":"Single tag object","properties":{"name":{"type":"string","description":"Display name of the tag","example":"API Development","uniqueKey":"data.name","typeLabel":"string"},"slug":{"type":"string","description":"URL-friendly slug of the tag","example":"api-development","uniqueKey":"data.slug","typeLabel":"string"},"recent_posts":{"type":"array","items":{"type":"object","description":"Complete blog post object with all fields and related data","properties":{"url":{"oneOf":[{"type":"string","format":"uri","description":"Full URL to the blog post. Null when no blog base URL is configured for your account.","example":"http://www.example.com/blog/this-is-a-blog-post","uniqueKey":"data.recent_posts.items.[INDEX].url.oneOf.0","typeLabel":"string\u003curi>"},{"type":"null","format":"uri","description":"Full URL to the blog post. Null when no blog base URL is configured for your account.","example":"http://www.example.com/blog/this-is-a-blog-post","uniqueKey":"data.recent_posts.items.[INDEX].url.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.recent_posts.items.[INDEX].url","typeLabel":"string\u003curi> | null"},"created":{"type":"string","format":"date-time","description":"Timestamp when the blog post was created","example":"2020-10-08T18:29:19.987936Z","uniqueKey":"data.recent_posts.items.[INDEX].created","typeLabel":"string\u003cdate-time>"},"updated":{"type":"string","format":"date-time","description":"Timestamp when the blog post was last updated","example":"2020-10-09T15:49:54.580309Z","uniqueKey":"data.recent_posts.items.[INDEX].updated","typeLabel":"string\u003cdate-time>"},"published":{"oneOf":[{"type":"string","format":"date-time","description":"Timestamp when the blog post was published","example":"2020-10-08T18:08:00Z","uniqueKey":"data.recent_posts.items.[INDEX].published.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"Timestamp when the blog post was published","example":"2020-10-08T18:08:00Z","uniqueKey":"data.recent_posts.items.[INDEX].published.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.recent_posts.items.[INDEX].published","typeLabel":"string\u003cdate-time> | null"},"author":{"type":"object","description":"Author information for blog posts","properties":{"first_name":{"type":"string","description":"Author's first name","example":"API","uniqueKey":"data.recent_posts.items.[INDEX].author.first_name","typeLabel":"string"},"last_name":{"type":"string","description":"Author's last name","example":"Test","uniqueKey":"data.recent_posts.items.[INDEX].author.last_name","typeLabel":"string"},"email":{"oneOf":[{"type":"string","format":"email","description":"Author's email address. Returned as `null` unless **Include author email addresses in Blog API responses** is enabled under Settings → General.","example":"apitest@buttercms.com","uniqueKey":"data.recent_posts.items.[INDEX].author.email.oneOf.0","typeLabel":"string\u003cemail>"},{"type":"null","format":"email","description":"Author's email address. Returned as `null` unless **Include author email addresses in Blog API responses** is enabled under Settings → General.","example":"apitest@buttercms.com","uniqueKey":"data.recent_posts.items.[INDEX].author.email.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.recent_posts.items.[INDEX].author.email","typeLabel":"string\u003cemail> | null"},"slug":{"type":"string","description":"Author's URL-friendly slug","example":"api-test","uniqueKey":"data.recent_posts.items.[INDEX].author.slug","typeLabel":"string"},"bio":{"type":"string","description":"Author's biography","example":"This is my bio.","uniqueKey":"data.recent_posts.items.[INDEX].author.bio","typeLabel":"string"},"title":{"type":"string","description":"Author's professional title","example":"API","uniqueKey":"data.recent_posts.items.[INDEX].author.title","typeLabel":"string"},"linkedin_url":{"type":"string","format":"uri","description":"Author's LinkedIn profile URL. Empty string if not set, never null.","example":"https://www.linkedin.com/in/API","uniqueKey":"data.recent_posts.items.[INDEX].author.linkedin_url","typeLabel":"string\u003curi>"},"facebook_url":{"type":"string","format":"uri","description":"Author's Facebook profile URL. Empty string if not set, never null.","example":"https://www.facebook.com/API","uniqueKey":"data.recent_posts.items.[INDEX].author.facebook_url","typeLabel":"string\u003curi>"},"twitter_handle":{"type":"string","description":"Author's Twitter handle","example":"buttercmsapi","uniqueKey":"data.recent_posts.items.[INDEX].author.twitter_handle","typeLabel":"string"},"instagram_url":{"type":"string","format":"uri","description":"Author's Instagram profile URL. Empty string if not set, never null.","example":"https://www.instagram.com/API","uniqueKey":"data.recent_posts.items.[INDEX].author.instagram_url","typeLabel":"string\u003curi>"},"pinterest_url":{"type":"string","format":"uri","description":"Author's Pinterest profile URL. Empty string if not set, never null.","example":"https://www.pinterest.com/API","uniqueKey":"data.recent_posts.items.[INDEX].author.pinterest_url","typeLabel":"string\u003curi>"},"profile_image":{"type":"string","format":"uri","description":"URL to author's profile image. Empty string if not set, never null.","example":"https://buttercms.com/api.png","uniqueKey":"data.recent_posts.items.[INDEX].author.profile_image","typeLabel":"string\u003curi>"}},"uniqueKey":"data.recent_posts.items.[INDEX].author","typeLabel":"object"},"categories":{"type":"array","items":{"type":"object","description":"Category information for blog posts","properties":{"name":{"type":"string","description":"Display name of the category","example":"test category","uniqueKey":"data.recent_posts.items.[INDEX].categories.items.[INDEX].name","typeLabel":"string"},"slug":{"type":"string","description":"URL-friendly slug of the category","example":"test-category","uniqueKey":"data.recent_posts.items.[INDEX].categories.items.[INDEX].slug","typeLabel":"string"}},"uniqueKey":"data.recent_posts.items.[INDEX].categories.items.[INDEX]","typeLabel":"object"},"description":"Array of categories assigned to the blog post","uniqueKey":"data.recent_posts.items.[INDEX].categories","typeLabel":"object[]"},"tags":{"type":"array","items":{"type":"object","description":"Tag information for blog posts","properties":{"name":{"type":"string","description":"Display name of the tag","example":"test tag","uniqueKey":"data.recent_posts.items.[INDEX].tags.items.[INDEX].name","typeLabel":"string"},"slug":{"type":"string","description":"URL-friendly slug of the tag","example":"test-tag","uniqueKey":"data.recent_posts.items.[INDEX].tags.items.[INDEX].slug","typeLabel":"string"}},"uniqueKey":"data.recent_posts.items.[INDEX].tags.items.[INDEX]","typeLabel":"object"},"description":"Array of tags assigned to the blog post","uniqueKey":"data.recent_posts.items.[INDEX].tags","typeLabel":"object[]"},"featured_image":{"oneOf":[{"type":"string","format":"uri","description":"URL to the featured image, null if no featured image","example":null,"uniqueKey":"data.recent_posts.items.[INDEX].featured_image.oneOf.0","typeLabel":"string\u003curi>"},{"type":"null","format":"uri","description":"URL to the featured image, null if no featured image","example":null,"uniqueKey":"data.recent_posts.items.[INDEX].featured_image.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.recent_posts.items.[INDEX].featured_image","typeLabel":"string\u003curi> | null"},"featured_image_alt":{"type":"string","description":"Alt text for the featured image","example":"","uniqueKey":"data.recent_posts.items.[INDEX].featured_image_alt","typeLabel":"string"},"slug":{"type":"string","description":"URL-friendly slug for the blog post","example":"this-is-a-blog-post","uniqueKey":"data.recent_posts.items.[INDEX].slug","typeLabel":"string"},"title":{"type":"string","description":"Title of the blog post","example":"This is a blog post","uniqueKey":"data.recent_posts.items.[INDEX].title","typeLabel":"string"},"body":{"type":"string","description":"HTML content body of the blog post (excluded if exclude_body=true)","example":"\u003cp class=\"\">This is a blog post to test the API.\u003c/p>","uniqueKey":"data.recent_posts.items.[INDEX].body","typeLabel":"string"},"summary":{"type":"string","description":"Plain text summary of the blog post","example":"This is a blog post to test the API.","uniqueKey":"data.recent_posts.items.[INDEX].summary","typeLabel":"string"},"seo_title":{"type":"string","description":"SEO-optimized title for the blog post","example":"This is a blog post","uniqueKey":"data.recent_posts.items.[INDEX].seo_title","typeLabel":"string"},"meta_description":{"type":"string","description":"Meta description for SEO and social sharing","example":"This is a blog post to test the API.","uniqueKey":"data.recent_posts.items.[INDEX].meta_description","typeLabel":"string"},"status":{"type":"string","enum":["draft","published","scheduled"],"description":"Publication status of the blog post","example":"published","uniqueKey":"data.recent_posts.items.[INDEX].status","typeLabel":"enum\u003cstring>"},"scheduled":{"oneOf":[{"type":"string","format":"date-time","description":"Timestamp when the blog post is scheduled to be published. If not scheduled, this field will be null","example":null,"uniqueKey":"data.recent_posts.items.[INDEX].scheduled.oneOf.0","typeLabel":"string\u003cdate-time>"},{"type":"null","format":"date-time","description":"Timestamp when the blog post is scheduled to be published. If not scheduled, this field will be null","example":null,"uniqueKey":"data.recent_posts.items.[INDEX].scheduled.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.recent_posts.items.[INDEX].scheduled","typeLabel":"string\u003cdate-time> | null"}},"uniqueKey":"data.recent_posts.items.[INDEX]","typeLabel":"object"},"description":"Array of recent posts with this tag (only included when include=recent_posts parameter is used)","uniqueKey":"data.recent_posts","typeLabel":"object[]"}},"uniqueKey":"data","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"basic_tag":{"title":"basic_tag","summary":"Basic tag without recent posts","value":{"data":{"name":"API Development","slug":"api-development"}}},"tag_with_posts":{"title":"tag_with_posts","summary":"Tag with recent posts included","value":{"data":{"name":"API Development","slug":"api-development","recent_posts":[{"url":"http://www.example.com/blog/rest-api-best-practices","created":"2024-01-22T09:00:00.000Z","updated":"2024-01-22T09:00:00.000Z","published":"2024-01-22T09:00:00.000Z","author":{"first_name":"API","last_name":"Test","email":"apitest@buttercms.com","slug":"api-test","bio":"This is my bio.","title":"API","linkedin_url":"","facebook_url":"","twitter_handle":"buttercmsapi","profile_image":""},"categories":[],"tags":[],"featured_image":null,"featured_image_alt":"","slug":"rest-api-best-practices","title":"REST API Best Practices for Modern Development","body":"\u003cp>Post body.\u003c/p>","summary":"REST API Best Practices for Modern Development","seo_title":"REST API Best Practices for Modern Development","meta_description":"REST API Best Practices for Modern Development","status":"published"},{"url":"http://www.example.com/blog/graphql-vs-rest","created":"2024-01-18T14:30:00.000Z","updated":"2024-01-18T14:30:00.000Z","published":"2024-01-18T14:30:00.000Z","author":{"first_name":"API","last_name":"Test","email":"apitest@buttercms.com","slug":"api-test","bio":"This is my bio.","title":"API","linkedin_url":"","facebook_url":"","twitter_handle":"buttercmsapi","profile_image":""},"categories":[],"tags":[],"featured_image":null,"featured_image_alt":"","slug":"graphql-vs-rest","title":"GraphQL vs REST: Choosing the Right API","body":"\u003cp>Post body.\u003c/p>","summary":"GraphQL vs REST: Choosing the Right API","seo_title":"GraphQL vs REST: Choosing the Right API","meta_description":"GraphQL vs REST: Choosing the Right API","status":"published"},{"url":"http://www.example.com/blog/api-versioning-strategies","created":"2024-01-14T16:15:00.000Z","updated":"2024-01-14T16:15:00.000Z","published":"2024-01-14T16:15:00.000Z","author":{"first_name":"API","last_name":"Test","email":"apitest@buttercms.com","slug":"api-test","bio":"This is my bio.","title":"API","linkedin_url":"","facebook_url":"","twitter_handle":"buttercmsapi","profile_image":""},"categories":[],"tags":[],"featured_image":null,"featured_image_alt":"","slug":"api-versioning-strategies","title":"API Versioning Strategies for Long-term Success","body":"\u003cp>Post body.\u003c/p>","summary":"API Versioning Strategies for Long-term Success","seo_title":"API Versioning Strategies for Long-term Success","meta_description":"API Versioning Strategies for Long-term Success","status":"published"}]}}}},"exampleType":"examples"}},"exampleType":"examples"},"bac82183-3455-49de-bfcd-f4cbc5b41527":{"description":"Unauthorized - Invalid or missing API token","content":{"application/json":{"schema":{"type":"object","properties":{"detail":{"type":"string","description":"Error message describing what went wrong","example":"Authentication credentials were not provided.","uniqueKey":"detail","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"missing_token":{"title":"missing_token","summary":"Missing API token (most Read endpoints)","description":"The message most Read API endpoints (Pages, Blog Posts, Blog metadata, Feeds, `/v2/content/?keys=` and single collection items) return for a missing token.","value":{"detail":"Incorrect authentication credentials."}},"missing_token_collections":{"title":"missing_token_collections","summary":"Missing API token (writes, collection by key, page search)","description":"Write requests, `GET /v2/content/{key}/` and `GET /v2/pages/search/` return this message instead for a missing token.","value":{"detail":"Authentication credentials were not provided."}},"invalid_token":{"title":"invalid_token","summary":"Invalid API token","value":{"detail":"Invalid token."}}},"exampleType":"examples"}},"exampleType":"examples"},"854f1f71-211f-4baa-bfaa-4df8405ef47a":{"description":"Not Found - Tag with specified slug does not exist","content":{"application/json":{"schema":{"type":"object","properties":{"detail":{"type":"string","description":"Error message describing what went wrong","example":"Authentication credentials were not provided.","uniqueKey":"detail","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"examples":{"tag_not_found":{"title":"tag_not_found","summary":"Tag not found","value":{"detail":"Not found."}}},"exampleType":"examples"}},"exampleType":"examples"}},"security":{"ae9d1145-ac3b-4a0c-a930-b83363ebc935":{"readTokenAuthHeader":{"type":"apiKey","in":"header","name":"Authorization","description":"Set the `Authorization` header to `Token your_read_api_token`.\n\nExample: `Authorization: Token abc123def456`\n\nNote: The header value includes the `Token` prefix. `Authorization: Bearer ...` is not accepted and returns 401.\n\nYou can access your API token from your settings page.\n","scopes":[],"schemeName":"readTokenAuthHeader"}},"bfa8ed85-23da-4a40-805c-c3374bbef91c":{"readTokenAuthQuery":{"type":"apiKey","in":"query","name":"auth_token","description":"Pass your API token via the `auth_token` parameter on every request: `?auth_token=your_read_api_token`.\n\nYou can access your API token from your settings page.\n\nRequests made with a missing or invalid token will get a 401 Unauthorized response. All requests must be made over HTTPS.\n","scopes":[],"schemeName":"readTokenAuthQuery"}}},"servers":{"5245510f-95b6-4fd0-b4e8-4159dcc1f97b":{"url":"https://api.buttercms.com/v2","description":"ButterCMS API v2"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"apiKey","in":"header","name":"Authorization","description":"Set the `Authorization` header to `Token your_read_api_token`.\n\nExample: `Authorization: Token abc123def456`\n\nNote: The header value includes the `Token` prefix. `Authorization: Bearer ...` is not accepted and returns 401.\n\nYou can access your API token from your settings page.\n","scopes":[],"schemeName":"readTokenAuthHeader"},"schema":{"title":"Authorization","type":"string","description":"Set the `Authorization` header to `Token your_read_api_token`.\n\nExample: `Authorization: Token abc123def456`\n\nNote: The header value includes the `Token` prefix. `Authorization: Bearer ...` is not accepted and returns 401.\n\nYou can access your API token from your settings page.\n","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"readTokenAuthHeader","name":"Authorization"}],"title":"readTokenAuthHeader"},{"schemes":[{"scheme":{"type":"apiKey","in":"query","name":"auth_token","description":"Pass your API token via the `auth_token` parameter on every request: `?auth_token=your_read_api_token`.\n\nYou can access your API token from your settings page.\n\nRequests made with a missing or invalid token will get a 401 Unauthorized response. All requests must be made over HTTPS.\n","scopes":[],"schemeName":"readTokenAuthQuery"},"schema":{"title":"auth_token","type":"string","description":"Pass your API token via the `auth_token` parameter on every request: `?auth_token=your_read_api_token`.\n\nYou can access your API token from your settings page.\n\nRequests made with a missing or invalid token will get a 401 Unauthorized response. All requests must be made over HTTPS.\n","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"readTokenAuthQuery","name":"auth_token"}],"title":"readTokenAuthQuery"}]},"originalFileLocation":"api/openapi/read_api.yaml"},"subdomain":"buttercms","siteName":"ButterCMS Docs","title":"Retrieve Tag - ButterCMS Docs","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-27T14:11:45.855Z","originalFileLocation":"api-reference/blog-metadata/retrieve-tag.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Retrieve a specific blog post tag by slug with tag details and optional recent posts integration.\">\u003cmeta data-mint-head name=\"application-name\" content=\"ButterCMS Docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003cmeta data-mint-head name=\"robots\" content=\"noindex, nofollow\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/buttercms/r9p2A1fiqo_BuZws/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/docs/mintlify-assets/_mintlify/favicons/buttercms/r9p2A1fiqo_BuZws/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/buttercms/r9p2A1fiqo_BuZws/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/buttercms/r9p2A1fiqo_BuZws/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/buttercms/r9p2A1fiqo_BuZws/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/buttercms/r9p2A1fiqo_BuZws/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/buttercms/r9p2A1fiqo_BuZws/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/buttercms/r9p2A1fiqo_BuZws/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/buttercms/r9p2A1fiqo_BuZws/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Retrieve Tag - ButterCMS Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"Retrieve a specific blog post tag by slug with tag details and optional recent posts integration.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"ButterCMS Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://buttercms.com/docs/api-reference/blog-metadata/retrieve-tag\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://buttercms.mintlify.site/docs/_mintlify/api/og/v2?division=Blog+metadata\u0026amp;title=Retrieve+Tag\u0026amp;description=Retrieve+a+specific+blog+post+tag+by+slug+with+tag+details+and+optional+recent+posts+integration.\u0026amp;theme=5b7441fa906780c0ab866249\u0026amp;signature=111b3ed1a597b06022dacda17652afd1858ebfc10568ace6b294e7da3e5e4a34\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Retrieve Tag - ButterCMS Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Retrieve a specific blog post tag by slug with tag details and optional recent posts integration.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://buttercms.mintlify.site/docs/_mintlify/api/og/v2?division=Blog+metadata\u0026amp;title=Retrieve+Tag\u0026amp;description=Retrieve+a+specific+blog+post+tag+by+slug+with+tag+details+and+optional+recent+posts+integration.\u0026amp;theme=5b7441fa906780c0ab866249\u0026amp;signature=111b3ed1a597b06022dacda17652afd1858ebfc10568ace6b294e7da3e5e4a34\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/docs/mintlify-assets/_mintlify/favicons/buttercms/r9p2A1fiqo_BuZws/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"ButterCMS Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#0505e5\">\u003clink data-mint-head rel=\"canonical\" href=\"https://buttercms.com/docs/api-reference/blog-metadata/retrieve-tag\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/docs/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/docs/api-reference/blog-metadata/retrieve-tag.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://buttercms.com/#organization\",\"name\":\"ButterCMS Docs\",\"url\":\"https://buttercms.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://cdn.buttercms.com/nDD3LeMXQxiR9aJRpRLE\"}},{\"@type\":\"WebSite\",\"@id\":\"https://buttercms.com/docs#website\",\"name\":\"ButterCMS Docs\",\"url\":\"https://buttercms.com/docs\",\"publisher\":{\"@id\":\"https://buttercms.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://buttercms.com/docs/api-reference/blog-metadata/retrieve-tag#webpage\",\"url\":\"https://buttercms.com/docs/api-reference/blog-metadata/retrieve-tag\",\"name\":\"Retrieve Tag\",\"description\":\"Retrieve a specific blog post tag by slug with tag details and optional recent posts integration.\",\"dateModified\":\"2026-10-27T14:11:45.855Z\",\"isPartOf\":{\"@id\":\"https://buttercms.com/docs#website\"},\"breadcrumb\":{\"@id\":\"https://buttercms.com/docs/api-reference/blog-metadata/retrieve-tag#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://buttercms.com/docs/api-reference/blog-metadata/retrieve-tag#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Read API\",\"item\":\"https://buttercms.com/docs/api-reference/pages/get-multiple-pages\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Blog metadata\",\"item\":\"https://buttercms.com/docs/api-reference/blog-metadata/list-all-authors\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Retrieve Tag\",\"item\":\"https://buttercms.com/docs/api-reference/blog-metadata/retrieve-tag\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://buttercms.com/docs/api-reference/blog-metadata/retrieve-tag#apireference\",\"headline\":\"Retrieve Tag\",\"name\":\"Retrieve Tag\",\"description\":\"Retrieve a specific blog post tag by slug with tag details and optional recent posts integration.\",\"url\":\"https://buttercms.com/docs/api-reference/blog-metadata/retrieve-tag\",\"mainEntityOfPage\":{\"@id\":\"https://buttercms.com/docs/api-reference/blog-metadata/retrieve-tag#webpage\"},\"dateModified\":\"2026-10-27T14:11:45.855Z\",\"publisher\":{\"@id\":\"https://buttercms.com/#organization\"},\"isPartOf\":{\"@id\":\"https://buttercms.com/docs#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"ButterCMS Docs\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"ButterCMS Docs\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/docs/api-reference/blog-metadata/retrieve-tag.md","siteName":"ButterCMS Docs","nav":{"global":null,"tabs":[{"tab":"Quickstart","pages":[{"title":"Quickstart","href":""}]},{"tab":"Core concepts","pages":[{"title":"Core concepts","href":"/core-concepts/content-types/overview"}]},{"tab":"Create content","pages":[{"title":"Create content","href":"/create-content/overview"}]},{"tab":"Build your app","pages":[{"title":"Build your app","href":"/build-your-app/overview"}]},{"tab":"API Reference","groups":[{"group":"Overview","pages":[{"title":"API overview","icon":"code","href":"/api/overview"},{"title":"API architecture \u0026 principles","icon":"sitemap","href":"/api/concepts/api-architecture-principles"},{"title":"Authentication \u0026 API tokens","icon":"key","href":"/api/concepts/authentication-api-tokens"},{"title":"Request/response format","icon":"code","href":"/api/concepts/request-response-format"},{"title":"REST endpoints \u0026 URLs","icon":"route","href":"/api/concepts/rest-endpoints-urls"},{"title":"HTTP status codes \u0026 errors","icon":"triangle-exclamation","href":"/api/concepts/http-status-codes-errors"},{"title":"Rate limits \u0026 throttling","icon":"gauge-high","href":"/api/concepts/rate-limits-throttling"},{"title":"Bulk Operations","icon":"layer-group","href":"/api/concepts/bulk-operations"},{"title":"Pages: key concepts","icon":"file","href":"/api/concepts/pages-key-concepts"},{"title":"Components: key concepts","icon":"layer-group","href":"/api/concepts/pages-components"},{"title":"Collections: key concepts","icon":"table","href":"/api/concepts/collections-key-concepts"},{"title":"Blog Posts: key concepts","icon":"newspaper","href":"/api/concepts/blog-posts-key-concepts"},{"title":"Webhooks: key concepts","icon":"bell","href":"/api/concepts/webhooks-overview"}]},{"group":"Read API","expanded":true,"pages":[{"group":"Pages","pages":[{"title":"Get multiple Pages","deprecated":null,"version":null,"openapi":"/api/openapi/read_api.yaml get /pages/{page_type}/","href":"/api-reference/pages/get-multiple-pages"},{"title":"Get a single Page","deprecated":null,"version":null,"openapi":"/api/openapi/read_api.yaml get /pages/{page_type}/{page_slug}/","href":"/api-reference/pages/get-a-single-page"},{"title":"Search Pages","deprecated":null,"version":null,"openapi":"/api/openapi/read_api.yaml get /pages/search/","href":"/api-reference/pages/search-pages"}]},{"group":"Collections","pages":[{"title":"Retrieve Multiple Collections by Key","deprecated":null,"version":null,"openapi":"/api/openapi/read_api.yaml get /content/","href":"/api-reference/collections/retrieve-multiple-collections-by-key"},{"title":"Retrieve Collection","deprecated":null,"version":null,"openapi":"/api/openapi/read_api.yaml get /content/{collection_key}/","href":"/api-reference/collections/retrieve-collection"},{"title":"Retrieve Collection Item","deprecated":null,"version":null,"openapi":"/api/openapi/read_api.yaml get /content/{collection_key}/{item_id}/","href":"/api-reference/collections/retrieve-collection-item"}]},{"group":"Blog posts","pages":[{"title":"List All Posts","deprecated":null,"version":null,"openapi":"/api/openapi/read_api.yaml get /posts/","href":"/api-reference/blog-posts/list-all-posts"},{"title":"Retrieve Single Post","deprecated":null,"version":null,"openapi":"/api/openapi/read_api.yaml get /posts/{slug}/","href":"/api-reference/blog-posts/retrieve-single-post"},{"title":"Search Posts","deprecated":null,"version":null,"openapi":"/api/openapi/read_api.yaml get /posts/search/","href":"/api-reference/blog-posts/search-posts"}]},{"group":"Blog metadata","pages":[{"title":"List All Authors","deprecated":null,"version":null,"openapi":"/api/openapi/read_api.yaml get /authors/","href":"/api-reference/blog-metadata/list-all-authors"},{"title":"Retrieve Author","deprecated":null,"version":null,"openapi":"/api/openapi/read_api.yaml get /authors/{slug}/","href":"/api-reference/blog-metadata/retrieve-author"},{"title":"List All Categories","deprecated":null,"version":null,"openapi":"/api/openapi/read_api.yaml get /categories/","href":"/api-reference/blog-metadata/list-all-categories"},{"title":"Retrieve Category","deprecated":null,"version":null,"openapi":"/api/openapi/read_api.yaml get /categories/{slug}/","href":"/api-reference/blog-metadata/retrieve-category"},{"title":"List All Tags","description":"Retrieve a complete list of blog post tags with optional recent post data for tag-based navigation.","deprecated":null,"version":null,"openapi":"/api/openapi/read_api.yaml get /tags/","href":"/api-reference/blog-metadata/list-all-tags"},{"title":"Retrieve Tag","deprecated":null,"version":null,"openapi":"/api/openapi/read_api.yaml get /tags/{slug}/","href":"/api-reference/blog-metadata/retrieve-tag"}]},{"group":"Feeds and utilities","pages":[{"title":"RSS Feed","description":"Generate a compliant RSS 2.0 XML feed for blog content with filtering options for targeted content syndication.","deprecated":null,"version":null,"openapi":"/api/openapi/read_api.yaml get /feeds/rss/","href":"/api-reference/feeds-and-utilities/rss-feed"},{"title":"Atom Feed","deprecated":null,"version":null,"openapi":"/api/openapi/read_api.yaml get /feeds/atom/","href":"/api-reference/feeds-and-utilities/atom-feed"},{"title":"Sitemap","deprecated":null,"version":null,"openapi":"/api/openapi/read_api.yaml get /feeds/sitemap/","href":"/api-reference/feeds-and-utilities/sitemap"}]}]},{"group":"Write API","expanded":true,"pages":[{"group":"Pages","pages":[{"title":"Create Page via Write API","deprecated":null,"version":null,"openapi":"/api/openapi/write_api.yaml post /pages/","href":"/api-reference/pages/create-page-via-write-api"},{"title":"Update Page via Write API (PUT)","deprecated":null,"version":null,"openapi":"/api/openapi/write_api.yaml put /pages/{page_type}/{page_slug}/","href":"/api-reference/pages/update-page-via-write-api-put"},{"title":"Update Page via Write API","deprecated":null,"version":null,"openapi":"/api/openapi/write_api.yaml patch /pages/{page_type}/{page_slug}/","href":"/api-reference/pages/update-page-via-write-api"}]},{"group":"Collections","pages":[{"title":"Create Collection Item","deprecated":null,"version":null,"openapi":"/api/openapi/write_api.yaml post /content/","href":"/api-reference/collections/create-collection-item"},{"title":"Update Collection Item (Full)","deprecated":null,"version":null,"openapi":"/api/openapi/write_api.yaml put /content/{collection_key}/{item_id}/","href":"/api-reference/collections/update-collection-item-full"},{"title":"Delete Collection Item","deprecated":null,"version":null,"openapi":"/api/openapi/write_api.yaml delete /content/{collection_key}/{item_id}/","href":"/api-reference/collections/delete-collection-item"},{"title":"Update Collection Item (Partial)","deprecated":null,"version":null,"openapi":"/api/openapi/write_api.yaml patch /content/{collection_key}/{item_id}/","href":"/api-reference/collections/update-collection-item-partial"}]},{"group":"Blog posts","pages":[{"title":"Create Blog Post via Write API","deprecated":null,"version":null,"openapi":"/api/openapi/write_api.yaml post /posts/","href":"/api-reference/blog-posts/create-blog-post-via-write-api"},{"title":"Delete Blog Post via Write API","deprecated":null,"version":null,"openapi":"/api/openapi/write_api.yaml delete /posts/{slug}/","href":"/api-reference/blog-posts/delete-blog-post-via-write-api"},{"title":"Update Blog Post via Write API","deprecated":null,"version":null,"openapi":"/api/openapi/write_api.yaml patch /posts/{slug}/","href":"/api-reference/blog-posts/update-blog-post-via-write-api"}]}]},{"group":"Webhooks API","expanded":true,"pages":[{"group":"Page events","pages":[{"title":"Page published","version":null,"deprecated":null,"openapi":"/api/openapi/webhooks.yaml webhook page-published","href":"/api-reference/page-events/page-published"},{"title":"Page draft saved","version":null,"deprecated":null,"openapi":"/api/openapi/webhooks.yaml webhook page-draft-saved","href":"/api-reference/page-events/page-draft-saved"},{"title":"Page unpublished","version":null,"deprecated":null,"openapi":"/api/openapi/webhooks.yaml webhook page-unpublished","href":"/api-reference/page-events/page-unpublished"},{"title":"Page deleted","version":null,"deprecated":null,"openapi":"/api/openapi/webhooks.yaml webhook page-deleted","href":"/api-reference/page-events/page-deleted"},{"title":"Page any activity","version":null,"deprecated":null,"openapi":"/api/openapi/webhooks.yaml webhook page-any-activity","href":"/api-reference/page-events/page-any-activity"}]},{"group":"Post events","pages":[{"title":"Blog post published","version":null,"deprecated":null,"openapi":"/api/openapi/webhooks.yaml webhook blog-post-published","href":"/api-reference/post-events/blog-post-published"},{"title":"Blog post draft saved","version":null,"deprecated":null,"openapi":"/api/openapi/webhooks.yaml webhook blog-post-draft-saved","href":"/api-reference/post-events/blog-post-draft-saved"},{"title":"Blog post deleted","version":null,"deprecated":null,"openapi":"/api/openapi/webhooks.yaml webhook blog-post-deleted","href":"/api-reference/post-events/blog-post-deleted"},{"title":"Blog post any activity","version":null,"deprecated":null,"openapi":"/api/openapi/webhooks.yaml webhook blog-post-any-activity","href":"/api-reference/post-events/blog-post-any-activity"},{"title":"Localized blog post published","version":null,"deprecated":null,"openapi":"/api/openapi/webhooks.yaml webhook blog-post-locale-published","href":"/api-reference/post-events/localized-blog-post-published"},{"title":"Localized blog post draft saved","version":null,"deprecated":null,"openapi":"/api/openapi/webhooks.yaml webhook blog-post-locale-draft-saved","href":"/api-reference/post-events/localized-blog-post-draft-saved"},{"title":"Localized blog post deleted","version":null,"deprecated":null,"openapi":"/api/openapi/webhooks.yaml webhook blog-post-locale-deleted","href":"/api-reference/post-events/localized-blog-post-deleted"}]},{"group":"Collection events","pages":[{"title":"Collection item published","version":null,"deprecated":null,"openapi":"/api/openapi/webhooks.yaml webhook collection-item-published","href":"/api-reference/collection-events/collection-item-published"},{"title":"Collection item draft saved","version":null,"deprecated":null,"openapi":"/api/openapi/webhooks.yaml webhook collection-item-draft-saved","href":"/api-reference/collection-events/collection-item-draft-saved"},{"title":"Collection item unpublished","version":null,"deprecated":null,"openapi":"/api/openapi/webhooks.yaml webhook collection-item-unpublished","href":"/api-reference/collection-events/collection-item-unpublished"},{"title":"Collection item deleted","version":null,"deprecated":null,"openapi":"/api/openapi/webhooks.yaml webhook collection-item-deleted","href":"/api-reference/collection-events/collection-item-deleted"},{"title":"Collection item any activity","version":null,"deprecated":null,"openapi":"/api/openapi/webhooks.yaml webhook collection-item-any-activity","href":"/api-reference/collection-events/collection-item-any-activity"}]},{"group":"Media events","pages":[{"title":"Media video uploaded","version":null,"deprecated":null,"openapi":"/api/openapi/webhooks.yaml webhook media-video-uploaded","href":"/api-reference/media-events/media-video-uploaded"},{"title":"Media updated","version":null,"deprecated":null,"openapi":"/api/openapi/webhooks.yaml webhook media-updated","href":"/api-reference/media-events/media-updated"}]}]},{"group":"Image API","pages":[{"title":"Image transformations","icon":"wand-magic-sparkles","href":"/api/image-api/image-transformations"},{"title":"Responsive images","icon":"mobile","href":"/api/image-api/responsive-images"},{"title":"Security \u0026 authentication","icon":"shield","href":"/api/image-api/security-authentication"}]}]},{"tab":"Frameworks","pages":[{"title":"Frameworks","href":"/frameworks/tab-overview"}]},{"tab":"Support","pages":[{"title":"Support","href":"/support/account-management/account-settings"}]}]},"basePath":"","title":"Retrieve Tag - ButterCMS Docs","deploymentId":"dpl_B1qJC7o4Nbc1BrDLB8Y5TDHq3c2t","buildId":"dpl_B1qJC7o4Nbc1BrDLB8Y5TDHq3c2t","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-CUHhyXy2.js","snippetPresets-CLZ6zHrE.js","utils-YgZO0660.js","style-to-object-BY3JEAdk.js","utils-BfGpunL-.js","v4-DIgz8zy6.js","addUniqueKeysToSchema-nXeJG4mW.js","conditional-requirements-CFM0id0Q.js","cloneDeep-CfiGwWS2.js","_Uint8Array-DMwpGz7v.js","isObject-FP1Yky1u.js","ApiExamples-ClwIRLsI.js","usePlaygroundInputsStore-D3zE52Kn.js","shallow-D4RQzCAp.js","isEqual-Ba6nq9eA.js","CodeSnippets-DK9iv102.js","CodeSnippet-CD0M-PIN.js","getApiPlaygroundDisplay-MZpK72mj.js","Page-wRPqmnTs.js","DynamicMarkdown-B4E-vXj3.js","SectionHeading-Cd1Hebqh.js","icon-CopWpdT0.js","MethodPill-DHN7T7vW.js","getPastedJson-BuLRhr5B.js","Check2Icon-DTvkZOnk.js","axios-CsQoIw0U.js","Markdown-BZDfk3ee.js","AssistantPageLink-CXXpl6Pb.js","dist-D0qiytnz.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}