Api Endpoint

license-scan

License-compliance verdict for a whole dependency list or parsed manifest in one call. Accepts name-at-version strings, a parsed package.json, a requirements.txt list or go.mod imports, resolves each declared SPDX license, and returns a per-dependency plus aggregate verdict with the worst copyleft contamination point. Automated indicators, not legal advice.

Open interactive test console

Offering

Provider
payai.agentstools.dev
Method
POST
Offering type
Api Endpoint
Transport type
http
Category
Legal And Compliance
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://payai.agentstools.dev/license/scan
MIME type
application/json
First seen
2026-10-16T02:00:30.940Z
Last seen
Tags
license, compliance, copyleft, spdx, manifest

Payment pricing

x402 payment terms are the authoritative price for calling this endpoint.

Payment option 1
0.15 USDC
Atomic price: 150000 · Network: solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
    "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
    "amount": "150000",
    "payTo": "AytHnvc6bZx1ALTy7b5Px7hcavoSYszG9aeKvDcZ8R1u"
  }
]

Observed health

Status
Reachable
Latest latency
384 ms
Average latency
1073 ms
HTTP status
405
Last checked
Reachability
100% over 13 checks

Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.

Input schema

{
  "body": {
    "ecosystem": "npm",
    "dependencies": [
      "express@4.18.2",
      "left-pad@1.3.0"
    ],
    "distribution": "binary",
    "target_license": "Apache-2.0"
  },
  "type": "http",
  "method": "POST",
  "bodyType": "json"
}

Output schema

{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "required": [
    "input"
  ],
  "properties": {
    "input": {
      "type": "object",
      "required": [
        "type",
        "method",
        "bodyType",
        "body"
      ],
      "properties": {
        "body": {
          "required": [
            "dependencies"
          ],
          "properties": {
            "ecosystem": {
              "enum": [
                "npm",
                "pypi",
                "go",
                "maven",
                "cargo",
                "nuget"
              ],
              "type": "string",
              "description": "Default ecosystem for entries without one"
            },
            "dependencies": {
              "type": "array",
              "items": {
                "type": "string"
              },
              "description": "Dependencies as name, name-at-version, or ecosystem-prefixed"
            },
            "distribution": {
              "enum": [
                "saas",
                "binary",
                "internal"
              ],
              "type": "string",
              "description": "How you ship it (default saas)"
            },
            "target_license": {
              "type": "string",
              "description": "Your project SPDX license"
            }
          }
        },
        "type": {
          "type": "string",
          "const": "http"
        },
        "method": {
          "enum": [
            "POST",
            "PUT",
            "PATCH"
          ],
          "type": "string"
        },
        "bodyType": {
          "enum": [
            "json",
            "form-data",
            "text"
          ],
          "type": "string"
        }
      },
      "additionalProperties": false
    },
    "output": {
      "type": "object",
      "required": [
        "type"
      ],
      "properties": {
        "type": {
          "type": "string"
        },
        "example": {
          "type": "object"
        }
      }
    }
  }
}