API Stats

View API calls to your website

Author:Salar Gholizadeh (profile at wordpress.org)
WordPress version required:5.3
WordPress version tested:7.1.3
Plugin version:2.0
Added to WordPress repository:14-08-2019
Last updated:11-10-2026
Rating, %:100
Rated by:3
Plugin URI:https://github.com/salar90/wp-api-stats
Total downloads:3 660
Active installs:70+
plugin download
Click to start download

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.


Screenshots
FAQ
ChangeLog