SPDX License Check (ids, expressions, policy)
Pricing
from $1.50 / 1,000 results
SPDX License Check (ids, expressions, policy)
Give SPDX license ids or expressions (MIT, Apache-2.0 OR GPL-2.0-only, GPL-2.0 WITH Classpath-exception-2.0), get validity, OSI/FSF status, deprecation, a permissive/copyleft family and an optional allowed-by-policy answer. Official SPDX list, no API key.
Pricing
from $1.50 / 1,000 results
Rating
0.0
(0)
Developer
Sasha Secrier
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
a month ago
Last modified
Categories
Features
Share
Is Apache-2.0 OR GPL-3.0-only valid? Is it OSI-approved? Can our policy use it? Give SPDX license ids or expressions and get one clean row each, based on the official SPDX License List. No API key.
Output
{"input": "Apache-2.0 OR GPL-3.0-only","valid": true,"expressionType": "or","families": ["permissive", "strong-copyleft"],"allOsiApproved": true,"anyDeprecated": false,"allowedByPolicy": true,"components": [{"id": "Apache-2.0", "name": "Apache License 2.0", "osiApproved": true, "fsfLibre": true, "deprecated": false, "family": "permissive"},{"id": "GPL-3.0-only", "name": "GNU General Public License v3.0 only", "osiApproved": true, "fsfLibre": true, "deprecated": false, "family": "strong-copyleft"}],"summary": "Apache-2.0 OR GPL-3.0-only: valid; Apache-2.0 (permissive), GPL-3.0-only (strong-copyleft); policy: allowed"}
Input
| Field | Meaning |
|---|---|
licenses | SPDX ids or expressions (AND, OR, WITH, parentheses, trailing +). Case-insensitive. Max 200 per run. |
disallowedFamilies | Optional policy, e.g. ["strong-copyleft", "network-copyleft"]. Adds allowedByPolicy: for OR any option may be allowed, for AND all must be. Unknown ids are not allowed under a policy. |
Families (heuristic, not legal advice)
public-domain, permissive, weak-copyleft, strong-copyleft, network-copyleft, custom (LicenseRef-...), unclassified. The family is derived from the license id by a documented rule list, it is not part of SPDX data. Exceptions (WITH ...) are reported but do not change the family of the base license. Check licenses with a lawyer for compliance decisions.
Good for
- AI agents and CI checks that read package license fields (for example from the Package Trust Check Actor) and must decide if a dependency is acceptable.
- Validating and normalising license strings in SBOMs and manifests.
Data source
SPDX License List data from the spdx/license-list-data repository, loaded live on every run. This Actor is independent and not affiliated with SPDX or the Linux Foundation.
Pricing
Pay per result (one row = one license entry). See the pricing box on this page.