Api Endpoint

license-check

License-compliance verdict for one package and its whole transitive dependency tree. Resolves the deps.dev graph plus the declared SPDX license of every node, finds copyleft contamination points, and returns a target-and-distribution-aware verdict of safe, attribution-required, copyleft-risk or incompatible. Automated indicators, not legal advice.

Open interactive test console

Offering

Provider
payai.agentstools.dev
Method
GET
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/check
MIME type
application/json
First seen
2026-10-16T02:01:07.550Z
Last seen
Tags
license, compliance, copyleft, spdx, open-source, gpl, agpl, lgpl, dependencies, sbom, attribution, due-diligence

Payment pricing

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

Payment option 1
0.03 USDC
Atomic price: 30000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Payment option 2
0.03 USDC
Atomic price: 30000 · Network: solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "30000",
    "payTo": "0xF22e558a00D91Ee12A1F50C52186FecB8dDFf493"
  },
  {
    "scheme": "exact",
    "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
    "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
    "amount": "30000",
    "payTo": "AytHnvc6bZx1ALTy7b5Px7hcavoSYszG9aeKvDcZ8R1u"
  }
]

Observed health

Status
Healthy
Latest latency
374 ms
Average latency
804 ms
HTTP status
402
Last checked
Reachability
100% over 12 checks

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

Input schema

{
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "const": "http"
    },
    "method": {
      "type": "string",
      "enum": [
        "GET",
        "HEAD",
        "DELETE"
      ]
    },
    "queryParams": {
      "type": "object",
      "properties": {
        "ecosystem": {
          "type": "string",
          "enum": [
            "npm",
            "pypi",
            "go",
            "maven",
            "cargo",
            "nuget"
          ],
          "description": "Package ecosystem"
        },
        "name": {
          "type": "string",
          "description": "Package name"
        },
        "version": {
          "type": "string",
          "description": "Version (optional; default resolved if omitted)"
        },
        "target_license": {
          "type": "string",
          "description": "Your project SPDX license, e.g. MIT"
        },
        "distribution": {
          "type": "string",
          "enum": [
            "saas",
            "binary",
            "internal"
          ],
          "description": "How you ship it (default saas)"
        }
      },
      "required": [
        "ecosystem",
        "name"
      ]
    }
  },
  "required": [
    "type",
    "method"
  ],
  "additionalProperties": false
}

Output schema

{
  "type": "object",
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "required": [
    "input"
  ],
  "properties": {
    "input": {
      "type": "object",
      "required": [
        "type",
        "method"
      ],
      "properties": {
        "type": {
          "type": "string",
          "const": "http"
        },
        "method": {
          "enum": [
            "GET",
            "HEAD",
            "DELETE"
          ],
          "type": "string"
        },
        "queryParams": {
          "type": "object",
          "required": [
            "ecosystem",
            "name"
          ],
          "properties": {
            "name": {
              "type": "string",
              "description": "Package name"
            },
            "version": {
              "type": "string",
              "description": "Version (optional; default resolved if omitted)"
            },
            "ecosystem": {
              "enum": [
                "npm",
                "pypi",
                "go",
                "maven",
                "cargo",
                "nuget"
              ],
              "type": "string",
              "description": "Package ecosystem"
            },
            "distribution": {
              "enum": [
                "saas",
                "binary",
                "internal"
              ],
              "type": "string",
              "description": "How you ship it (default saas)"
            },
            "target_license": {
              "type": "string",
              "description": "Your project SPDX license, e.g. MIT"
            }
          }
        }
      },
      "additionalProperties": false
    },
    "output": {
      "type": "object",
      "required": [
        "type"
      ],
      "properties": {
        "type": {
          "type": "string"
        },
        "example": {
          "type": "object"
        }
      }
    }
  }
}