WP REST API Tester

The ultimate client-side testing tool for WordPress REST API endpoints. Test routes, authenticate via Application Passwords or JWT, and debug JSON responses instantly.

⚠️ CORS Warning: Because this tool runs entirely in your browser, testing APIs on external domains might fail due to Cross-Origin Resource Sharing (CORS) policies. It works perfectly for APIs configured to allow CORS, or for generating cURL commands to test from your terminal.

Raw JSON payload. Used only for POST, PUT, and PATCH methods.

Recently tested URLs.

Waiting... 0ms
Hit "Send Request" to see the API response here.
Headers will appear here.
cURL snippet will appear here.

The Ultimate WordPress REST API Tester & Postman Alternative

The WordPress REST API has revolutionized how developers interact with the CMS. It transformed WordPress from a traditional monolithic blogging platform into a fully decoupled, headless application framework. Our WP REST API Tester is a lightweight, purely client-side alternative to bulky software like Postman or Insomnia. It is specifically designed to help you debug, authenticate, and analyze WordPress JSON endpoints directly from your browser.

What is the WordPress REST API?

The WP REST API provides API endpoints for WordPress data types that allow developers to interact with sites remotely by sending and receiving JSON (JavaScript Object Notation) objects. It enables you to create, read, update, and delete (CRUD) posts, pages, users, taxonomy terms, and custom post types using standard HTTP methods (GET, POST, PUT, DELETE).

Common WordPress Endpoints to Test

If you are new to the REST API, here are some of the most common default routes you can test simply by pasting your URL into our generator:

Authentication: Application Passwords vs JWT

By default, the WordPress REST API allows public read access (GET requests) to published content. However, to create, edit, or delete content, or to read private data, you must authenticate your request. Our tool supports the two most common methods:

1. Application Passwords (Basic Auth)

Since WordPress 5.6, Application Passwords are built into the core. You can generate one by going to Users > Profile in your WP Dashboard. It creates a 16-character string. In our tool, select "Basic Auth", enter your WordPress username, and paste the Application Password. Our tool automatically encodes this into an Authorization: Basic header. This is the safest and easiest way to test APIs without giving out your actual admin password.

2. JWT (JSON Web Tokens)

If you are building a headless WordPress app (using React, Vue, or Next.js), you are likely using a JWT plugin (like JWT Authentication for WP REST API). This allows stateless authentication. Simply generate your token, select "Bearer Token" in our UI, and paste it in. Our tool will construct the Authorization: Bearer {token} header.

Troubleshooting Common REST API Errors

When testing endpoints, you might encounter specific HTTP status codes. Here is what they mean in the context of WordPress:

Why Use This Tool Instead of Postman?

While Postman is a fantastic enterprise tool, it requires downloading a heavy desktop app, creating an account, and managing workspaces. Our WP REST API Tester is instant, requires zero setup, and generates ready-to-use cURL commands that you can immediately paste into your terminal or PHP scripts. It is the perfect rapid-debugging tool for WordPress developers.