API Analytics
apianalytics.dev
- Free plan
- Open source
- Web
- API
- Self-hosted
What API Analytics is
API Analytics provides monitoring and usage analytics for API frameworks. Its dashboard offers real-time usage insight, with active monitoring and error notifications. Setup examples cover frameworks including FastAPI, Flask, Django, Tornado, Express, Fastify, Koa, Hono, Gin, Echo, Fiber, Chi, Actix, Axum, Rocket, Rails, Sinatra and ASP.NET Core. Middleware can record request method, endpoint, user agent, timestamp, response status and time, hostname, and framework identifier. IP collection can be set to store addresses, discard them after use, or avoid accessing or collecting them. Users can attach an optional custom user ID and retrieve raw request records through a data API, with filters such as date, hostname, IP, status, location and user ID. The free plan is free and allows up to 1 million stored requests per user; newer requests replace older ones at that limit. The service is available as a web product and API, and can be self-hosted, though the project advises against production self-hosting while it remains under development and testing.
Who it suits
It suits teams monitoring APIs built with the listed frameworks and users who need request-level analytics or configurable IP collection. Self-hosting is available, but the project advises against it in production while under development and testing.
Good to know, and what to watch
- Dashboard provides real-time usage insight.
- Active monitoring and error notifications are available.
- IP collection has three privacy settings.
- Raw request data can be filtered through an API.
- Free plan holds up to 1 million requests per user.
- Newer requests replace older ones at the storage limit.
- Production self-hosting is discouraged during development and testing.
Plans
Every plan and priceFree
Free plan
Getting started
- Open https://apianalytics.dev/
- Choose a setup example for your API framework
- Add the middleware to collect request data
- Configure IP collection and optional custom user IDs
- Use the dashboard for live usage, monitoring, and notifications
- Query logged records through the data API
Limits to check
The Free plan stores up to one million requests per user; newer requests replace older ones after that point. Account data is automatically deleted after six months without dashboard or data API access, or three months since the latest logged request.
The verdict
API Analytics offers broad framework examples, request filtering and adjustable IP collection on a free plan. Account for the storage cap and the project's caution about production self-hosting.
Questions people ask
Is API Analytics free?
Yes. The Free plan costs nothing and stores up to one million requests per user.
Which frameworks have setup examples?
Examples cover FastAPI, Flask, Django, Tornado, Express, Fastify, Koa, Hono, Gin, Echo, Fiber, Chi, Actix, Axum, Rocket, Rails, Sinatra, and ASP.NET Core.
Can IP addresses be kept private?
Yes. Middleware can store addresses, discard them after use, or never access or collect them.
Can I retrieve raw request records?
Yes. The GET data API supports filters including date, hostname, IP address, status, location, and user ID.
Can API Analytics be self-hosted?
Yes, self-hosting is available. The FAQ recommends avoiding it in production while the project remains under development and testing.
Where is data stored?
The service says data is stored on London-based servers and is protected with encryption and secure access protocols.
What the maker publishes
- Active monitoring
- Users can configure endpoint checks that regularly ping selected URLs and report uptime and response time. source
- API key account model
- Accounts are created through a randomly generated UUID API key rather than an email login. source
- Backend architecture
- The API service is written in Go with Gin and connects to PostgreSQL for analytics data access. source
- Backend rate limit
- The backend applies a default limit of 100 requests per second per IP address, configurable through RATE_LIMIT. source
- Collected fields
- Recorded fields include method, endpoint, user agent, optional IP, timestamp, status, response time, hostname and framework identifier. source
- Company legal entity
- Aston Berkeley Systems Limited is an active UK private company incorporated on 20 March 1998 with a registered office in Lymm, Cheshire. source
- Custom field mapping
- Middleware configuration can replace default extraction logic such as the client-IP lookup behind a reverse proxy. source
- Custom identifiers
- An optional custom user ID can be stored with requests and used to filter data through the data API. source
- Custom user IDs
- A mapper function can attach an application-defined user or session identifier to each logged request. source
- Dashboard
- The dashboard provides real-time usage insight. source
- Dashboard
- The web dashboard presents real-time API usage information through visualizations and statistics. source
- Data API
- Users can retrieve raw logged request data through a GET data API with filters including date, hostname, IP address, status, location, and user ID. source
- Data filters
- The data API supports page, date, date ranges, hostname, client IP, status, location and custom user identifier filters. source
- Data retention
- Accounts are scheduled for deletion after six months without dashboard or API access or three months without a logged request. source
- Data sharing
- The privacy policy says stored information is not sold or shared with third parties except when legally required. source
- Documentation gap
- The Go package index marks the backend API package as having no package documentation. source
- Framework support
- The homepage provides setup examples for FastAPI, Flask, Django, Tornado, Express, Fastify, Koa, Hono, Gin, Echo, Fiber, Chi, Actix, Axum, Rocket, Rails, Sinatra, and ASP.NET Core. source
- Funding model
- The FAQ describes API Analytics as a hobby project funded personally by its creator and supported by donations. source
- GDPR and storage
- The FAQ says the service adheres to GDPR and stores data on London-based servers; it says users may delete stored data and that data is not shared or sold to third parties. source
- GDPR statement
- The maker states that the service follows GDPR requirements and stores data on London-based servers. source
- Go integrations
- Official middleware supports Gin, Echo, Fiber and Chi. source
- Independent project description
- Tom Draper’s public GitHub profile describes API Analytics as monitoring and analytics for API frameworks. source
- Installation
- Examples install framework packages through pip, npm, Go modules, Cargo, RubyGems, Composer or dotnet and then add middleware. source
- IP privacy
- Middleware settings offer three IP collection levels: collect and store addresses, discard them after use, or never access or collect them. source
Checked against the maker's pages on 15 Oct 2026.