Skip to content
Discussion options

You must be logged in to vote

Yeah — you don’t need to scrape the UI or dig through the client code 🙂

Umami actually exposes read endpoints (the same ones the dashboard uses internally). It’s just not super obvious from the docs at first glance.

You can fetch analytics data via REST APIs like:

  • GET /api/websites/{id}/stats
  • GET /api/websites/{id}/metrics
  • GET /api/websites/{id}/events

Auth depends on your setup:

  • Self-hosted → login API → use JWT token
  • Cloud → API key works

So yeah, no need to touch the DB or reverse-engineer anything. Just call the endpoints the dashboard already relies on.

Only thing to note: the API isn’t heavily documented, but it’s stable enough since the UI depends on it.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@jcubic
Comment options

Answer selected by jcubic
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants