Software License API - Free SPDX License Lookup
Send an SPDX license identifier (e.g., "MIT", "Apache-2.0", "GPL-3.0-only") and receive detailed license metadata including permissions, conditions, limitations, and whether the license is OSI-approved or FSF-libre. Covers 500+ SPDX-listed licenses.
Code examples
curl -X POST https://api.botoi.com/v1/license/lookup \
-H "Content-Type: application/json" \
-d '{"id":"MIT"}'When to use this API
Dependency license auditing
Scan your package.json or go.mod dependencies, resolve each license SPDX ID, and flag packages with copyleft or non-OSI-approved licenses before they enter your codebase.
Open-source compliance dashboards
Build an internal dashboard that displays license permissions, conditions, and limitations for every third-party library your team uses, helping legal teams approve new dependencies faster.
Repository README generation
Auto-populate a "License" section in generated READMEs with the full license name, a permissions summary, and a link to the SPDX page.
Frequently asked questions
What is an SPDX identifier?
How many licenses are supported?
What do the permissions, conditions, and limitations arrays contain?
Can I check if a license is compatible with my project?
Are deprecated SPDX licenses included?
Get your API key
Free tier includes 5 requests per minute with no credit card required. Upgrade for higher limits.