Developer & Reference

SPDX Licenses API

Look up any SPDX license by ID or name, with OSI approval and deprecation status.

Request Headers

Name Required Description
X-RapidAPI-Key required Your RapidAPI key. Get one free.
X-RapidAPI-Host required spdx-licenses.p.rapidapi.com

Endpoints

GET /v1/licenses

Look up SPDX licenses by ID or name, with OSI approval and deprecation status

Parameters

NameTypeRequiredDefaultConstraints
deprecatedbooleanoptional——
idstringoptional—<= 100 chars
limitintegeroptional—1-30
namestringoptional—<= 100 chars
offsetintegeroptional——
osibooleanoptional——

Code Examples

curl --request GET \
  --url 'https://spdx-licenses.p.rapidapi.com/v1/licenses?deprecated=true&id=example' \
  --header 'x-rapidapi-key: YOUR_API_KEY' \
  --header 'x-rapidapi-host: spdx-licenses.p.rapidapi.com'

Interactive Example

spdx-licenses
$ GET /v1/licenses?id=MIT
{"data":[{"id":"MIT","name":"MIT License","osi_approved":true,"fsf_libre":true,"deprecated":false,"reference":"https://spdx.org/licenses/MIT.html"}],"meta":{"total":1,"limit":10,"offset":0}}

Subscribe & License

Access this API with commercial-ready tiers on RapidAPI. Flexible plans designed for side-projects, startups, and high-volume production architectures.

View Pricing & Subscribe

Developer Support

Need help integrating or have a custom endpoint request? Our engineering team is here to assist with authentication, payload schemas, and high-frequency rate limit increases.

Contact API Engineering

System Performance

Monitored 24/7 with a 99.9% uptime SLA. Built atop cloud-native microservices with globally distributed edge caching to ensure ultra-low latency response times.

All Systems Operational