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

API Stats

Do you use the WordPress REST API to serve apps, headless front ends or integrations? API Stats records every REST API request to your site and shows you what is being called, how often, how fast, and what fails.

Active installs80+10+ tier
Downloads · 30d246▼ -7.2% vs prev. 30d
Rating5/53 reviews
Health score71/100Good
All-time downloads3.7KSince Aug 2019
Support resolved—No recent threads
RequiresWP 5.3PHP 7.2+
Downloads · 7d58▼ -6.5% week over week
Our verdict

Solid choice

API Stats is a solid plugin choice in 2026, with a few things worth checking first. It runs on 80+ sites, is rated 5/5 and was last updated 2 months ago, and scores 71/100 on our health check.

  • Tested with the latest WordPress (7.1)
  • Small user base (80+ active installs)
  • Very few reviews so far

How does it stack up?

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

Daily downloads

102132Sep 3Oct 17Dec 1
Yesterday12
Daily average (1y)3
Peak day43Oct 12, 2026
Last 12 months934

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

Rankings

Where API Stats stands today

WordPress.org search rankings

Live position in the plugin search, top 100
KeywordPositionCompeting pluginsCategory
api #39 10,000 Best api plugins →
monitoring >100 2,323 Best monitoring plugins →
performance >100 10,000 Best performance plugins →
rest-api #54 10,000 Best rest-api plugins →
statistics >100 3,976 Best statistics plugins →

Version adoption

Share of active sites per release.

  • 2.058.8%
  • 1.441.3%

Rating breakdown

★★★★★★★★★★ 5 from 3 reviews

  • 5★100.0%
  • 4★0.00%
  • 3★0.00%
  • 2★0.00%
  • 1★0.00%

About API Stats

From the official readme · v2.0

Description

Do you use the WordPress REST API to serve apps, headless front ends or integrations?
API Stats records every REST API request to your site and shows you what is being called, how often, how fast, and what fails.

Features

  • Records every REST route: WordPress core, WooCommerce and any other plugin or custom endpoint
  • Requests-over-time chart, broken down by HTTP method or by status (2xx / 3xx / 4xx / 5xx)
  • Summary of requests, error rate, average and maximum response time
  • Routes table grouped by route pattern (e.g. /wp/v2/posts/(?P<id>[\d]+)) or by exact path, with error counts and timings
  • Quick date ranges (today, yesterday, 7 and 30 days) or any custom range, with minute / hour / day / week resolution
  • Filter everything by route (contains or exact), HTTP method and status (e.g. only errors); click a route to drill down
  • Configurable data retention, and a button to delete all recorded data
  • Developer hooks to skip requests or attach a readable label to them

Stats are under Tools → API Stats. Data is stored in your own database; nothing is sent anywhere.

You can view this project on GitHub.

Changelog

2.0

  • New: redesigned stats page with summary cards, quick date ranges and a sortable routes table
  • New: filter the whole page (cards, chart and table) by route, method and status, e.g. “errors only”; active filters are shown as removable chips and kept in the URL
  • New: click a route in the table to drill down into it
  • New: chart breakdown by status class (2xx/3xx/4xx/5xx) in addition to HTTP method
  • New: routes grouped by registered route pattern, so /posts/1, /posts/2, … count as one route (switchable to exact paths)
  • New: error counts and maximum duration per route
  • New: configurable data retention (0 = keep forever) and a “Delete all data” button; lowering retention asks for confirmation and shows how many events will be deleted
  • New: developer filters sg_api_stats_should_record, sg_api_stats_label and sg_api_stats_retention_days
  • Fix: event IDs could overflow after about 8.4 million recorded requests, which stopped recording
  • Performance: index on the event time column; old events are deleted in batches
  • Database schema is upgraded automatically on update
  • Chart.js updated from 2.8 to 4.5

1.5

  • Security: escape recorded routes and methods on the stats page (fixes stored XSS via crafted REST URLs)
  • Security: strictly validate date and point filters; all SQL queries now use prepared statements
  • Faster stats page: chart data comes from a single grouped query instead of one query per point
  • Fix: date filters now use the site timezone consistently for both the chart and the routes table
  • Filters use the URL (GET), so filtered views can be bookmarked and reloaded
  • Routes table limited to the top 200 routes
  • Uninstalling the plugin now removes its database table, option and scheduled event
  • Text domain changed to wp-api-stats to match the plugin slug (enables wordpress.org translations)
  • Requires WordPress 5.3+ and PHP 7.2+
  • Tested with WordPress 7.1

1.4

  • Update plugin description
  • Fix Input sanitization
  • Add Feature to display size of data stored in database for API events
  • Test with WP 6.4.1

Full changelog on WordPress.org →

Screenshots

Stats page: filters, summary, requests over time by HTTP method, routes grouped by route pattern, and data retention.
Stats page: filters, summary, requests over time by HTTP method, routes grouped by route…
Drill-down: clicking a route filters the whole page. Here a failing endpoint, with the chart broken down by status.
Drill-down: clicking a route filters the whole page. Here a failing endpoint, with the…
Routes by exact path, with readable labels added through the sg_api_stats_label filter.
Routes by exact path, with readable labels added through the sg_api_stats_label filter.

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 API Stats 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) 1 day 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) 2 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

API Stats: quick answers

Straight answers, pulled from live WordPress.org data.

Source: WordPress.org

Is API Stats free?

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

Is API Stats safe to use in 2026?

API Stats is a solid plugin choice in 2026, with a few things worth checking first. It runs on 80+ sites, is rated 5/5 and was last updated 2 months ago, and scores 71/100 on our health check.

How many websites use API Stats?

API Stats is active on 80+ WordPress websites and has been downloaded 3,705 times since it launched in August 2019. It was downloaded 246 times in the last 30 days.

Does API Stats work with WordPress 7.1?

Yes. The developer has tested API Stats up to WordPress 7.1.5, the latest release. It requires WordPress 5.3 or newer.

What PHP version does API Stats need?

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

When was API Stats last updated?

The latest version, 2.0, was released on October 11, 2026 (2 months ago).

Who makes API Stats?

API Stats is developed and maintained by Salar Gholizadeh.

What are the best alternatives to API Stats?

The most popular alternatives to API Stats 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