21trust / 100

License Check

by Aayat AI in Developer tools

x402 APIFailing, checked 4 h ago

Licence compatibility check for coding agents: give your project's licence (or proprietary) and how it's used (distributed, SaaS or internal) plus up to 50 dependencies as SPDX ids or packages (npm:[email protected]); get ok / conditions / review / incompatible per dependency with the reason (GPL, AGPL, LGPL, MPL, Apache, dual licences...). Not legal advice.

POST https://aayatai.com/license/check

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
6.7%
Response time
828 ms typical, 828 ms slowest 5%
Last check
4 h ago: Expected HTTP 402, got 410
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X POST "https://aayatai.com/license/check" \
  -H "content-type: application/json" \
  -d '{"dependencies":["MIT","AGPL-3.0-only","npm:[email protected]"],"project":"proprietary","usage":"saas"}'
import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

const client = new x402Client().register(
  "eip155:8453",
  new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Faayatai.com%2Flicense%2Fcheck
const res = await pay("https://aayatai.com/license/check", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"dependencies":["MIT","AGPL-3.0-only","npm:[email protected]"],"project":"proprietary","usage":"saas"}),
});
console.log(await res.json());

Example input

{
  "dependencies": [
    "MIT",
    "AGPL-3.0-only",
    "npm:[email protected]"
  ],
  "project": "proprietary",
  "usage": "saas"
}

Example output

{
  "dependencies": [
    {
      "family": "permissive",
      "input": "MIT",
      "licence": "MIT",
      "reason": "Permissive: keep its copyright and licence notice.",
      "status": "ok"
    },
    {
      "family": "network-copyleft",
      "input": "AGPL-3.0-only",
      "licence": "AGPL-3.0-only",
      "reason": "AGPL: offering it to users over a network (SaaS)...",
      "status": "incompatible"
    },
    {
      "family": "permissive",
      "input": "npm:[email protected]",
      "licence": "MIT",
      "package": "express",
      "reason": "Permissive.",
      "status": "ok",
      "version": "4.21.2"
    }
  ],
  "disclaimer": "Automated guidance from licence texts and common compatibility rules, not legal advice.",
  "project": "proprietary",
  "summary": "At least one dependency's licence conflicts with how you plan to use or ship your project.",
  "usage": "saas",
  "verdict": "incompatible"
}

Security scan

  • No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
4 h agoExpected HTTP 402, got 410410117 ms-
8 h agoExpected HTTP 402, got 410410118 ms-
13 h agoExpected HTTP 402, got 410410124 ms-
17 h agoExpected HTTP 402, got 41041042 ms-
21 h agoExpected HTTP 402, got 410410232 ms-
25 h agoExpected HTTP 402, got 41041055 ms-
29 h agoExpected HTTP 402, got 410410110 ms-
33 h agoExpected HTTP 402, got 410410128 ms-
37 h agoExpected HTTP 402, got 410410103 ms-
42 h agoExpected HTTP 402, got 41041046 ms-
46 h agoExpected HTTP 402, got 410410191 ms-
2 days agoExpected HTTP 402, got 41041036 ms-
2 days agoExpected HTTP 402, got 41041044 ms-
2 days agoExpected HTTP 402, got 41041038 ms-
3 days agoPassed402828 ms$0.003