How to start using the WordPress REST API

To access the WordPress REST API, you’ll need to start with the following route:

Then, you can add onto this URL to access various types of data. For instance, you could look up a specific user profile via a route like this:

In this scenario, “2345” is the unique user ID for the post you want to see. If you left out that ID, you would instead see a list of all the users on your site:

Example JSON file

Deco Android News app