Welcome To

POSTS API WP

Posts API WP is a WordPress plugin that creates a virtual API for accessing your WordPress Posts.

QUICK API RESPONSE

Instead of firing up all WordPress functions, we leveraged on a special WordPress feature to reduce the load on your server and make API calls faster.

EASY SETUP

On the plugin Interface, you can generate an API key for making requests to the EndPoint, as well as configure parameters needed for the request.

SECURED ENDPOINT

API Endpoint is secured with an X-API-Key Authorization Header. This means that you need an API Key to make a request to the EndPoint.

I want to integrate my WordPress posts into my static site

Download this plugin now and Enjoy a Free Virtual API for your WordPress posts.

Download Now

HOW TO USE

  1. Download & install the plugin from the WordPress plugins directory.
  2. Head over to the "Configuration Page" and generate an API key for your EndPoint.
  3. Still on the configuration page, configure the API parameters such as the number of posts to retrieve, the categories to select the post from, etc. Then save the configuration.
  4. Now the EndPoint is ready to be used.
    https://YOUR_WORDPRESS_DOMAIN/posts-api-wp/
    Just replace "YOUR_WORDPRESS_DOMAIN" with your wordpress installation path.
  5. Now send a GET request to the EndPoint and include the header below for authentication.
    X-API-Key: YOUR_API_KEY
    Make sure the API Key is the recent one which you generated on the configuration page.
  6. The EndPoint URL will respond quickly with a JSON object containing your posts or it will respond with a JSON object containing a message if the request failed.
  7. In the case of a failed request, visit the "HOW TO USE" page for help with debugging the error or you submit an issue for us to look at it.