{
  "x402Version": 2,
  "id": 27284,
  "slug": "27284",
  "resource": "https://payload402.edgebytenet.workers.dev/license/check",
  "description": "npm license triage for coding agents — call immediately before npm install, yarn add, or pnpm add. Returns npm-declared license, SPDX id, and permissive-default compatible (yes | no | unknown) so the agent can proceed, swap package, or escalate. Not SBOM, not legal advice. Free taste: GET /license/check/preview (same JSON, $0), then pay GET /license/check or MCP check_npm_license for the package you will install.",
  "type": "http",
  "serviceName": "payload402",
  "resourceType": "MCP Tool",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x555379f9F4750EB34ffc8b3DAf8eda2eA0F6d112",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "1000",
      "amountUsd": 0.001,
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "method": "GET",
          "queryParams": {
            "package": "lodash",
            "version": "4.17.21"
          },
          "type": "http"
        },
        "output": {
          "example": {
            "compatible": "yes",
            "disclaimer": "Triage indicator only, not legal or compliance advice",
            "license": "MIT",
            "package": "lodash",
            "policy": "permissive-default",
            "reason": "Permissive license matches permissive-default policy",
            "source": "npm-registry",
            "spdx": "MIT",
            "version": "4.17.21"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "method": {
                "enum": [
                  "GET"
                ],
                "type": "string"
              },
              "queryParams": {
                "properties": {
                  "package": {
                    "description": "npm package name",
                    "type": "string"
                  },
                  "version": {
                    "description": "Optional semver (default latest)",
                    "type": "string"
                  }
                },
                "required": [
                  "package"
                ],
                "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": [
    "license",
    "npm",
    "spdx",
    "dependency",
    "devtools",
    "bazaar"
  ],
  "sourceHost": "payload402.edgebytenet.workers.dev",
  "lastUpdated": "2026-10-12T07:05:17.835Z",
  "quality": {
    "calls30d": 7,
    "uniquePayers30d": 5,
    "lastCalledAt": "2026-10-12T07:05:17.237Z"
  },
  "metadata": {
    "serviceName": "payload402",
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "method": "GET",
            "queryParams": {
              "package": "lodash",
              "version": "4.17.21"
            },
            "type": "http"
          },
          "output": {
            "example": {
              "compatible": "yes",
              "disclaimer": "Triage indicator only, not legal or compliance advice",
              "license": "MIT",
              "package": "lodash",
              "policy": "permissive-default",
              "reason": "Permissive license matches permissive-default policy",
              "source": "npm-registry",
              "spdx": "MIT",
              "version": "4.17.21"
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "method": {
                  "enum": [
                    "GET"
                  ],
                  "type": "string"
                },
                "queryParams": {
                  "properties": {
                    "package": {
                      "description": "npm package name",
                      "type": "string"
                    },
                    "version": {
                      "description": "Optional semver (default latest)",
                      "type": "string"
                    }
                  },
                  "required": [
                    "package"
                  ],
                  "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"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "payload402.edgebytenet.workers.dev",
    "manifest_name": "payload402.edgebytenet.workers.dev",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-10-14T01:15:01.050Z"
  },
  "exampleResponse": {
    "example": {},
    "type": "string"
  }
}