{
  "x402Version": 2,
  "id": 3953,
  "slug": "3953",
  "resource": "https://data.greeneris.io/v1/npm/package",
  "description": "One merged call instead of two: latest-version metadata from the official npm registry plus last-week download count from api.npmjs.org (both live). Query: ?pkg=react (scoped names like @scope/name accepted). Returns version, license, deps_count + dependency names, engines, weekly_downloads. No personal maintainer data. 1h cache.",
  "type": "http",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x6ab8efe305cce67daa48c97bde29c04402822dff",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "5000",
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "bazaar": {
      "info": {
        "input": {
          "method": "GET",
          "queryParams": {
            "pkg": "react"
          },
          "type": "http"
        },
        "output": {
          "example": {
            "dependencies": [],
            "deps_count": 0,
            "description": "React is a JavaScript library for building user interfaces.",
            "downloads_period": {
              "end": "2026-07-11",
              "start": "2026-07-05"
            },
            "engines": {
              "node": ">=0.10.0"
            },
            "homepage": "https://react.dev/",
            "license": "MIT",
            "package": "react",
            "source": "npm registry + api.npmjs.org downloads (live)",
            "version": "19.2.7",
            "weekly_downloads": 153316909
          },
          "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": {
                  "pkg": {
                    "description": "npm package name, e.g. react or @types/node",
                    "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-08-27T15:15:07.449Z",
  "quality": {
    "calls30d": 1,
    "uniquePayers30d": 1,
    "lastCalledAt": "2026-08-27T15:15:07.262Z"
  },
  "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"
  }
}