---
title: "Retrieve a repository's language breakdown"
method: GET
path: "/github/repo/{owner}/{repo}/languages"
tags: ["GitHub"]
---

# Retrieve a repository's language breakdown

`GET /github/repo/{owner}/{repo}/languages`

## Request

- Base URL: `https://api.crawlora.net/api/v1`
- URL: `https://api.crawlora.net/api/v1/github/repo/{owner}/{repo}/languages`
- Auth: API key in header `x-api-key`

Returns the languages detected in a GitHub repository, identified by the required `owner` and `repo`, as language and byte-count pairs sorted by bytes, largest first.

## Path parameters

- `owner` string, required
- `repo` string, required

## Headers

- `x-api-key` string, required

## Response `200`

Wrapped language breakdown

- AppResponse: The Response struct is used for wrapping the API response with a code, message, and data.
  - `code` integer: Code is the HTTP status code or a custom code used to indicate the result of the request @example 200
  - `data` unknown
  - `msg` unknown

## Other responses

- `400`: Missing or invalid parameters
- `503`: Upstream error or rate limit

---

[API](https://skmtc.dev/crawlora/apis/crawlora-api.md) · [All operations](https://skmtc.dev/crawlora/apis/crawlora-api/llms.txt) · [OpenAPI document](https://skmtc.dev/crawlora/apis/crawlora-api/revisions/028417aa35bb?raw)
