DashForDevsDocs
DocsNewsAPI v1
dashfordevs.comSign in

© 2026 DashForDevs

DocsNewsdashfordevs.comLegalStatus
DocsSEOBlog SEO
Introduction
Getting Started
Authentication
Products
Categories
Cart
Checkout
Blog
Reviews
Webhooks
Customers
Orders
Inventory
Shipping
Discounts
Affiliates
Email
Media & Files
Analytics & Tracking
Locations
Tax
Global Data
SEO
Product SEOCategory SEOSEO Metadata EndpointBlog SEOSitemapCOA / Lab Reports
Error Handling
Geography
Finance
Automations
Page Types
Surveys
Billing & Subscriptions
Storefront Payments
SDK Reference
REST API
Storefront Architecture
Notifications
Security
Team & Permissions
Migrations & Import
Calendar & Appointments
Contact Forms
AI Bots
Dashboard API
Deployment
Changelog
Troubleshooting
Recipes
CLI & Deployment
Image Pipeline
White-label Platforms
Records Engine
Platform Modules
Platform Security
Site Keys & Client Sites
Use Cases
Operations

Blog SEO

SEO metadata for blog posts.

Updated March 29, 2026

On this page
  • Overview
  • SDK Usage
  • Next.js Metadata
  • REST API
  • Next Steps

Overview

Fetch SEO metadata for blog posts separately from post content, optimized for Next.js generateMetadata.

SDK Usage

typescript
import dash from "@/lib/dash"

const { seo } = await dash.blog.getSeo("my-blog-post")
// seo = { title, description, keywords, og_image, canonical_slug }

Next.js Metadata

typescript
// app/blog/[slug]/page.tsx
export async function generateMetadata({ params }) {
  const { seo } = await dash.blog.getSeo(params.slug)
  return {
    title: seo.title,
    description: seo.description,
    openGraph: {
      images: seo.og_image ? [seo.og_image] : [],
    },
  }
}

REST API

shell
GET /storefront/seo/blog/my-blog-post
X-API-Key: pk_live_your_key

Next Steps

  • Sitemap — Including blog posts in sitemap
  • Get Post by Slug — Blog post content
PreviousSEO Metadata EndpointNextSitemap

On this page

  • Overview
  • SDK Usage
  • Next.js Metadata
  • REST API
  • Next Steps