{
  "x402Version": 2,
  "id": 7669,
  "slug": "7669",
  "resource": "https://goodsong.dev/verify/package",
  "description": "Verify a package: does it exist, is it deprecated or yanked, and does it have known vulnerabilities? Checked against the npm/PyPI/crates.io registry plus OSV.dev advisories.",
  "type": "http",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0xf3b36a95913eb2676fcdedb2ba6b0c96ade58de1",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "5000",
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "ecosystem": "npm",
            "name": "chalk",
            "version": "5.3.0"
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "canonical": {
              "ecosystem": "npm",
              "latest_version": "5.3.0",
              "name": "chalk",
              "version": "5.3.0",
              "vulnerabilities": []
            },
            "checks": {
              "deprecated": false,
              "exists": true,
              "vulnerable": false
            },
            "cost": {
              "amount": "0.005",
              "currency": "USDC"
            },
            "evidence": [
              {
                "retrieved_at": "2026-08-30T12:00:00Z",
                "source": "npm",
                "url": "https://registry.npmjs.org/chalk"
              },
              {
                "retrieved_at": "2026-08-30T12:00:00Z",
                "source": "osv",
                "url": "https://api.osv.dev/v1/query"
              }
            ],
            "latency_ms": 210,
            "verdict": "confirmed"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "description": "Provide an ecosystem and package name; version is optional and defaults to latest.",
                "properties": {
                  "ecosystem": {
                    "description": "Which package registry to check.",
                    "enum": [
                      "npm",
                      "pypi",
                      "crates"
                    ],
                    "type": "string"
                  },
                  "name": {
                    "description": "The package name.",
                    "type": "string"
                  },
                  "version": {
                    "description": "Optional specific version; defaults to latest if omitted.",
                    "type": "string"
                  }
                },
                "required": [
                  "ecosystem",
                  "name"
                ]
              },
              "bodyType": {
                "enum": [
                  "json",
                  "form-data",
                  "text"
                ],
                "type": "string"
              },
              "method": {
                "enum": [
                  "POST",
                  "PUT",
                  "PATCH"
                ],
                "type": "string"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method",
              "bodyType",
              "body"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "properties": {
                  "canonical": {
                    "type": [
                      "object",
                      "null"
                    ]
                  },
                  "checks": {
                    "type": "object"
                  },
                  "cost": {
                    "type": "object"
                  },
                  "evidence": {
                    "type": "array"
                  },
                  "latency_ms": {
                    "type": "integer"
                  },
                  "verdict": {
                    "enum": [
                      "confirmed",
                      "contradicted",
                      "unknown"
                    ],
                    "type": "string"
                  }
                },
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "bazaar"
  ],
  "sourceHost": "goodsong.dev",
  "lastUpdated": "2026-09-04T01:27:22.988Z",
  "quality": {
    "calls30d": 6,
    "uniquePayers30d": 1,
    "lastCalledAt": "2026-09-04T01:27:22.834Z"
  },
  "liveness": {},
  "verified": false,
  "featured": false,
  "provider": {
    "host": "goodsong.dev",
    "manifest_name": "goodsong.dev",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-09-18T22:00:31.484Z"
  }
}