API Stats
by Salar Gholizadeh 5 (3 reviews)

API Stats

View and filter API calls to your website with details about Method, Path, Response time, and Count.

API Stats ranks #18,004 among WordPress.org plugins with 80+ active installations, is #450 of 2,168 in the Analytics category, a 5/5 rating from 3 reviews, and was last updated Oct 11, 2026. Data from WordPress.org, refreshed twice daily — see methodology.

Compatible with WP 7.1
v2.0 Current Version v2.0
Updated 3 weeks ago Last Update on 11 Oct, 2026
Refreshed 1 week ago Last Refreshed on
#450 of 2,168 in Analytics Top 25% by installs Actively maintained
View on WordPress.org
Rank
#18,004
— No change
Active Installs
80+
-3.6%
KW Avg Position
125.7
1.7 worse
Downloads
2.9K
+9 today
Support Resolved
0%
— No change
Rating
100%
Review 5 out of 5
5 (3 reviews)

Next Milestone 90

Total Progress 60%
80+ 90+
941
Ranks to Climb
-
Growth Needed
8,000,000
Active Installs
Pro

Unlock Exact Install Count

See the precise estimated active installs for this plugin, calculated from real-time ranking data.

  • Exact install estimates within tiers
  • Track install growth over time
  • Milestone progress predictions
Upgrade to Pro
Need 4 more installs to reach 90+

Rank Changes

17,104 17,554 18,004 18,454 18,904 31-10-2026 01-11-2026 02-11-2026 03-11-2026 04-11-2026 05-11-2026 06-11-2026 07-11-2026
17,789 17,873 17,957 18,040 18,124 23-10-2026 24-10-2026 25-10-2026 26-10-2026 27-10-2026 28-10-2026 29-10-2026 30-10-2026 31-10-2026 01-11-2026 02-11-2026 03-11-2026 04-11-2026 05-11-2026 06-11-2026 07-11-2026
Current #18,004
Change
Best #

Upgrade to Pro

Unlock 30-day and 90-day rank history charts with a Pro subscription.

Upgrade Now

Active Installs Growth

Active Installs 0,000,000+
Growth +0.0%
Peak 0,000,000

Downloads Growth

0 10 20 31-10-2026 01-11-2026 02-11-2026 03-11-2026 04-11-2026 05-11-2026 06-11-2026 07-11-2026
0 10 20 23-10-2026 24-10-2026 25-10-2026 26-10-2026 27-10-2026 28-10-2026 29-10-2026 30-10-2026 31-10-2026 01-11-2026 02-11-2026 03-11-2026 04-11-2026 05-11-2026 06-11-2026 07-11-2026
Downloads
Growth
Peak

Upgrade to Pro

Unlock 30-day, 90-day, and yearly download history charts with a Pro subscription.

Upgrade Now

Reviews & Ratings

5.0
3 reviews
Overall 100%
5
3 (100%)
4
0 (0%)
3
0 (0%)
2
0 (0%)
1
0 (0%)

Security History

Source: WPVulnerability

No known vulnerabilities on record for API Stats. Checked 3 months ago.

TL;DR

AI summary of the plugin's readme

This plugin is for WordPress site owners and developers who use the REST-API to serve applications. It solves the problem of not being able to view and monitor API request activity, letting users filter and chart calls by method, path, response time, and count.

  • Records routes from all plugins
  • Records WordPress core routes
  • Filter API requests by date
  • Adjust duration of points
  • Show/filter request types (GET, POST, PUT, PATCH, DELETE)
  • List of most requested routes

Frequently Asked Questions

Common questions about API Stats

30 days by default. Change it under Tools → API Stats → Stored data. Set it to 0 to keep data forever (the page shows how big the table is). Old events are removed hourly. Lowering the number deletes older events right away, after a confirmation that tells you how many; deleted events can't be restored by raising the number again. Developers can also set it in code: add_filter( 'sg_api_stats_retention_days', function () { return 90; } );
Use the "Delete all data" button under Tools → API Stats → Stored data. Recording continues afterwards. Uninstalling the plugin also removes its table and settings.
Yes, with the sg_api_stats_should_record filter. Return false to skip a request: add_filter( 'sg_api_stats_should_record', function ( $record, $request ) { return 0 !== strpos( $request->get_route(), '/wp/v2/' ); }, 10, 2 );
Yes. Return a label from the sg_api_stats_label filter. It is stored with the request and shown in the routes table when grouping by exact path: add_filter( 'sg_api_stats_label', function ( $label, $request ) { if ( preg_match( '#^/myapi/doc/(\d+)$#', $request->get_route(), $m ) ) { return get_the_title( (int) $m[1] ); } return $label; }, 10, 2 );
Requests are grouped by the registered route they matched, so /wp/v2/posts/1, /wp/v2/posts/2, ... appear as one row /wp/v2/posts/(?P<id>[\d]+) with the number of distinct paths. Switch to "By exact path" to see each URL separately. Requests that matched no route (404) are always shown by path.
Your site's timezone (Settings → General). Durations are measured from the start of REST API handling until the response is sent, in milliseconds.

Sign In / Register

You need to sign in or register to use this feature.