---
title: "Get all commonly used licenses"
method: GET
path: "/licenses"
tags: ["licenses"]
---

# Get all commonly used licenses

`GET /licenses`

Lists the most commonly used licenses on GitHub. For more information, see "[Licensing a repository ](https://docs.github.com/enterprise-server@3.7/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/licensing-a-repository)."

## Query parameters

- `featured` boolean
- `per_page` integer
- `page` integer

## Response `200`

Response

- LicenseSimple[]
  - `key` string, required
  - `name` string, required
  - `url` string, uri, nullable, required
  - `spdx_id` string, nullable, required
  - `node_id` string, required
  - `html_url` string, uri

## Other responses

- `304` — Not modified

---

[API](https://skmtc.net/github/apis/github-v3-rest-api-6.md) · [All operations](https://skmtc.net/github/apis/github-v3-rest-api-6/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/github/github-v3-rest-api-6/revisions/15db3fa0759b/schema)
