What PubTrace does, and how
The problem, shown not told
Here's an illustrative example of a common pattern: a package launches, gets a burst of attention, then settles into a quieter, steady rhythm. pub.dev's UI only shows a rolling 30-day count. Once that launch spike ages out of the window, the number looks like it "dropped". It didn't; the historical downloads still happened. Same package, two ways:
What pub.dev shows you
234
downloads, last 30 days
What PubTrace shows you
6484
downloads, past 12 months
Illustrative example, not a real package's data.
What PubTrace does
PubTrace fetches pub.dev's own public API, live, and sums the 52 weeks of download data it already publishes but doesn't surface in its UI. It shows you the whole year pub.dev is already tracking, not a new metric it invented.
How it works: live, using dio
- You search a package, say dio, the ecosystem's most recognizable HTTP client.
- PubTrace calls pub.dev's public API live; no caching layer hides where the numbers came from beyond a 1-hour refresh.
- It sums the 52 weekly values and charts them. This is that chart, right now:
33,786,663 downloads
dio, past 12 months · 8,349 likes · 160/160 pub points
curl https://pub.dev/api/packages/dio/metricsWhat it does NOT do
- No database of record. Nothing is stored between visits.
- No accounts, no signup, no tracking.
- No numbers older than 12 months. pub.dev's public API only exposes the trailing 52 weeks; anything before that genuinely isn't retrievable, by anyone, from this API.
FAQ
Why did my pub.dev download count suddenly drop?
Is this my all-time total?
How can I verify these numbers myself?
Is this affiliated with Google?
Built by
Oluwaseyi Fatunmole
Built by a Dart package author who watched his own download count "vanish", and went digging.
Trace your package →
See your whole year, not just the last 30 days.