Skip to content
  • Why WPGetAPI?
  • Examples
  • Pricing
  • Plugins
    • PRO Plugin
    • API to Posts Plugin
    • OAuth 2.0 Plugin
  • Docs
  • Support
    • Frequently Asked Questions
    • Feature Request
    • Support Ticket
  • account_circle
PRO Plugin
Howdy! How can we help you?
  • Introduction

    • Quick Start
    • Frequently Asked Questions
    • Will this work with my API?
    • Understanding API docs
    • Step by Step Example
  • Setup

    • Setup Page
    • Endpoint Page
    • Parameters - Query String
    • Parameters - Headers
    • Parameters - Body POST
    • Shortcode
    • Template Tag
    • Gutenberg Block
  • Connecting your API

    • API Key in Headers
    • API Key in Query String
    • Authentication & Authorization
  • Output API Data

    • Format API to HTML
    • Format API to HTML Table
    • Format API to Image Gallery
    • Format JSON Data
  • Integrations

    • Send form data to API
    • WPForms to API
    • Gravity Forms to API
    • Contact Form 7 to API
    • WooCommerce to API
    • WooCommerce API Product Sync
    • wpDataTables to API
    • Connect WordPress to OpenAI
    • Connect RapidAPI to WordPress
    • Connect Zoho CRM to WordPress
    • Page Builders (Elementor, DIVI)
    • Formidable Forms to API
    • Elementor Form to API
    • JetFormBuilder to API
    • Fluent Forms to API
    • WS Form to API
    • Ninja Tables to API
    • Easy Digital Downloads(EDD) API Product Sync
    • Ultimate Member Forms to API
  • Tips & Tricks

    • Filters & Action Hooks
    • Code Snippets Plugin
    • Troubleshooting
    • Code Snippets
  • PRO Plugin

    • Installation
    • Actions
    • Tokens
    • Caching
    • Nested data
    • Chaining API calls
    • Dynamic Variables
    • Format API to HTML
    • Call API on user registration
    • Using AJAX to trigger API call
    • Base64 Encoding
    • Licensing
    • Filters & Action Hooks
  • OAuth 2.0 Plugin

    • Installation
    • How it works
    • Grant Type - Client Credentials
    • Grant Type - Authorization Code
    • Licensing
  • API to Posts Plugin

    • Installation
    • Getting Started
    • Multiple Endpoints
    • Mapping Fields
    • Filters & Action Hooks
    • Pagination

Will WPGetAPI work with my API?

The short answer is yes, most likely. If your API follows standard REST protocols, then there should be no issue.

Generally when working with API’s, we are either wanting to display data or we are wanting to send data to create or update something through the API.

Regardless of what we are trying to do, the first step is always to connect to the API.

Connecting to the API

WPGetAPI can connect to any REST API if it follows standard REST authentication protocols (including OAuth 2.0 Authorization). Our free plugin can connect using the majority of authentication methods such as API keys, username:password within the body, bearer tokens and more. Our Pro plugin provides the base64 encoded method.

Displaying and formatting data

If the purpose of your API is to display and format some type of data, then there are many different options depending on exactly how you want to display the data and also the size and complexity of your data.

If the data from the API is small and uncomplicated, then WPGetAPI (and possibly in conjunction with the Pro plugin) has you covered and there usually won’t be a need for any code to be written. When there is extremely large and complex data or you need to format it in a complex way, there are still many options but is more likely to require some PHP knowledge and some code written.

Here are some different options for displaying and formatting data, using the free WPGetAPI plugin and also the Pro plugin:

Using the shortcode (easy)

The shortcode will simply display the API data as it is received, without formatting. This is the most basic option.

The shortcode can be extended by using the Pro plugin which provides extra shortcode attributes that allow for more complex formatting and data gathering. Examples of this include being able to retrieve nested data from the API, format the API data as HTML or formatting numbers.

Using the block (easy)
The block will simply display the API data as it is received, without formatting. This is the most basic option just like shortcode.

The block can be extended by using the Pro plugin which provides extra options that allow for more complex formatting and data gathering. Examples of this include format the API data as HTML or formatting numbers, set HTML Tag either “div”, “li” or “span”.

Please see our full guide on using the block.

Using the template tag (harder)

For large and complex data, the template tag is the best option but requires some knowledge of PHP.  If you are new to PHP, please also see our article on using the template tag without modifying theme files.

Below are a few ways to format and display complex API data:

  • Create an image gallery from API data – https://wpgetapi.com/docs/create-image-gallery/
  • Create complex HTML tables from API data – https://wpgetapi.com/docs/using-with-wpdatatables/
    • Using the wpDataTables you can create complex and sortable tables and complex charts from your API data.
  • Create product listings from API data – Our WooCommerce Import plugin allows you to create WooCommerce products from API data
  • Create real estate/car/directory listings – Our Custom Listings plugin allows you to create any type of listings website

Creating or updating data

If the purpose of your API is to create a new customer in a CRM or to create some other type of data within the API, then WPGetAPI can usually achieve this in conjunction with our Pro Plugin. The Pro plugin is normally required as you will most likely be wanting to add dynamic/changing data such as user details from a form and only our Pro plugin will handle this type of dynamic data. This can also be tested with the free WPGetAPI plugin by adding static data within the settings.

On this page
contact_support

Still not sure?

APIs can be daunting and sometimes downright confusing.

But we are here to help! Our support is amazing and we can assist you with any setup required and ensure your API integrations are a success!

Ask Us Anything

Connect your WordPress website to external APIs without writing a single line of code. Send data from WordPress to your API or display data from your API within WordPress.

Support

  • Documentation
  • Support Ticket
  • Refund Policy
  • Contact Us
  • About Us
  • Affiliates

Articles

  • Quick Start Guide
  • WooCommerce Orders to API
  • WooCommerce API Products Sync
  • Contact Form 7 to API
  • WPForms to API
  • Gravity Forms to API
  • WordPress to RapidAPI

WordPress API Plugins

  • Free WPGetAPI Plugin
  • PRO Plugin
  • API to Posts Plugin Plugin
  • OAuth 2.0 Authorization Plugin

© 2025 WPGetAPI. All Rights Reserved.

"*" indicates required fields

Name*
This field is for validation purposes and should be left unchanged.