@webrank/webrank
v3.0.0
Published
Open domain popularity + authority rank — a free Tranco alternative (webrank + pagerank).
Maintainers
Readme
webrank (JavaScript)
Official JS client for webrank — the open domain popularity +
authority rank, a free alternative to Tranco. No API key, zero dependencies, works in
Node ≥ 18, browsers, Deno, Bun, and edge workers (anything with fetch).
Two numbers per domain:
webrank— popularity rank (1 = most popular), driven by real user traffic.pagerank— 0–10 link authority (PageRank-style): how much the web links to it.
Install
npm i @webrank/webrankUse
import webrank from "@webrank/webrank";
await webrank.rank("google.com");
// { domain: 'google.com', webrank: 1, webrank_score: 10, pagerank: 10,
// sources: 8, ranks: {...}, updated: '2026-07-15' }
await webrank.rankMany(["stripe.com", "gmpg.org"]); // batch, one request
await webrank.top(100); // the leaderboard
await webrank.history("github.com"); // monthly trendOr grab the whole list (top 1M, updated daily; monthly snapshots are permanent + citable):
curl -O https://api.webrank.top/list/webrank-latest.csv.gzHow it works
The rank is a data-driven composite of eight public sources, with weights derived from agreement with real-traffic data (not guessed) — it predicts real user traffic ~46% better than an equal-weighted list. Full method: https://webrank.top/methodology.
License
Data: CC-BY 4.0. This client: BSD-3-Clause.
