Custom API For WP

Description

This plugin helps you create/register custom endpoints/Custom REST APIs into WordPress directly by using Graphical User Interface(GUI) to fetch any type of data from user roles, groups to featured images, and any custom data or fields as well that you want. Apart from just fetching data you can POST, PUT, DELETE (Insert, Update, Delete) data with these created Custom endpoint / Custom REST routes.
Any type of interaction with data is possible by creating Custom REST API endpoints with a very simple GUI. It means you can easily interact with the WordPress database to fetch/update/delete data using the custom endpoints created(generated) using this plugin.
This plugin takes care of writing the complex SQL query to fetch/update data and provides you with a very simple User interface to create or generate custom REST endpoints.
This plugin also provides the filter operations in which you can filter the data you want to show in the API endpoint response.
Also, this plugin takes care of the authentication/security of these custom generated API endpoints as well by providing support for highly secure API key authentication, Basic authentication, JWT authentication and most secure OAuth 2.0 authentication methods.

Additionally, you can control the visibility and customize the metadata attached to the Custom endpoint response. Also, it provides an option to protect your Custom REST API endpoints from unauthorized access such that endpoints can be secured and can only be accessed after successful validation.

Third-party/External API Integration into WordPress

  • This plugin also helps you to integrate any external/third-party REST API endpoints into WordPress very easily using the GUI within seconds. So with these API integrations, you can connect to any external platforms and fetch the data using these external API endpoints to display the data on your WordPress(Woocommerce) site or can also process this data to use it further.
  • These integrations can also be done on third-party plugin’s events like form submission using third-party plugins like Elementor, Wpforms, Gravityforms etc. and also payment status or subscription status based on transactions done via payment gateways like that provided by WooCommerce, WPForms, GravityForms or any other services.
  • Apart from these, the external API integrations can be done on any event of the WordPress like user registration, user membership level change or any other.
  • The plugin is compatible to update Woocommerce products data based on the data fetched from an external/third-party API provider(Supplier) on a real-time basis.
  • This feature also provides the capabilities to register or login users to third-party platforms by making an API request to the third-party platforms.

Use Case

• Accessing some custom data into your mobile application or web clients via custom REST API Endpoints.
• Create, Read, Update and Delete (CRUD) WordPress content from client-side JavaScript or from external applications, even those written in languages beyond PHP by creating easy to use Custom REST Routes.
• Interact with any standard database schema/tables or your custom-built schema/table to fetch/update/delete data using the custom API endpoints.
• Connect two WordPress sites or connect your WordPress site with a website built in any framework and Get/Update/Insert/Delete (CRUD) data of one website from another website with the help of Custom API and feasibility of connection with External APIs / Custom Endpoints developed in the external Website.
• Connect with External Rest API Routes to display data in your website or process the data received from External Endpoint.
• Integrate External/third-party REST API endpoints with third-party plugin’s payment gateways like that of WooCommerce, WPForms or any other custom gateway such that the API can be called automatically based on the payment status.
• Integrate External/third-party REST API endpoints with custom/third-party plugins’ forms like that of WPForms, Elementor, GravityForms etc such that the external APIs can be called on these forms submission or any related events to perform fetch/update/delete operation based on API endpoints.
• Sync third-party/external API provider’s(Supplier’s) API Inventory data into Woocommerce and display them in the products feed on a real-time basis.
• Integrate external APIs into Woocommerce.

Free Version Features

• Unlimited Custom REST APIs(endpoints) can be created
• Give names to Custom Endpoints/Custom REST routes
• Build custom REST routes for all tables within WordPress
• Build custom REST routes for fetching posts and taxonomies
• Fetch any type of data available in WordPress via custom REST API endpoints
• Full control of Custom REST API responses without writing a single line of PHP code.
• Fetch operation available with single WHERE condition
• Can be integrated with all types of applications
• Can perform simple and advanced SQL queries on the WordPress database by creating custom rest API routes

Premium Version Features

• Create/register custom namespaces and routes
• Multiple endpoints allowed per REST route
• Create(generate)Custom API route for posts and taxonomies creation, modification, deletion.
• Supports all kinds of HTTP Methods(GET, PUT, POST, DELETE)
• Filters included to alter and extend default functionality
• Fetch operation available with multiple custom conditions
• Limit the no of responses you get as a result of Custom Endpoints (API).
• Option to enable or disable the Custom API endpoints according to your requirements.
• Complex queries formation with an Advance mechanism.
• Restrict public access to all Custom REST API Routes with API KEY Authentication method and some other Authentication methods can also be provided as ADD-ON as per requirement like
1. REST API endpoints authentication using OAuth 2.0
2. REST API endpoints authentication using JWT Tokens
3. Basic Authorization with Username and Password
4. OAuth 2.0 authentication for REST API endpoints
5. Authentication from external OAuth/OIDC provider’s token for REST API endpoints

Enterprise Version Features

• All Premium Version Features
• Create(generate) Custom API endpoints with custom SQL Query so as to create custom API with your own complex SQL query.
• Connect with External REST API / External Endpoints, also known as third-party REST API endpoints.
• External API integration to fetch data in the WordPress, update data on the External API provider side.
• Supports all kinds of HTTP(GET/POST/PUT/UPDATE) Methods.
• Supports integration with Custom API / Custom Endpoints of External Website or Platform
• Dynamic WordPress hooks for each External API / Endpoint connection to perform operations on external data
• Compatibility with Third-Party Plugin Events like WooCommerce, WPForms, GravityForms, Membership Plugins, etc.
• Support for calling External / Custom Endpoints on third party plugin events.
• Compatibility with third-party plugin’s payment gateways provided by Woocoomerce, Wpforms, PayPal, Stripe or any custom payment gateway.
• Support for connection with Custom API / Custom Endpoints developed in any framework like Java, PHP, NodeJS, .NET, etc.
• Support of Dynamic headers for the External REST APIs / Custom APIs request
• Securely access External Endpoints by passing the required authentication parameter either in Header or Body

Authentication related information can be sent by any suitable REST client for eg- You can use CURL calls to send HTTP Requests or even any IDE like PHPSTORM or you can go with POSTMAN to send an authentication key.

Type of APIs supported:

• ‘HTTP GET` (This can be used to retrieve data from your WordPress)
• ‘HTTP POST’ (This can be used to insert data in your WordPress)
• ‘HTTP PUT’ (This can be used to update data in your WordPress)
• ‘HTTP DELETE’ (This can be used to delete data in your WordPress)

Type of Data which you can retrieve with Custom Endpoints:

• WP Users and User Meta
• WP Roles and Capabilities
• WP Posts, Pages and custom post types
• WP Options
• WP Taxonomy
• Woocommerce products, WordPress Membership plugins data
• Custom data, Custom posts, Custom parameters, Custom fields and many more
• Any third-party plugin’s or custom table’s data can be fetched/updated using these custom API endpoints

Screenshots

  • List all created API's
  • Create API UI
  • Response of API call

Installation

From your WordPress dashboard

  1. Visit Plugins > Add New
  2. Search for Custom API for WP. Find and Install Custom API for WP plugin by miniOrange
  3. Activate the plugin

From WordPress.org

  1. Download Custom API for WP plugin
  2. Unzip and upload the custom-api-for-wp directory to your /wp-content/plugins/ directory.
  3. Activate the miniOrange API plugin from your Plugins page.

Once Activated

  1. Go to the Settings-> Custom API menu
  2. Click on the Create API button
  3. Choose data that you want to retrieve with API and conditions to retrieve data
  4. Save the configuration and your API will be ready to use.

FAQ

I do not see the data which I want to send with API?

Please email us at info@xecurify.com or submit your query from the plugin support form so that we can provide support to you to achieve what you are looking for.

Can I write create or generate API endpoints in WordPress using my own complex custom SQL Query?

Yes, the plugin provides this functionality so that any custom endpoints can be created or generated based on your self-defined custom SQL query with any complexity, so SQL query can be used to perform operations using even multiple WP database tables.

How to integrate External/third-party side(Non-WordPress) REST API endpoints into WordPress?

The plugin provides the Graphical User Interface based feature to integrate or connect to any external API endpoints easily within WordPress and these connections can be used to fetch/update data via these external API endpoints on any WordPress events on a real-time basis.

How to create API endpoints in WordPress

This plugin is exactly meant to do that in which you can easily create any APIs to interact with WordPress database perform any operations like GET, POST, PUT, DELETE within seconds along with security.

Reviews

October 13, 2021
I had asked for a refund because the plugin did not correspond to what we wanted. It took a week to turn a possible refund for a satisfied customer who will probably rely on other products. 5-star team
June 15, 2021
This plugin is very powerful and easy to use,it allows you to add and manage APIs more quickly and conveniently. Although I encountered some difficulties when installing this plugin at the beginning, the staff solved the problem for me very quickly and patiently. They helped me solve the problems that have troubled me for a long time and taught me how to use this plugin. Anyway, this is a very useful plugin, and its support team is very good, I highly recommend you to use this plugin.
February 17, 2021
The plugin works great, is easy to use and helped us getting information from our DB in JSON, very easily. We are using Grafana in Docker and needed to get information from a wordpress DB hosted directly on the host. One way of achieving this was to open the DB to the world and connect to it from Grafana but, hey, that's not the best way to keep things secured. Then we ran into this plugin and it made the work so much easier - and secure!. Now, the plugin puts the data we needed in an API route, and our Grafana dashboard can query the API as much as it needs to. Brilliant. We spotted an issue in the logs and the support team took care of it very quickly. They proposed a zoom call to check what was the issue so that, if it was on their part, they could patch. But it was only a compatibility problem which solved the issue by himself. So no problem in the end. I thank them once again 🙂 Pr
January 19, 2021
We thought this was the plugin for us but needed some extra work done on top. The xecurify guys have always been available in responding to our requests and punctual in assistance. Nichilesh was our developer an he's done a great job again asking the right questions to understand the project as our customization requirements went above and beyond from what the default plugin does. Nonetheless he's done it, and all has worked out fine. Nichilesh followed the API configuration documents we had provided and constantly updated us on the progress of the procedure. All in all an Excellent service, we will be happy to do business with this establishment again in the future if and when required.
Read all 5 reviews

Contributors & Developers

“Custom API For WP” is open source software. The following people have contributed to this plugin.

Contributors

Translate “Custom API For WP” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

1.1.1

  • Initial version

1.1.2

  • Added UI changes and contact form bug fix

1.1.3

  • Added feedback form at deactivation

1.1.4

  • Improved SEO and added compatibility with WP 5.5

1.1.5

  • Showing all premium features and Added customer registration tab

1.1.6

  • Bugs and UI fixes

1.1.7

  • Bugs and UI fixes

1.1.8

  • Added compatibility with WordPress v5.6

1.1.9

  • Bugfix – Added support for LIKE condition

2.1.0

  • Bug Fixes, Compatibility with WordPress v5.7 and integration with external APIs

2.1.1

  • UI Updates, Bug Fixes

2.1.2

  • Bug Fixes, Usability improvements, WordPress 5.8 compatibility

2.1.3

  • Security Fixes, UI improvements, WordPress 5.8.2 compatibility

2.1.4

  • UI bug Fixes and security Fixes