Plugin categories

Create a Website with AI
WordPress REST API (Version 2)

WordPress REST API (Version 2)

Access your site's data through an easy-to-use HTTP REST API. (Version 2)

4.2

Rating summary

34

Reviews

20K

Active installations

WordPress REST API (Version 2)
WordPress REST API (Version 2)

Overview

Compatibility

Installation instructions

Customer support & learning resources

Main benefits

Easy-to-use REST API

Retrieve data via HTTP

Simple JSON format

JavaScript API support

Extensive documentation

About this plugin

Version: 2.0-beta15
Last updated: 19-10-2016
WordPress version: 4.6
Tested up to: 4.7.29
PHP version required: false
Languages:
Learning resources: View resources

Overview

The WordPress REST API plugin is designed to transform WordPress into a robust application framework by providing a user-friendly and well-tested REST API accessible via HTTP. This plugin allows users to effortlessly retrieve and update their website’s data in JSON format, encompassing elements such as users, posts, and taxonomies. By sending straightforward HTTP requests, users can manage their site’s content, like retrieving posts with a simple GET request or updating user details with a PUT request. The API interface supports a broad range of WordPress functionalities, including WP Query, post meta, and user APIs, enabling developers to perform almost any action they can within WordPress. For ease of integration, the plugin also includes a JavaScript API based on Backbone models, allowing for seamless connectivity without deep technical knowledge. Extensive documentation and GitHub tracking facilitate easy adoption and customization for both plugin and theme developers.

Easy-to-Use REST API

  • Provides an easy-to-use REST API available via HTTP.
  • Allows retrieval and updating of site data in simple JSON format.
  • Supports operations like GET, PUT requests for posts, users, and more.

Simple Interface to Core WordPress APIs

  • Exposes a simple interface to WP Query, posts API, post meta API, users API, and revisions API.
  • Enables performing almost any action possible within WordPress through the API.

JavaScript API Based on Backbone Models

  • Includes an easy-to-use JavaScript API based on Backbone models.
  • Allows plugin and theme developers to get started quickly without needing deep knowledge of connection details.

Comprehensive Documentation and Extensibility

  • Provides detailed documentation on available API features and usage.
  • Includes guidance on extending the API with extra data for plugin and theme developers.

Features list

Feature

Free version

Compliance with EU Omnibus Directive

Ensures adherence to EU pricing regulations.

Logs prior prices in custom field

Records previous prices in a dedicated field.

Displays lowest price in the last 30 days

Shows the minimum price from the past month.

Shortcode support for displaying lowest price

Allows use of shortcodes to show the lowest price.

Action hooks for WooCommerce products

Provides hooks for WooCommerce product actions.

Standard installation from WP repository

Can be installed directly from the WordPress repository.

GitHub release version available

Offers a stable release version on GitHub.

Development version from GitHub

Access to the latest development version on GitHub.

Automatic price logging on product update

Logs prices automatically when products are updated.

Displays lowest price on product page

Shows the lowest price on individual product pages.

Displays lowest price on product listings page

Displays the lowest price on product listing pages.

Support for WooCommerce single product page

Compatible with WooCommerce single product pages.

Support for WooCommerce product listings

Works with WooCommerce product listing pages.

Customizable display of lowest price message

Allows customization of the lowest price message.

Currency symbol support in price message

Includes currency symbols in the price message.

Pricing

Free Plan

$0 / one-time

Plan includes

Compliance with EU Omnibus Directive
Logs prior prices in custom field
Displays lowest price in the last 30 days
Shortcode support for displaying lowest price
Action hooks for WooCommerce products
Standard installation from WP repository
GitHub release version available
Development version from GitHub
Buy Now

In some cases companies have different prices based on various components like a location. As a result the prices displayed here can differ from the ones you see on their websites.

See all pricing options

Rating and reviews

4.2

Rating summary

34

Reviews

20K

Active installations

5
4
3
2
1

User sentiment analysis

The WordPress REST API plugin receives mixed reviews, with users appreciating its innovative capabilities yet facing some critical issues. Users find the API well-written and useful for extending WordPress functionality, making it easier to build decoupled CMS solutions and integrate modern technologies like AngularJS. It simplifies the implementation of Service-Oriented Architecture (SOA) and provides numerous hooks and filters. However, the plugin has significant drawbacks. It lacks clear documentation, posing challenges for beginners and intermediates. Additionally, there are compatibility issues with PHP 7.2, causing deprecated errors related to 'mysql_' extensions. Some users experienced site crashes upon activation, while outdated instances make it difficult to ascertain current utility.
tazotodua

tazotodua

14 Jan, 2019

As we stated, this plugin was way long abandonded, and integrated in WP, and even after request https://wordpress.org/support/topic/why-there-is-no-clear-indication-that-it-is-no-longer-used/ the developers didnt put any clear notice about this fact, and wasting users times till we find out that fact.
sachintonte

sachintonte

29 Nov, 2018

Can you please confirm/deny the PHP 7.2 compatibility? I’m receiving this error report on a PHP 7.2 compatibility test: FILE: /nas/content/live/devreplicon1/wp-content/plugins/rest-api/lib/endpoints/class-wp-rest-posts-controller.php —————————————————————————————————————– FOUND 2 ERRORS AFFECTING 2 LINES —————————————————————————————————————– 773 | ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and removed since PHP 7.0; Use mysqli instead 782 | ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and removed since PHP 7.0; Use mysqli instead —————————————————————————————————————– FILE: /nas/content/live/devreplicon1/wp-content/plugins/rest-api/lib/endpoints/class-wp-rest-revisions-controller.php ——————————————————————————————————————— FOUND 2 ERRORS AFFECTING 2 LINES ——————————————————————————————————————— 285 | ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and removed since PHP 7.0; Use mysqli instead 288 | ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and removed since PHP 7.0; Use mysqli instead ——————————————————————————————————————— FILE: /nas/content/live/devreplicon1/wp-content/plugins/rest-api/lib/endpoints/class-wp-rest-comments-controller.php ——————————————————————————————————————– FOUND 2 ERRORS AFFECTING 2 LINES ——————————————————————————————————————– 588 | ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and removed since PHP 7.0; Use mysqli instead 589 | ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and removed since PHP 7.0; Use mysqli instead ——————————————————————————————————————– FILE: /nas/content/live/devreplicon1/wp-content/plugins/rest-api/extras.php ———————————————————————————————————— FOUND 1 ERROR AFFECTING 1 LINE ———————————————————————————————————— 150 | ERROR | Extension ‘mysql_’ is deprecated since PHP 5.5 and removed since PHP 7.0; Use mysqli instead ————————————————————————————————————
ngothoai

ngothoai

29 Sep, 2018

Call to undefined function get_registered_meta_keys() in wp-content\plugins\rest-api\lib\fields\class-wp-rest-meta-fields.php on line 244
Sam wc

Sam wc

19 Jun, 2017

No step by step instruction or beginner guide . How can this is use full for an intermediate developer ?
raphaelnikson

raphaelnikson

08 Jun, 2017

Obrigado.. agora eu tenho muitas possibilidades em meus projetos com app mobile

FAQ

Installation Instructions

What is the purpose of this plugin?

How do I retrieve posts using the API?

How do I update a user with a specific ID?

How do I search for posts with a specific term?

What APIs does the WordPress REST API expose?

Is there a JavaScript API available?

Where can I find the documentation?

Where can I track the project updates?