Publish and retrieve posts on a Ghost site using the Content and Admin APIs
domain: ghost.org · 5 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗
Steps
Use the read-only Content API on the site (e.g., /ghost/api/content/) with a Content API key to fetch published posts, pages, tags, and authors for rendering elsewhere.
Use the Admin API for anything Ghost Admin itself can do -- creating, editing, and publishing posts -- authenticated via an Admin API integration key.
Generate short-lived JWTs from the Admin API key/secret pair per request rather than sending the raw key, per Ghost's documented auth flow.
Create an Integration in Ghost Admin (Settings > Integrations) to obtain both Content and Admin API keys scoped to that integration.
Reference docs.ghost.org/admin-api and the Content API docs for the full resource and endpoint definitions.
Known gotchas
The Content API is strictly read-only -- any create/update/delete action must go through the Admin API instead.
Admin API authentication requires generating a JWT per request from the key pair, not passing the raw API key as a bearer token.
Give your agent this knowledge — and 15,500+ more routes
One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus:
claude mcp add --transport http waymark https://mcp.waymark.network/mcp
Need this verified for your stack — or a route we don't have yet?