跳到内容

API Stats

v2.0

Salar Gholizadeh · 2019年8月14日 上架

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

正在使用
80+
评分
5.0 / 5
累计下载
3,638
最近更新
2026年10月12日
3 条评价需要 WordPress 5.3+已测试到 7.1.5PHP 7.2+

截图

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 pattern, and data retention.
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 chart broken down by status.
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.

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.

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums