Highlights
- Expose block editor content as structured JSON or GraphQL
- Power headless sites and applications with reusable content
- Integrate with the WordPress REST API and WPGraphQL
- Publish to any channel while preserving editorial workflows
Overview
The Block Data API retrieves WordPress block editor content as structured JSON or GraphQL, ready for a modern headless architecture across multiple channels.
It works with the WordPress REST API and can be configured for WPGraphQL, so your application consumes structured block content without custom parsing. Your front end gets clean data. Your editors keep the editor they know.
Frequently asked questions
What is the Block Data API used for?
It exposes WordPress block editor content as structured JSON or GraphQL, so headless applications access it directly.
Who is this capability designed for?
It’s intended for development teams building headless WordPress front ends or applications that read structured content through APIs.
Does it work with GraphQL?
Yes. The Block Data API integrates with the WordPress REST API and can also work with WPGraphQL.
Do I need a headless architecture to use it?
No. While it’s designed primarily for headless WordPress implementations, it can also be used anywhere developers need structured access to block editor content.
See how Block Data API extends WordPress VIP.
Build modern, API-first experiences with content structured for enterprise development.
