Check the licenses of your dependencies (one 'package
agents.204-168-199-108.sslip.io/v1/util/license-check
Check the licenses of your dependencies (one 'package: license' per line, or a single SPDX expression like '(MIT OR Apache-2.0)') against how you ship: project_license (proprietary default, or MIT, GPL-3.0-only…) and distribution (distributed / saas / internal). For each: normalised SPDX id (handles 'Apache 2.0', 'GPLv3', deprecated GPL-2.0+), name, category (public domain, permissive, weak copyle
GET
https://agents.204-168-199-108.sslip.io/v1/util/license-checkUptime100% of 1 check in 30 days
30 days agoToday
Try it
Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.
The response shows up here.
Call it from an agent
// npm install fourohtwo
import { createPayer } from "fourohtwo";
// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://agents.204-168-199-108.sslip.io/v1/util/license-check?distribution=saas&licenses=lodash%3A+MIT%0Atslib%3A+0BSD%0Amariadb-connector%3A+LGPL-2.1-or-later%0Aghostscript%3A+AGPL-3.0-only%0Areadline%3A+GPL-3.0-only%0Ajszip%3A+%28MIT+OR+GPL-3.0-or-later%29%0Afaker-data%3A+CC-BY-NC-4.0&project_license=proprietary");
console.log(await res.json());Example input
{
"distribution": "saas",
"licenses": "lodash: MIT\ntslib: 0BSD\nmariadb-connector: LGPL-2.1-or-later\nghostscript: AGPL-3.0-only\nreadline: GPL-3.0-only\njszip: (MIT OR GPL-3.0-or-later)\nfaker-data: CC-BY-NC-4.0",
"project_license": "proprietary"
}