WP Ajax Query
WP Ajax Query allows you to query your WordPress database using the same query paramaters you would use for WP_Query, and return a JSON respresentation of the query results. This allows developers to easily interfaceβ¦
Consider an alternative
WP Ajax Query shows warning signs in 2026 β compare the alternatives below before installing. It runs on 10+ sites and was last updated 17 years ago, and scores 23/100 on our health check.
- Small user base (10+ active installs)
- Very few reviews so far
- No update in 16 years
- Only tested up to WordPress 3 (latest is 7.1)
How does it stack up?
Side-by-side on installs, updates, ratings & supportDaily downloads
Download spikes usually follow a new release β each site that auto-updates counts as a download.
Rankings
Where WP Ajax Query stands todayWordPress.org search rankings
Live position in the plugin search, top 100| Keyword | Position |
|---|---|
| ajax | >100 |
| JSON | >100 |
| query | >100 |
| wp_query | >100 |
Version adoption
Share of active sites per release.
About WP Ajax Query
From the official readme Β· v0.1Description
WP Ajax Query allows you to query your WordPress database using the same query paramaters you would use for WP_Query, and return a JSON respresentation of the query results. This allows developers to easily interface with WordPress without having to relearn a new API.
How It Works
The Ajax Query interface would be available at http://example.com/wp-admin/admin-ajax.php?action=query
A sample jQuery request would be like:
$.get(ajaxurl, { action: ‘query’ }, function () { }, ‘json’);
Querying for a post:
$.get(ajaxurl, { action: ‘query’, p: 1 }, function () { }, ‘json’);
JSON results:
{
“id”: 1,
“type”: ‘post’,
“title”: “Hello World”,
“permalink”: “http:\/\/example.com\/?p=1”
}
Query a category:
$.get(ajaxurl, { action: ‘query’, cat: 1 }, function () { }, ‘json’);
JSON results:
{
“id”: 1
“type”: “category”,
“permalink”: “http:\/\/example.com\/?cat=1”,
“terms”: [],
“posts”: []
}
terms and `posts` represents an array of either terms that are sub categories of the category, or posts belonging to the category.<h3>Why I Created It</h3>
Needed a common way to query the database for posts and taxonomies across multiple plugins, and didn’t find a suitable replacement.
Installation
- Upload the
wp-ajax-queryfolder into your plugin directory. - Activate the plugin through the ‘Plugins’ menu in WordPress
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.
Best WP Ajax Query alternatives
All ajax plugins βFAQ
WP Ajax Query: quick answers
Straight answers, pulled from live WordPress.org data.
Source: WordPress.org
Is WP Ajax Query free?
Yes. WP Ajax Query is free to download and use from the official WordPress.org plugin directory.
Is WP Ajax Query safe to use in 2026?
WP Ajax Query shows warning signs in 2026 β compare the alternatives below before installing. It runs on 10+ sites and was last updated 17 years ago, and scores 23/100 on our health check.
How many websites use WP Ajax Query?
WP Ajax Query is active on 10+ WordPress websites and has been downloaded 3,794 times since it launched in May 2010. It was downloaded 40 times in the last 30 days.
Does WP Ajax Query work with WordPress 7.1?
WP Ajax Query is officially tested up to WordPress 3, while the latest release is 7.1.5. It may still work, but try it on a staging site first.
When was WP Ajax Query last updated?
The latest version, 0.1, was released on May 27, 2010 (17 years ago).
Who makes WP Ajax Query?
WP Ajax Query is developed and maintained by aizatto.
What are the best alternatives to WP Ajax Query?
The most popular alternatives to WP Ajax Query are zipaddr-jp (50K+ installs), SearchWP Live Ajax Search (40K+ installs) and WP-Polls (30K+ 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
