WordPress.org

Ready to get started?Download WordPress

Plugin Directory

JSON REST API (WP API)

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

WordPress is moving towards becoming a fully-fledged application framework, and we need new APIs. This project was born to create an easy-to-use, easy-to-understand and well-tested framework for creating these APIs, plus creating APIs for core.

This plugin provides an easy to use REST API, available via HTTP. Grab your site's data in simple JSON format, including users, posts, taxonomies and more. Retrieving or updating data is as simple as sending a HTTP request.

Want to get your site's posts? Simply send a GET request to /wp-json/posts. Update user with ID 4? Send a POST request to /wp-json/users/4. Get all posts with the search term "awesome"? GET /wp-json/posts?filter[s]=awesome. It's that easy.

WP API exposes a simple yet easy interface to WP Query, the posts API, post meta API, users API, revisions API and many more. Chances are, if you can do it with WordPress, WP API will let you do it.

WP API also includes an easy-to-use Javascript API based on Backbone models, allowing plugin and theme developers to get up and running without needing to know anything about the details of getting connected.

Check out our documentation for information on what's available in the API and how to use it. We've also got documentation on extending the API with extra data for plugin and theme developers!

We're currently aiming for integration into WordPress 4.0 as a permanent part of core.

All tickets for the project are being tracked on GitHub. You can also take a look at the recent updates for the project.

Tags: , , ,

Requires: 3.9 or higher
Compatible up to: 3.9.1
Last Updated: 2014-6-17
Downloads: 11,436

Ratings

4 stars
4.7 out of 5 stars

Support

5 of 17 support threads in the last two months have been resolved.

Got something to say? Need help?

Compatibility

+
=
Not enough data

2 people say it works.
0 people say it's broken.

100,2,2
100,1,1 100,2,2 100,2,2