Overview
The Ghost Content API provides read-only access to posts, pages, tags, authors, and settings published on a Ghost CMS instance — letting you pull your blog content into any frontend, app, or static site generator. A separate Admin API is available for write operations like creating or updating content. Each Ghost site exposes its own API endpoint with a site-specific Content API key.
Beginner Tip
To use the Ghost API you need your own Ghost site (self-hosted or Ghost Pro) — there is no shared public endpoint. Find your Content API key under Ghost Admin > Integrations > Add Custom Integration. The base URL is always https://your-site.com/ghost/api/content/.
Available Data
The kind of data this API exposes, based on its documentation. We could not call the endpoint to confirm the exact field names.
Example Response
Illustrative shape only — we were not able to call this endpoint (it requires credentials or exposes no public sample URL), so the fields below show the kind of data this API returns rather than a recorded response.
{
"status": "success",
"data": {
"result": "Data from Ghost",
"description": "Get Published content into your Website, App or other embedded media",
"timestamp": "2025-01-15T10:00:00Z"
}
} Field Reference
posts Array of published post objects matching your query and filter parameters. posts[].slug URL-safe unique identifier for the post, used to construct the public URL. posts[].title The published title of the post. posts[].html Full rendered HTML content of the post body, ready to embed in your frontend. posts[].published_at ISO 8601 timestamp of when the post was made public. posts[].feature_image URL of the post featured image, or null if none is set. Implementation Example
Calls a real endpoint of this API. Replace any placeholder credentials with your own key.
const url = "https://demo.ghost.io/ghost/api/content/posts/?key=22444f78447824223cefc48062&limit=3";
// Replace headers or query params with the values required by this API.
const response = await fetch(url, {
headers: {
"X-API-Key": "YOUR_API_KEY"
}
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
const data = await response.json();
console.log(data); What Can You Build?
Note: These code examples are AI-generated and unverified. Always refer to the official API documentation for accurate usage.
Common Errors & Troubleshooting
Generated guidance based on this API's documentation, not observed by us. Treat it as a starting point and check against the provider's own error reference.
Metadata Score Breakdown
Estimated from metadata — endpoint not independently tested
Metadata estimate · endpoint not independently tested
Technical Specifications
Related Tags
Similar APIs
View All →ApiFlash
ApiFlash provides a REST API that captures full-page or viewport screenshots of any public URL using a headless Chrome browser, returning the image as a PNG, JPEG, or WebP file.
Azure DevOps
Azure DevOps REST API provides programmatic access to all Azure DevOps services including work items, repositories, pipelines, test plans, and artifact feeds.
Base
Base provides programmatic access to building quick backends via REST API.
Blitapp
Blitapp is a screenshot-as-a-service API that lets you capture full-page or viewport screenshots of any web page on a schedule, then automatically sync them to cloud storage like Dropbox or Google Drive.
DomainDb Info
⭐ Beginner's PickDomainsDB.info provides a searchable database of registered domain names, allowing you to find all domains containing specific keywords, phrases, or patterns across various TLDs.