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
| When | Result | HTTP | Time | Price |
|---|---|---|---|---|
| 4 h ago | Expected HTTP 402, got 410 | 410 | 117 ms | - |
| 8 h ago | Expected HTTP 402, got 410 | 410 | 118 ms | - |
| 13 h ago | Expected HTTP 402, got 410 | 410 | 124 ms | - |
| 17 h ago | Expected HTTP 402, got 410 | 410 | 42 ms | - |
| 21 h ago | Expected HTTP 402, got 410 | 410 | 232 ms | - |
| 25 h ago | Expected HTTP 402, got 410 | 410 | 55 ms | - |
| 29 h ago | Expected HTTP 402, got 410 | 410 | 110 ms | - |
| 33 h ago | Expected HTTP 402, got 410 | 410 | 128 ms | - |
| 37 h ago | Expected HTTP 402, got 410 | 410 | 103 ms | - |
| 42 h ago | Expected HTTP 402, got 410 | 410 | 46 ms | - |
| 46 h ago | Expected HTTP 402, got 410 | 410 | 191 ms | - |
| 2 days ago | Expected HTTP 402, got 410 | 410 | 36 ms | - |
| 2 days ago | Expected HTTP 402, got 410 | 410 | 44 ms | - |
| 2 days ago | Expected HTTP 402, got 410 | 410 | 38 ms | - |
| 3 days ago | Passed | 402 | 828 ms | $0.003 |