🔥 Black Friday Sale: Get 65% OFF Any PageForge Pro Plan! Use code BF65 Claim Offer →
Account Get it free
JSON API Auth icon
Actively maintained Tested with WP 7.1 #29 in api

JSON API Auth

Extends the JSON API Plugin for RESTful user authentication

Active installs600+100+ tier
Downloads · 30d831▲ +11.1% vs prev. 30d
Rating4.7/511 reviews
Health score81/100Excellent
All-time downloads83.6KSince Dec 2013
Support resolved—No recent threads
RequiresWP 3.0.1PHP 7.4+
Downloads · 7d215▼ -20.4% week over week
Our verdict

Safe pick

Yes — JSON API Auth is a safe, well-maintained plugin to use in 2026. It runs on 600+ sites, is rated 4.7/5 and was last updated 2 weeks ago, and scores 81/100 on our health check.

  • Actively developed — last update 2 weeks ago
  • Tested with the latest WordPress (7.1)
  • Small user base (600+ active installs)

How does it stack up?

Side-by-side on installs, updates, ratings & support

Daily downloads

4387131Sep 4Oct 18Dec 2
Yesterday72
Daily average (1y)14
Peak day175Sep 8, 2026
Last 12 months5.2K

Download spikes usually follow a new release — each site that auto-updates counts as a download.

Rankings

Where JSON API Auth stands today

WordPress.org search rankings

Live position in the plugin search, top 100
KeywordPositionCompeting pluginsCategory
api #21 10,000 Best api plugins →
authenticate user #4 1,213 Best authenticate user plugins →
json api #1 6,799 Best json api plugins →
wordpress user authentication #62 3,916 Best wordpress user authentication plugins →

Version adoption

Share of active sites per release.

  • 3.136.2%
  • 2.917.0%
  • 3.09.0%
  • 2.76.5%
  • 1.96.1%
  • Other25.2%

Rating breakdown

★★★★★★★★★★ 4.7 from 11 reviews

  • 5★81.8%
  • 4★9.1%
  • 3★9.1%
  • 2★0.00%
  • 1★0.00%

About JSON API Auth

From the official readme · v3.1.3

Description

Important: use RESTful JSON API for new integrations

JSON API Auth is retained for existing sites that still depend on the original JSON API plugin and its cookie-authentication workflow. For a new mobile app, headless site, external service, or AI-assisted integration, install RESTful JSON API instead.

RESTful JSON API provides plugin-issued JWT bearer authentication, requires HTTPS by default for requests that handle passwords or tokens, and includes a broader set of endpoints organized into Core, Posts, User, Respond, and Widgets controllers. Its User controller includes signup, JWT login, token validation, profiles, avatars, password-reset requests, safe user meta, and authenticated comments, while the other controllers expose content, custom post type, taxonomy, media, menu, search, comment, and widget workflows.

Existing JSON API Auth integrations can continue using this plugin. Because JWT bearer tokens replace the legacy cookie format and endpoint paths differ, test your client migration before deactivating the legacy JSON API stack.

JSON API Auth extends the JSON API Plugin to allow RESTful user authentication.

JSON API Plugin, that is required, was closed on August 7, 2019 from WordPress repository. You can download JSON API Plugin from https://github.com/PI-Media/json-api until it is republished and available on WordPress.

Features include:

  • Generate Auth Cookie for user authentication

  • Validate Auth Cookie

  • Get Current User Info

For documentation: See ‘Other Notes’ tab above for usage examples.

Credits: http://www.parorrey.com/solutions/json-api-auth/

Installation

First you have to install the JSON API for WordPress Plugin (https://wordpress.org/extend/plugins/json-api/installation/). or You can download JSON API Plugin from https://github.com/PI-Media/json-api

To install JSON API Auth just follow these steps:

  • upload the folder “json-api-auth” to your WordPress plugin folder (/wp-content/plugins)

  • activate the plugin through the ‘Plugins’ menu in WordPress or by using the link provided by the plugin installer

  • activate the controller through the JSON API menu found in the WordPress admin center (Settings -> JSON API)

Changelog

3.1.3

  • Security: Mark every Auth controller response non-cacheable at the application and HTTP layers.
  • Security: Require POST for cookie generation, validation, and current-user authentication methods.
  • Security: Require JSON API 2.3.1 or later and purge legacy JSON API response transients during the upgrade.
  • Security: Accept credentials and authentication cookies only in the POST body, not in URL parameters.
  • Security: Remove the public insecure=cool HTTPS bypass. Local HTTP testing now requires the explicit JSON_API_AUTH_ALLOW_INSECURE constant.
  • Improved HTTPS detection for trusted reverse-proxy requests using X-Forwarded-Proto.

3.1.2

  • Tested and confirmed compatible with WordPress 7.1.
  • Confirmed the secure Parorrey donation link.

3.1.1

  • Added a migration notice recommending the newer RESTful JSON API plugin for new projects.
  • Documented its JWT bearer authentication, HTTPS-by-default protection, and broader controller-based endpoint set.
  • Added secure WordPress.org and donation links.

3.1.0

  • Tested and confirmed working with WordPress 7.0
  • Bumped minimum PHP requirement to 7.4
  • Replaced deprecated wp_capabilities user meta key with $user->roles for reliable role retrieval
  • Switched avatar retrieval to get_avatar_url() (WP 4.2+) with regex fallback, fixing broken avatar URLs in modern WordPress
  • Added sanitize_text_field() to POST parameter handling for improved input security
  • Fixed isset() check on json_api->query->cookie in cookie auth hook to avoid PHP notices

3.0.0

  • Updated for WordPress version 6.8

2.9.1

  • Fixed a bug for generate_auth_cookie, get_currentuserinfo endpoints for avatar
  • Updated for WordPress version 6.4.1

Full changelog on WordPress.org →

Screenshots

Call to generate_auth_cookie endpoint using Postman
Call to generate_auth_cookie endpoint using Postman
Call to get_currentuserinfo endpoint using Postman
Call to get_currentuserinfo endpoint using Postman
Call to validate_auth_cookie endpoint using Postman
Call to validate_auth_cookie endpoint using Postman

For developers

Is this your plugin? Show off the numbers.

Add a live badge to your site, docs or GitHub README. It updates on its own — no account needed.

Active installs badge Rating badge Health score badge

Best JSON API Auth alternatives

All api plugins →
Alternatives
Rank Plugin Active installs Rating Updated Health
1 WP Consent API WP Consent API Simple Consent API to read and register the current consent category. by Rogier Lankhorst 300K+ ★★★★★★★★★★ 5 (2) 2 days ago 76
2 Disable REST API Disable REST API Disable the use of the REST API on your website to site users. Now with User Role support! by Dave McHale 80K+ ★★★★★★★★★★ 4.8 (38) 3 years ago 37
3 Mailgun for WordPress Mailgun for WordPress Easily send email from your WordPress site through Mailgun using the HTTP API or SMTP. by Mailgun 70K+ ★★★★★★★★★★ 3.8 (50) 2 months ago 81
4 Make Connector Make Connector Make Connector. Make lets you design, build, and automate by connecting with WordPress in… by Make 70K+ ★★★★★★★★★★ 2.9 (27) 4 weeks ago 70
5 Disable WP REST API Disable WP REST API Disables the WP REST API for visitors not logged into WordPress. by Jeff Starr 30K+ ★★★★★★★★★★ 4.8 (36) 4 months ago 84
6 WP REST Cache WP REST Cache Enable caching of the WordPress REST API and auto-flush caches upon wp-admin editing. by Acato 10K+ ★★★★★★★★★★ 4.9 (42) 3 days ago 89
7 WPGraphQL for ACF WPGraphQL for ACF WPGraphQL for ACF seamlessly integrates Advanced Custom Fields with WPGraphQL. by Jason Bahl 10K+ ★★★★★★★★★★ 5 (1) 1 week ago 75
8 WPGet API – Connect to any external REST API WPGet API – Connect to any external REST API Connect any REST API to WordPress. WPGet API enables easy API integration, allowing you to… by David Anderson / Team Updraft 10K+ ★★★★★★★★★★ 5 (32) 2 weeks ago 94
9 WordPress REST API (Version 2) WordPress REST API (Version 2) Access your site's data through an easy-to-use HTTP REST API. (Version 2) by Ryan McCue 10K+ ★★★★★★★★★★ 4.2 (34) 9 years ago 43
10 WP REST API Controller WP REST API Controller Enable a UI to toggle visibility and customize properties in WP REST API requests. by Evan Herman 7K+ ★★★★★★★★★★ 4.3 (12) 4 years ago 38

FAQ

JSON API Auth: quick answers

Straight answers, pulled from live WordPress.org data.

Source: WordPress.org

Is JSON API Auth free?

Yes. JSON API Auth is free to download and use from the official WordPress.org plugin directory.

Is JSON API Auth safe to use in 2026?

Yes — JSON API Auth is a safe, well-maintained plugin to use in 2026. It runs on 600+ sites, is rated 4.7/5 and was last updated 2 weeks ago, and scores 81/100 on our health check.

How many websites use JSON API Auth?

JSON API Auth is active on 600+ WordPress websites and has been downloaded 83,614 times since it launched in December 2013. It was downloaded 831 times in the last 30 days.

Does JSON API Auth work with WordPress 7.1?

Yes. The developer has tested JSON API Auth up to WordPress 7.1.5, the latest release. It requires WordPress 3.0.1 or newer.

What PHP version does JSON API Auth need?

JSON API Auth requires PHP 7.4 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.

When was JSON API Auth last updated?

The latest version, 3.1.3, was released on November 19, 2026 (2 weeks ago).

Who makes JSON API Auth?

JSON API Auth is developed and maintained by Ali Qureshi.

What are the best alternatives to JSON API Auth?

The most popular alternatives to JSON API Auth are WP Consent API (300K+ installs), Disable REST API (80K+ installs) and Mailgun for WordPress (70K+ installs).

Powered by PageForge

One template and a spreadsheet. A real page for every search.

PageForge turns each row of a CSV into a WordPress page with its own title, URL, SEO fields and schema, built on the layout you already designed. Free on WordPress.org.

  • CSV and XLSX, plus Google Sheets on Professional and Enterprise
  • Its own title, URL, SEO fields and schema for every page
  • Works with the block editor, Elementor, Divi and Avada
  • Free on WordPress.org, no credit card

↑↓ to move↵ to open