PluginSift
PluginsThemesCompare
Directory
  • Plugins
  • Themes
  • Compare Plugins
Plugin Comparisons
  • SEO
  • Security
  • Ecommerce
  • Page Builders
  • Caching
  • Backup
  • Forms
  • Analytics
Resources
  • About
  • Contact
  • llms.txt

© 2026 PluginSift. Data sourced from WordPress.org. · [email protected]

  1. Home
  2. Plugins
  3. API
  4. REST API blocks
REST API blocks icon

REST API blocks

Add gutenberg blocks data into the post / page REST API endpoints.

By Jonny Harris·API·Free
5(2 reviews)
·200 active installs·Updated 3 months ago
DownloadVisit HomepageCompare

As of April 2026, REST API blocks is a WordPress api plugin with 200 active installations and a 5/5 rating from 2 reviews. It has been downloaded 6.8K+ times in total. Requires WordPress 5.9+ and PHP 7.4+. Available on WordPress.org since 2021. Top alternative: WP Consent API.

5/52 reviews
200active installs
6.8K+total downloads
5 yearssince 2021

Overview

A simple plugin to add block data in json format into the rest api. Once installed, there will be two new fields added to the rest api, has_blocks and blocks.
For example output.
"has_blocks": true,
"block_data": [
{
"blockName": "core/image",
"attrs": {
"url": "https://www.spacedmonkey.com/wp-content/uploads/2018/12/test-image.jpg",
"alt": "Terminal de aeropuerto",
"caption": "fsfsdfdsfdssfd",
"href": "https://www.spacedmonkey.com/test-image",
"rel": "noreferrer noopener",
"linkClass": "jonny-123",
"linkTarget": "_blank",
"id": 147355,
"width": 582,
"height": 327,
"linkDestination": "attachment"
},
"innerBlocks": [
],
"innerHTML": "\n<figure class=\"wp-block-image is-resized\"><a clas…

Read full description on WordPress.org

Screenshots

Ratings & Reviews

52 reviews
5 ★
2
4 ★
0
3 ★
0
2 ★
0
1 ★
0

Compatibility

WordPress5.9+ requiredTested up to 6.9.4
PHP7.4+ required

Top Alternatives to REST API blocks

WP Consent API icon
WP Consent API
5200K+ installsUpdated 3 weeks ago
ViewCompare
Disable REST API icon
Disable REST API
4.890K+ installsUpdated 2 years ago
ViewCompare
Mailgun for WordPress icon
Mailgun for WordPress
3.880K+ installsUpdated 2 months ago
ViewCompare
Make Connector icon
Make Connector
2.780K+ installsUpdated 1 month ago
ViewCompare
Disable WP REST API icon
Disable WP REST API
4.830K+ installsUpdated 1 week ago
ViewCompare
View all api plugins →

Frequently Asked Questions

Changelog

1.0.2

  • Fix issue with WordPress 6.5
  • Update coding standards to WP coding standards 3.1.0
  • Mark tested up to WP 6.5

1.0.1

  • Update coding standards to WP coding standards 3.0.1
  • Mark tested up to WP 6.4

1.0.0

Breaking change!
The field in the REST API is changed from blocks to block_data.

0.5.0

  • Add support for new post types added in WordPress 5.9.
  • …
View full changelog on WordPress.org

Contributors

Jonny HarrisJonny Harris
Plugin Info
Version
2.0.0
Last Updated
Jan 3, 2026
WP Requires
5.9+
Tested Up To
6.9.4
PHP Requires
7.4+
Active Installs
200
Downloads
6.8K+
Added
Aug 11, 2021
Business
Free

Tags

apiblockswp-jsonrest-apigutenberg

Developer

J
Jonny Harris
5 plugins0.0M+ total installs
View all plugins →

Quick Compare

REST API blocks vs WP Consent API→REST API blocks vs Disable REST API→REST API blocks vs Mailgun for WordPress→

Plugin data sourced from WordPress.org. Analysis and metrics by PluginSift.