Blog
Search and fetch WedStay wedding blog content — posts, tags, and full plaintext bodies for AI agents and content integrations.
Blog
WedStay's blog covers wedding planning, trends, venue features, and DIY tips. The blog endpoints let you list, filter, and fetch full post bodies for use in chatbots, planning apps, or content syndication.
Endpoints
| Method | Path | Description |
|---|---|---|
| GET | /v1/blog/posts | Search and filter blog posts |
| GET | /v1/blog/posts/{slug} | Get a single post with plaintext body |
| GET | /v1/blog/tags | List all tags with post counts |
All endpoints require a Bearer API key.
Search posts
| Parameter | Type | Required | Description |
|---|---|---|---|
tag | string | No | Ghost tag slug (call /v1/blog/tags to discover) |
search | string | No | Free-text keyword match against title/excerpt |
featured | boolean | No | Only return featured posts |
limit | number | No | 1-25, default 10 |
page | number | No | 1-based page number, default 1 |
Each post in the response includes: slug, title, excerpt, feature_image, published_at, reading_time, tags[], primary_author, and a canonical url.
Get a post
Returns all list-item fields plus word_count and content_plaintext — a Ghost-rendered plaintext body that's roughly 30% the token count of the HTML.
List tags
Returns { slug, name, post_count } sorted by post_count descending. Tags with zero active posts are omitted.
Use it via ChatGPT / MCP
These endpoints are the REST mirror of the MCP search_blog_posts, get_blog_post, and list_blog_tags tools. ChatGPT custom actions that import https://www.thewedstay.com/api/v1/openapi.json will see them automatically.