E

eu-verify · NPM CDN Rank

by eu-verify

GETBase

$0.002

per call · USD Coin on Base

Real browser-side adoption signal from the official jsDelivr Stats API: global CDN hit rank, rank within npm, total hits over the period, previous-period comparison and a derived trend (up/down/flat, lower rank = more popular). Query: ?pkg=react&period=week (period: day, week, month, year). Complements npm download counts; cached 6h.

Endpoint

GET https://data.greeneris.io/v1/npm/cdn-rank

4

Calls / 30d

1

Unique payers / 30d

Sep 2

Last called

exact

Payment scheme

Call this service

TypeScript · @x402/fetch
import { wrapFetchWithPayment } from "@x402/fetch";
import { privateKeyToAccount } from "viem/accounts";

const account = privateKeyToAccount(process.env.PRIVATE_KEY);
const fetchWithPay = wrapFetchWithPayment(fetch, account);

const res = await fetchWithPay("https://data.greeneris.io/v1/npm/cdn-rank", {
  method: "GET",
});
const data = await res.json();
cURL
curl -X GET \
  "https://data.greeneris.io/v1/npm/cdn-rank?period=week&pkg=react" \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

{
  "package": "react",
  "period": "week",
  "prev_rank": 127,
  "prev_total_hits": 70187760,
  "rank": 130,
  "source": "jsDelivr CDN stats (data.jsdelivr.com)",
  "total_hits": 68480875,
  "trend": "down",
  "type_rank": 106
}

Payment details

Pay to0x6ab8efe305cce67daa48c97bde29c04402822dff
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase
Schemesexact

Is this your API?

Pin it to the top of Other and the homepage with a featured placement.

Get featured →

More from eu-verify & similar services