---
title: "Get the list of SPDX licenses"
method: GET
path: "/api/v2/static-analysis-sca/licenses/list"
tags: ["Static Analysis"]
---

# Get the list of SPDX licenses

`GET /api/v2/static-analysis-sca/licenses/list`

## Response `200`

OK

- LicensesListResponse — The top-level response object returned by the licenses list endpoint, containing the array of supported SPDX licenses.
  - `data` LicensesListResponseData, required — The data object in a licenses list response, containing the list of SPDX licenses.
    - `attributes` LicensesListResponseDataAttributes, required — The attributes of the licenses list response, containing the array of SPDX licenses.
      - `licenses` LicensesListResponseDataAttributesLicensesItems[], required — The list of SPDX licenses returned by the API.
        - `display_name` string, required — The human-readable name of the license.
        - `identifier` string, required — The SPDX identifier of the license.
        - `short_name` string, required — The short name of the license, typically matching the SPDX identifier.
    - `id` string, required — The unique identifier for this licenses list response.
    - `type` 'licenserequest', required — The type identifier for license list responses.

## Other responses

- `429` — Too many requests

---

[API](https://skmtc.net/datadog/apis/api-v2.md) · [All operations](https://skmtc.net/datadog/apis/api-v2/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/datadog/api-v2/revisions/da68bf029e4c/schema)
