{"openapi":"3.1.0","info":{"title":"Software Licenses API","version":"1.0.0","description":"The full SPDX License List as an API — all 729 software licenses with metadata and the complete license text for each. Look up any license by its SPDX id (e.g. MIT, Apache-2.0, GPL-3.0-only, MPL-2.0) and get the exact, canonical license text plus its name, reference URL, see-also links and standard header. Search or list licenses by name/id and filter by OSI-approved (Open Source Initiative), FSF-libre (Free Software Foundation) or deprecated status. Ideal for SBOM / license-compliance tooling, package managers, repository scanners, legal review, and open-source governance dashboards.","contact":{"name":"PremiumApi","url":"https://www.oanor.com/by/premiumapi"}},"servers":[{"url":"https://api.oanor.com/licenses-api","description":"oanor gateway"}],"tags":[{"name":"Licenses"},{"name":"Meta"}],"components":{"securitySchemes":{"oanorKey":{"type":"apiKey","in":"header","name":"x-oanor-key","description":"Get your key at https://www.oanor.com/developer/keys"}}},"security":[{"oanorKey":[]}],"paths":{"/v1/license":{"get":{"operationId":"get_v1_license","tags":["Licenses"],"summary":"One license by SPDX id, with full text","description":"","parameters":[{"name":"id","in":"query","required":true,"description":"SPDX license id, e.g. MIT, Apache-2.0, GPL-3.0-only","schema":{"type":"string"},"example":"MIT"}],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"data":{"license":{"name":"MIT License","seeAlso":["https://opensource.org/license/MIT","https://gitlab.freedesktop.org/xorg/xserver/-/blob/dd5c2595a42d3ff0c4f18d9b53d1f6c3fd934fd4/COPYING#L365-389"],"licenseId":"MIT","reference":"https://spdx.org/licenses/MIT.html","isFsfLibre":true,"licenseText":"MIT License\n\nCopyright (c) <year> <copyright holders>\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of this software and\nassociated documentation files (the \"Software\"), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the\nfollowing conditions:\n\nThe above copyright notice and this permission notice shall be included in all copies or substantial\nportions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT\nLIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO\nEVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER\nIN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\nUSE OR OTHER DEALINGS IN THE SOFTWARE.\n","isOsiApproved":true,"isDeprecatedLicenseId":false}},"meta":{"timestamp":"2026-05-31T07:16:12.608Z","request_id":"354b9e17-db9b-4a8f-8a28-4a94f4cbb87a"},"status":"ok","message":"License retrieved","success":true}}}},"401":{"description":"Missing or invalid x-oanor-key header"},"402":{"description":"Active subscription required"},"429":{"description":"Rate-limit or monthly quota reached"},"502":{"description":"Upstream did not respond"}}}},"/v1/list":{"get":{"operationId":"get_v1_list","tags":["Licenses"],"summary":"Paginated license list (metadata) + filters","description":"","parameters":[{"name":"osi_approved","in":"query","required":false,"description":"true = OSI-approved only","schema":{"type":"string"}},{"name":"fsf_libre","in":"query","required":false,"description":"true = FSF-libre only","schema":{"type":"string"}},{"name":"deprecated","in":"query","required":false,"description":"false = exclude deprecated ids","schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"description":"Results per page (1-200, default 50)","schema":{"type":"string"},"example":"50"},{"name":"offset","in":"query","required":false,"description":"Pagination offset","schema":{"type":"string"},"example":"0"}],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"data":{"count":50,"limit":50,"total":729,"offset":0,"filters":[],"licenses":[{"name":"BSD Zero Clause License","licenseId":"0BSD","reference":"https://spdx.org/licenses/0BSD.html","isFsfLibre":false,"isOsiApproved":true,"isDeprecatedLicenseId":false},{"name":"3D Slicer License v1.0","licenseId":"3D-Slicer-1.0","reference":"https://spdx.org/licenses/3D-Slicer-1.0.html","isFsfLibre":false,"isOsiApproved":false,"isDeprecatedLicenseId":false},{"name":"Attribution Assurance License","licenseId":"AAL","reference":"https://spdx.org/licenses/AAL.html","isFsfLibre":false,"isOsiApproved":true,"isDeprecatedLicenseId":false},{"name":"Abstyles License","licenseId":"Abstyles","reference":"https://spdx.org/licenses/Abstyles.html","isFsfLibre":false,"isOsiApproved":false,"isDeprecatedLicenseId":false},{"name":"AdaCore Doc License","licenseId":"AdaCore-doc","reference":"https://spdx.org/licenses/AdaCore-doc.html","isFsfLibre":false,"isOsiApproved":false,"isDeprecatedLicenseId":false},{"name":"Adobe Systems Incorporated Source Code License Agreement","licenseId":"Adobe-2006","reference":"https://spdx.org/licenses/Adobe-2006.html","isFsfLibre":false,"isOsiApproved":false,"isDeprecatedLicenseId":false},{"name":"Adobe Display PostScript License","licenseId":"Adobe-Display-PostScript","reference":"https://spdx.org/licenses/Adobe-Display-PostScript.html","isFsfLibre":false,"isOsiApproved":false,"isDeprecatedLicenseId":false},{"name":"Adobe Glyph List License","licenseId":"Adobe-Glyph","reference":"https://spdx.org/licenses/Adobe-Glyph.html","isFsfLibre":false,"isOsiApproved":false,"isDeprecatedLicenseId":false},{"name":"Adobe Utopia Font License","licenseId":"Adobe-Utopia","reference":"https://spdx.org/licenses/Adobe-Utopia.html","isFsfLibre":false,"isOsiApproved":false,"isDeprecatedLicenseId":false},{"name":"Amazon Digital Services License","licenseId":"ADSL","reference":"https://spdx.org/licenses/ADSL.html","isFsfLibre":false,"isOsiApproved":false,"isDeprecatedLicenseId":false},{"name":"Advanced Cryptics Dictionary License","licenseId":"Advanced-Cryptics-Dictionary","reference":"https://spdx.org/licenses/Advanced-Cryptics-Dictionary.html","isFsfLibre":false,"isOsiApproved":false,"isDeprecatedLicenseId":false},{"name":"Academic Free License v1.1","licenseId":"AFL-1.1","reference":"https://spdx.org/licenses/AFL-1.1.html","isFsfLibre":true,"isOsiApproved":true,"isDeprecatedLicenseId":false},{"name":"Academic Free License v1.2","licenseId":"AFL-1.2","reference":"https://spdx.org/licenses/AFL-1.2.html","isFsfLibre":true,"isOsiApproved":true,"isDeprecatedLicenseId":false},{"name":"Academic Free License v2.0","licenseId":"AFL-2.0","reference":"https://spdx.org/licenses/AFL-2.0.html","isFsfLibre":true,"isOsiApproved":true,"isDeprecatedLicenseId":false},{"name":"Academic Free License v2.1","licenseId":"AFL-2.1","reference":"https://spdx.org/licenses/AFL-2.1.html","isFsfLibre":true,"isOsiApproved":true,"isDeprecatedLicenseId":false},{"name":"Academic Free License v3.0","licenseId":"AFL-3.0","reference":"https://spdx.org/licenses/AFL-3.0.html","isFsfLibre":true,"isOsiApproved":true,"isDeprecatedLicenseId":false},{"name":"Afmparse License","licenseId":"Afmparse","reference":"https://spdx.org/licenses/Afmparse.html","isFsfLibre":false,"isOsiApproved":false,"isDeprecatedLicenseId":false},{"name":"Affero General Public License v1.0","licenseId":"AGPL-1.0","reference":"https://spdx.org/licenses/AGPL-1.0.html","isFsfLibre":true,"isOsiApproved":false,"isDeprecatedLicenseId":true},{"name":"Affero General Public License v1.0 only","licenseId":"AGPL-1.0-only","reference":"https://spdx.org/licenses/AGPL-1.0-only.html","isFsfLibre":false,"isOsiApproved":false,"isDeprecatedLicenseId":false},{"name":"Affero General Public License v1.0 or later","licenseId":"AGPL-1.0-or-later","reference":"https://spdx.org/licenses/AGPL-1.0-or-later.html","isFsfLibre":false,"isOsiApproved":false,"isDeprecatedLicenseId":false},{"name":"GNU Affero General Public License v3.0","licenseId":"AGPL-3.0","reference":"https://spdx.org/licenses/AGPL-3.0.html","isFsfLibre":true,"isOsiApproved":true,"isDeprecatedLicenseId":true},{"name":"GNU Affero General Public License v3.0 only","licenseId":"AGPL-3.0-only","reference":"https://spdx.org/licenses/AGPL-3.0-only.html","isFsfLibre":true,"isOsiApproved":true,"isDeprecatedLicenseId":false},{"name":"GNU Affero General Public License v3.0 or later","licenseId":"AGPL-3.0-or-later","reference":"https://spdx.org/licenses/AGPL-3.0-or-later.html","isFsfLibre":true,"isOsiApproved":true,"isDeprecatedLicenseId":false},{"name":"Aladdin Free Public License","licenseId":"Aladdin","reference":"https://spdx.org/licenses/Aladdin.html","isFsfLibre":false,"isOsiApproved":false,"isDeprecatedLicenseId":false},{"name":"ALGLIB Documentation License","licenseId":"ALGLIB-Documentation","reference":"https://spdx.org/licenses/ALGLIB-Documentation.html","isFsfLibre":false,"isOsiApproved":true,"isDeprecatedLicenseId":false},{"name":"AMD newlib License","licenseId":"AMD-newlib","reference":"https://spdx.org/licenses/AMD-newlib.html","isFsfLibre":false,"isOsiApproved":false,"isDeprecatedLicenseId":false},{"name":"AMD's plpa_map.c License","licenseId":"AMDPLPA","reference":"https://spdx.org/licenses/AMDPLPA.html","isFsfLibre":false,"isOsiApproved":false,"isDeprecatedLicenseId":false},{"name":"Apple MIT License","licenseId":"AML","reference":"https://spdx.org/licenses/AML.html","isFsfLibre":false,"isOsiApproved":false,"isDeprecatedLicenseId":false},{"name":"AML glslang variant License","licenseId":"AML-glslang","reference":"https://spdx.org/licenses/AML-glslang.html","isFsfLibre":false,"isOsiApproved":false,"isDeprecatedLicenseId":false},{"name":"Academy of Motion Picture Arts and Sciences BSD","licenseId":"AMPAS","reference":"https://spdx.org/licenses/AMPAS.html","isFsfLibre":false,"isOsiApproved":false,"isDeprecatedLicenseId":false},{"name":"ANTLR Software Rights Notice","licenseId":"ANTLR-PD","reference":"https://spdx.org/licenses/ANTLR-PD.html","isFsfLibre":false,"isOsiApproved":false,"isDeprecatedLicenseId":false},{"name":"ANTLR Software Rights Notice with license fallback","licenseId":"ANTLR-PD-fallback","reference":"https://spdx.org/licenses/ANTLR-PD-fallback.html","isFsfLibre":false,"isOsiApproved":false,"isDeprecatedLicenseId":false},{"name":"Any OSI License","licenseId":"any-OSI","reference":"https://spdx.org/licenses/any-OSI.html","isFsfLibre":false,"isOsiApproved":false,"isDeprecatedLicenseId":false},{"name":"Any OSI License - Perl Modules","licenseId":"any-OSI-perl-modules","reference":"https://spdx.org/licenses/any-OSI-perl-modules.html","isFsfLibre":false,"isOsiApproved":false,"isDeprecatedLicenseId":false},{"name":"Apache License 1.0","licenseId":"Apache-1.0","reference":"https://spdx.org/licenses/Apache-1.0.html","isFsfLibre":true,"isOsiApproved":false,"isDeprecatedLicenseId":false},{"name":"Apache License 1.1","licenseId":"Apache-1.1","reference":"https://spdx.org/licenses/Apache-1.1.html","isFsfLibre":true,"isOsiApproved":true,"isDeprecatedLicenseId":false},{"name":"Apache License 2.0","licenseId":"Apache-2.0","reference":"https://spdx.org/licenses/Apache-2.0.html","isFsfLibre":true,"isOsiApproved":true,"isDeprecatedLicenseId":false},{"name":"Adobe Postscript AFM License","licenseId":"APAFML","reference":"https://spdx.org/licenses/APAFML.html","isFsfLibre":false,"isOsiApproved":false,"isDeprecatedLicenseId":false},{"name":"Adaptive Public License 1.0","licenseId":"APL-1.0","reference":"https://spdx.org/licenses/APL-1.0.html","isFsfLibre":false,"isOsiApproved":true,"isDeprecatedLicenseId":false},{"name":"App::s2p License","licenseId":"App-s2p","reference":"https://spdx.org/licenses/App-s2p.html","isFsfLibre":false,"isOsiApproved":false,"isDeprecatedLicenseId":false},{"name":"Apple Public Source License 1.0","licenseId":"APSL-1.0","reference":"https://spdx.org/licenses/APSL-1.0.html","isFsfLibre":false,"isOsiApproved":true,"isDeprecatedLicenseId":false},{"name":"Apple Public Source License 1.1","licenseId":"APSL-1.1","reference":"https://spdx.org/licenses/APSL-1.1.html","isFsfLibre":false,"isOsiApproved":true,"isDeprecatedLicenseId":false},{"name":"Apple Public Source License 1.2","licenseId":"APSL-1.2","reference":"https://spdx.org/licenses/APSL-1.2.html","isFsfLibre":false,"isOsiApproved":true,"isDeprecatedLicenseId":false},{"name":"Apple Public Source License 2.0","licenseId":"APSL-2.0","reference":"https://spdx.org/licenses/APSL-2.0.html","isFsfLibre":true,"isOsiApproved":true,"isDeprecatedLicenseId":false},{"name":"Arphic Public License","licenseId":"Arphic-1999","reference":"https://spdx.org/licenses/Arphic-1999.html","isFsfLibre":false,"isOsiApproved":false,"isDeprecatedLicenseId":false},{"name":"Artistic License 1.0","licenseId":"Artistic-1.0","reference":"https://spdx.org/licenses/Artistic-1.0.html","isFsfLibre":false,"isOsiApproved":true,"isDeprecatedLicenseId":false},{"name":"Artistic License 1.0 w/clause 8","licenseId":"Artistic-1.0-cl8","reference":"https://spdx.org/licenses/Artistic-1.0-cl8.html","isFsfLibre":false,"isOsiApproved":true,"isDeprecatedLicenseId":false},{"name":"Artistic License 1.0 (Perl)","licenseId":"Artistic-1.0-Perl","reference":"https://spdx.org/licenses/Artistic-1.0-Perl.html","isFsfLibre":false,"isOsiApproved":true,"isDeprecatedLicenseId":false},{"name":"Artistic License 2.0","licenseId":"Artistic-2.0","reference":"https://spdx.org/licenses/Artistic-2.0.html","isFsfLibre":true,"isOsiApproved":true,"isDeprecatedLicenseId":false},{"name":"Artistic License 1.0 (dist)","licenseId":"Artistic-dist","reference":"https://spdx.org/licenses/Artistic-dist.html","isFsfLibre":false,"isOsiApproved":false,"isDeprecatedLicenseId":false}]},"meta":{"timestamp":"2026-05-31T07:16:12.678Z","request_id":"d66117f7-8d20-4d5f-992e-128e9e545d6f"},"status":"ok","message":"Licenses listed","success":true}}}},"401":{"description":"Missing or invalid x-oanor-key header"},"402":{"description":"Active subscription required"},"429":{"description":"Rate-limit or monthly quota reached"},"502":{"description":"Upstream did not respond"}}}},"/v1/search":{"get":{"operationId":"get_v1_search","tags":["Licenses"],"summary":"Search licenses by id / name + filters","description":"","parameters":[{"name":"q","in":"query","required":false,"description":"Search term matched against id and name","schema":{"type":"string"},"example":"apache"},{"name":"osi_approved","in":"query","required":false,"description":"true = OSI-approved only","schema":{"type":"string"}},{"name":"fsf_libre","in":"query","required":false,"description":"true = FSF-libre only","schema":{"type":"string"}},{"name":"deprecated","in":"query","required":false,"description":"false = exclude deprecated ids","schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"description":"Results per page (1-100, default 20)","schema":{"type":"string"},"example":"20"},{"name":"offset","in":"query","required":false,"description":"Pagination offset","schema":{"type":"string"},"example":"0"}],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"data":{"count":3,"limit":20,"query":"apache","total":3,"offset":0,"filters":[],"results":[{"name":"Apache License 1.0","licenseId":"Apache-1.0","reference":"https://spdx.org/licenses/Apache-1.0.html","isFsfLibre":true,"isOsiApproved":false,"isDeprecatedLicenseId":false},{"name":"Apache License 1.1","licenseId":"Apache-1.1","reference":"https://spdx.org/licenses/Apache-1.1.html","isFsfLibre":true,"isOsiApproved":true,"isDeprecatedLicenseId":false},{"name":"Apache License 2.0","licenseId":"Apache-2.0","reference":"https://spdx.org/licenses/Apache-2.0.html","isFsfLibre":true,"isOsiApproved":true,"isDeprecatedLicenseId":false}]},"meta":{"timestamp":"2026-05-31T07:16:12.736Z","request_id":"d811c80d-6f10-4f9d-94ca-fa8093ba912d"},"status":"ok","message":"Licenses searched","success":true}}}},"401":{"description":"Missing or invalid x-oanor-key header"},"402":{"description":"Active subscription required"},"429":{"description":"Rate-limit or monthly quota reached"},"502":{"description":"Upstream did not respond"}}}},"/v1/meta":{"get":{"operationId":"get_v1_meta","tags":["Meta"],"summary":"Totals & breakdown","description":"","parameters":[],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"data":{"note":"Identify and retrieve software licenses by SPDX id (e.g. MIT, Apache-2.0, GPL-3.0-only). /v1/license returns the full license text; /v1/search and /v1/list return metadata. Flags: OSI-approved (Open Source Initiative), FSF-libre (Free Software Foundation), deprecated SPDX id.","total":729,"fields":["licenseId","name","isOsiApproved","isFsfLibre","isDeprecatedLicenseId","reference","seeAlso","standardLicenseHeader","licenseText"],"source":"SPDX License List (spdx.org/licenses)","fsf_libre":127,"deprecated":32,"osi_approved":150,"license_list_version":"3dfd9aa"},"meta":{"timestamp":"2026-05-31T07:16:12.782Z","request_id":"ec79c5f7-80f6-4cef-9991-c8e2183df354"},"status":"ok","message":"Meta retrieved","success":true}}}},"401":{"description":"Missing or invalid x-oanor-key header"},"402":{"description":"Active subscription required"},"429":{"description":"Rate-limit or monthly quota reached"},"502":{"description":"Upstream did not respond"}}}}},"x-oanor-pricing":[{"slug":"free","name":"Free","price_cents_month":0,"monthly_call_quota":4500,"rps_limit":2,"hard_limit":true},{"slug":"starter","name":"Starter","price_cents_month":550,"monthly_call_quota":52000,"rps_limit":8,"hard_limit":true},{"slug":"pro","name":"Pro","price_cents_month":1450,"monthly_call_quota":265000,"rps_limit":20,"hard_limit":true},{"slug":"mega","name":"Mega","price_cents_month":3700,"monthly_call_quota":1320000,"rps_limit":50,"hard_limit":true}],"x-oanor-marketplace-url":"https://www.oanor.com/api/licenses-api"}