{
  "x402Version": 2,
  "id": 3929,
  "slug": "3929",
  "resource": "https://data.greeneris.io/v1/npm/cdn-rank",
  "description": "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.",
  "type": "http",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x6ab8efe305cce67daa48c97bde29c04402822dff",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "2000",
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "bazaar": {
      "info": {
        "input": {
          "method": "GET",
          "queryParams": {
            "period": "week",
            "pkg": "react"
          },
          "type": "http"
        },
        "output": {
          "example": {
            "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
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "method": {
                "enum": [
                  "GET",
                  "HEAD",
                  "DELETE"
                ],
                "type": "string"
              },
              "queryParams": {
                "properties": {
                  "period": {
                    "default": "week",
                    "description": "Stats window",
                    "enum": [
                      "day",
                      "week",
                      "month",
                      "year"
                    ],
                    "type": "string"
                  },
                  "pkg": {
                    "description": "npm package name, e.g. react or @angular/core",
                    "type": "string"
                  }
                },
                "required": [
                  "pkg"
                ],
                "type": "object"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "bazaar"
  ],
  "sourceHost": "data.greeneris.io",
  "lastUpdated": "2026-09-02T09:20:12.637Z",
  "quality": {
    "calls30d": 4,
    "uniquePayers30d": 1,
    "lastCalledAt": "2026-09-02T09:20:12.288Z"
  },
  "liveness": {},
  "verified": false,
  "featured": false,
  "provider": {
    "host": "data.greeneris.io",
    "manifest_name": "data.greeneris.io",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-09-18T22:00:31.484Z"
  }
}