Get Blog Post

Returns one published article by slug with its sanitized HTML body, the next article to read and up to 5 related articles. This endpoint is public and read-only.

GET/v1/blog/:slug

Authentication

Public key?key=pk_…

Public key in the `key` query parameter. No OAuth, no secret.

Edge cache: 60 s + stale-while-revalidate 300 s

Path Parameters

slugstring
required

Article slug from `GET /v1/blog`.

Query Parameters

keystring
required

The site's public key (pk_…). It selects the account. Safe to ship to the browser.

coverstring
optional

Send `keep` to keep the cover image the editor inserted at the top of the body. By default it is removed because `post.image` is the cover.

keep

Responses

200Success
application/json
postobject
nextobject
relatedarray[any]

Errors

401Missing or invalid public key
403TENANT_INACTIVE: the account has no active subscription (body also carries `code`)
404Article not found

Notes

  • `post.content` is sanitized HTML. Render it inside a container you style, for example with a prose class.
  • `next` is the next older article and wraps around to the newest one. It is `null` when the account has a single article.
  • `related` has up to 5 published articles that share a category, newest first. It is `[]` when the article has no category or no match.
Request
curl --request GET \
--url "https://api.pandaidx.com/v1/blog/first-time-buyer-guide-miami?key={{public_key}}"
Response200 OK
{
"post": {
"slug": "first-time-buyer-guide-miami",
"title": "A First-Time Buyer Guide to Miami",
"subtitle": "What to know before you make an offer.",
"excerpt": "What to know before you make an offer.",
"image": "https://media.example.com/blog/first-time-buyer.jpg",
"categories": [
"home-buyers"
],
"publishedAt": "2026-09-12T14:03:22.000Z",
"author": {
"name": "Alex Morgan, Realtor®",
"image": "https://media.example.com/alex-morgan/portrait.jpg"
},
"wordCount": 920,
"content": "<p>Buying your first home in Miami starts with a budget.</p>"
},
"next": {
"slug": "condo-fees-explained",
"title": "Condo Fees Explained",
"subtitle": null,
"excerpt": "Monthly fees decide what a condo really costs.",
"image": null,
"categories": [
"home-buyers"
],
"publishedAt": "2026-08-30T10:00:00.000Z",
"author": null,
"wordCount": 640
},
"related": []
}