APILens
v1.0.0
system init
booting runtime
0%
Act I
Your phone won't stop buzzing.
Something just broke. You have no idea what — or when it started.
Meet APILens.See inside your API. Finally.
Total Requests
124,891
+12% today
Error Rate
0.8%
-3% today
Avg Latency
62ms
+2ms today
Slow Requests
43
-18% today
One line. Sixty seconds.
No YAML. No agents. No config servers. Works in any Node.js app, in any environment.
Install the package
npm install auto-api-observe
Add to Express
express middleware — 3 lines
Add to Fastify
fastify middleware — 3 lines
Data flowing to your dashboard
+ auto-api-observe@1.0.0
added 3 packages in 0.8s
Everything you need. Nothing you don't.
No 200-page setup guide. No dedicated DevOps team required. Just the signals that matter, the moment they happen.
Real-Time Request Logs
Every HTTP request logged with method, path, status, latency, and trace ID. Structured JSON, filterable instantly.
Error Rate Tracking
4xx and 5xx errors tracked separately. Know the difference between a bad request and a broken endpoint.
P95 Latency Detection
Slow endpoints surface automatically. Any request over your threshold is flagged before users start complaining.
Distributed Trace IDs
Each request gets a unique trace ID. Pass it downstream to correlate logs across services without any extra setup.
DB Call Counting
Wrap your queries with trackDbCall() to see how many DB calls each request triggers. Catch N+1 before they hurt.
Endpoint Analytics
Traffic broken down by route, not just by URL. See which endpoints are hot, slow, or broken — aggregated by minute.
Simple by design. Powerful by default.
There are three steps. That's it. We've spent months making sure there isn't a fourth.
Install & register
Add the package and register one middleware. Express or Fastify — your choice. Takes under 60 seconds.
- Zero dependencies on your request path
- Non-blocking async logger
- Works with any Node.js version ≥ 18
Every request captured
Each request is intercepted after your handlers run. Latency, status, trace ID, DB calls — all recorded automatically.
- Buffered logging — no I/O on request path
- Async context keeps trace ID across awaits
- Sampling rate control for high-volume APIs
See it in your dashboard
Data appears in APILens within seconds. Filter by route, status, latency. Spot the slow ones. Fix them.
- Real-time updates, no page refresh
- Endpoint-level breakdown per minute
- Alerts when error rate spikes
Free during beta.
All features included. No credit card. No limits during beta. Just sign up and start monitoring your API in 60 seconds.
Everything included. We'll notify you before pricing changes.
Questions? Reach out at hello@apilens.rest
Stop flying blind.
See everything.
Join developers who stopped guessing and started knowing. Add APILens in 60 seconds. Free during beta.
No credit card · No agents · Works in 60 seconds