Api Endpoint

NPM CDN Rank

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.

Open interactive test console

Offering

Provider
data.greeneris.io
Method
GET
Offering type
Api Endpoint
Transport type
http
Category
Development
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://data.greeneris.io/v1/npm/cdn-rank
MIME type
application/json
First seen
2026-10-16T01:50:45.949Z
Last seen
Tags
npm, javascript, popularity, CDN, jsdelivr, devtools

Payment pricing

x402 payment terms are the authoritative price for calling this endpoint.

Payment option 1
0.002 USDC
Atomic price: 2000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "2000",
    "payTo": "0x6ab8efe305cce67daa48c97bde29c04402822dff"
  }
]

Observed health

Status
Healthy
Latest latency
103 ms
Average latency
197 ms
HTTP status
402
Last checked
Reachability
100% over 14 checks

Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.

Input schema

{
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "const": "http"
    },
    "method": {
      "type": "string",
      "enum": [
        "GET",
        "HEAD",
        "DELETE"
      ]
    },
    "queryParams": {
      "type": "object",
      "properties": {
        "pkg": {
          "type": "string",
          "description": "npm package name, e.g. react or @angular/core"
        },
        "period": {
          "type": "string",
          "enum": [
            "day",
            "week",
            "month",
            "year"
          ],
          "default": "week",
          "description": "Stats window"
        }
      },
      "required": [
        "pkg"
      ]
    }
  },
  "required": [
    "type",
    "method"
  ],
  "additionalProperties": false
}

Output schema

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