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.
Escolha sólida
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.
- Testado com as últimas WordPress (7.1)
- Pequena base de usuários (mais de 80 instalações ativas)
- Muito poucos comentários até agora
Como ele se acumula?
Lado a lado em instalações, atualizações, avaliações e suporteDownloads diários
Os picos de download geralmente seguem uma nova versão — cada site que atualiza automaticamente é um download.
Rankings
Where API Stats stands todayWordPress.org Classificações de pesquisa
Posição ao vivo na pesquisa de plugins, top 100| Palavra chave | Posição |
|---|---|
| api | #39 |
| monitoring | >100 |
| execução | >100 |
| rest-api | #54 |
| statistics | >100 |
Adoção da versão
Compartilhamento de sites ativos por lançamento.
Divisão de classificação
★★★★★ ★★★★★ 5 de 3 comentários
About API Stats
From the official readme · v2.0Descrição
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.
Recursos
- 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.
Log de Changes
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+
- Testado com 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
Para desenvolvedores
Este é o seu plugin? Mostre os números.
Adicione um crachá ao vivo ao seu site, Documentos ou Readme do GitHub. Ele é atualizado por conta própria - nenhuma conta necessária.
Best API Stats alternatives
All api plugins →FAQ
API Stats: quick answers
Respostas diretas, extraídas de dados ao vivo WordPress.org.
Fonte: 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).
Alimentado por PageForge
Um modelo e uma planilha. Uma página real para cada pesquisa.
PageForge Transforma cada linha de um CSV em uma página WordPress com seu próprio título, URL, SEO campos e esquema, construído no layout que você já desenhou. Gratuito em WordPress.org.
- CSV e XLSX, mais Google Sheets em Profissional e Empresarial
- Seu próprio título, URL, SEO campos e esquema para cada página
- Funciona com o editor de blocos, Elementor, Divi e Avada
- Gratuito em WordPress.org, sem cartão de crédito



