Properties
| Name | Type | Description |
|---|---|---|
| id | integer | Unique identifier for the post |
| date | string | The date the post was published in site timezone |
| date_gmt | string | The date the post was published in GMT |
| modified | string | The date the post was last modified in site timezone |
| slug | string | An alphanumeric identifier for the post |
| status | string | A named status for the post |
| type | string | Type of post |
| link | string | URL to the post |
| title | object | |
| content | object | |
| excerpt | object | |
| author | integer | The ID for the author of the post |
| featured_media | integer | The ID of the featured media for the post |
| comment_status | string | Whether or not comments are open on the post |
| ping_status | string | Whether or not the post can be pinged |
| sticky | boolean | Whether or not the post should be treated as sticky |
| template | string | The theme file to use to display the post |
| format | string | The format for the post |
| categories | array | The terms assigned to the post in the category taxonomy |
| tags | array | The terms assigned to the post in the post_tag taxonomy |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/wordpress/refs/heads/main/json-schema/wordpress-post-schema.json",
"title": "Post",
"description": "A WordPress post object",
"type": "object",
"properties": {
"id": {
"type": "integer",
"description": "Unique identifier for the post",
"example": 123
},
"date": {
"type": "string",
"format": "date-time",
"description": "The date the post was published in site timezone",
"example": "2026-04-15T10:30:00"
},
"date_gmt": {
"type": "string",
"format": "date-time",
"description": "The date the post was published in GMT",
"example": "2026-04-15T10:30:00"
},
"modified": {
"type": "string",
"format": "date-time",
"description": "The date the post was last modified in site timezone",
"example": "2026-04-20T14:00:00"
},
"slug": {
"type": "string",
"description": "An alphanumeric identifier for the post",
"example": "my-first-wordpress-post"
},
"status": {
"type": "string",
"description": "A named status for the post",
"enum": [
"publish",
"future",
"draft",
"pending",
"private",
"trash"
],
"example": "publish"
},
"type": {
"type": "string",
"description": "Type of post",
"example": "post"
},
"link": {
"type": "string",
"description": "URL to the post",
"example": "https://example.com/2026/04/my-first-post/"
},
"title": {
"$ref": "#/components/schemas/RenderedContent"
},
"content": {
"$ref": "#/components/schemas/RenderedContent"
},
"excerpt": {
"$ref": "#/components/schemas/RenderedContent"
},
"author": {
"type": "integer",
"description": "The ID for the author of the post",
"example": 1
},
"featured_media": {
"type": "integer",
"description": "The ID of the featured media for the post",
"example": 45
},
"comment_status": {
"type": "string",
"description": "Whether or not comments are open on the post",
"enum": [
"open",
"closed"
],
"example": "open"
},
"ping_status": {
"type": "string",
"description": "Whether or not the post can be pinged",
"enum": [
"open",
"closed"
],
"example": "open"
},
"sticky": {
"type": "boolean",
"description": "Whether or not the post should be treated as sticky",
"example": false
},
"template": {
"type": "string",
"description": "The theme file to use to display the post",
"example": ""
},
"format": {
"type": "string",
"description": "The format for the post",
"enum": [
"standard",
"aside",
"chat",
"gallery",
"link",
"image",
"quote",
"status",
"video",
"audio"
],
"example": "standard"
},
"categories": {
"type": "array",
"description": "The terms assigned to the post in the category taxonomy",
"items": {
"type": "integer"
},
"example": [
1
]
},
"tags": {
"type": "array",
"description": "The terms assigned to the post in the post_tag taxonomy",
"items": {
"type": "integer"
},
"example": [
12
]
}
}
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/wordpress-post"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.