{
  "x402Version": 2,
  "id": 27285,
  "slug": "27285",
  "resource": "https://payload402.edgebytenet.workers.dev/license/lockfile",
  "description": "Batch npm license triage for coding agents — pass packages from a lockfile (name@version list, max 20). Returns per-package SPDX + permissive-default compatible, rollup counts, and overall yes|no|unknown. Not a compliance SBOM. Use before merge or mass install; single-package use GET /license/check.",
  "type": "http",
  "serviceName": "payload402",
  "resourceType": "News",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x555379f9F4750EB34ffc8b3DAf8eda2eA0F6d112",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "20000",
      "amountUsd": 0.02,
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "method": "GET",
          "queryParams": {
            "packages": "lodash@4.17.21,express@4.18.2"
          },
          "type": "http"
        },
        "output": {
          "example": {
            "checked": 2,
            "count": 2,
            "disclaimer": "Triage indicator only, not legal or compliance advice",
            "failed": 0,
            "failures": [],
            "overall": "yes",
            "packages": [
              {
                "compatible": "yes",
                "disclaimer": "Triage indicator only, not legal or compliance advice",
                "license": "MIT",
                "package": "express",
                "policy": "permissive-default",
                "reason": "Permissive license matches permissive-default policy",
                "source": "npm-registry",
                "spdx": "MIT",
                "version": "4.18.2"
              },
              {
                "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"
              }
            ],
            "policy": "permissive-default",
            "source": "npm-registry",
            "summary": {
              "no": 0,
              "unknown": 0,
              "yes": 2
            }
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "method": {
                "enum": [
                  "GET"
                ],
                "type": "string"
              },
              "queryParams": {
                "properties": {
                  "packages": {
                    "description": "Comma-separated name@version list (max 20), e.g. lodash@4.17.21,express@4.18.2",
                    "type": "string"
                  }
                },
                "required": [
                  "packages"
                ],
                "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",
    "lockfile",
    "spdx",
    "dependency",
    "bazaar"
  ],
  "sourceHost": "payload402.edgebytenet.workers.dev",
  "lastUpdated": "2026-10-12T13:12:28.427Z",
  "quality": {
    "calls30d": 1,
    "uniquePayers30d": 1,
    "lastCalledAt": "2026-10-12T13:12:27.74Z"
  },
  "metadata": {
    "serviceName": "payload402",
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "method": "GET",
            "queryParams": {
              "packages": "lodash@4.17.21,express@4.18.2"
            },
            "type": "http"
          },
          "output": {
            "example": {
              "checked": 2,
              "count": 2,
              "disclaimer": "Triage indicator only, not legal or compliance advice",
              "failed": 0,
              "failures": [],
              "overall": "yes",
              "packages": [
                {
                  "compatible": "yes",
                  "disclaimer": "Triage indicator only, not legal or compliance advice",
                  "license": "MIT",
                  "package": "express",
                  "policy": "permissive-default",
                  "reason": "Permissive license matches permissive-default policy",
                  "source": "npm-registry",
                  "spdx": "MIT",
                  "version": "4.18.2"
                },
                {
                  "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"
                }
              ],
              "policy": "permissive-default",
              "source": "npm-registry",
              "summary": {
                "no": 0,
                "unknown": 0,
                "yes": 2
              }
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "method": {
                  "enum": [
                    "GET"
                  ],
                  "type": "string"
                },
                "queryParams": {
                  "properties": {
                    "packages": {
                      "description": "Comma-separated name@version list (max 20), e.g. lodash@4.17.21,express@4.18.2",
                      "type": "string"
                    }
                  },
                  "required": [
                    "packages"
                  ],
                  "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"
  }
}