---
title: "GitHub API: Repository Languages | Perceptlayer"
description: "Repository Languages from GitHub as JSON. 1 credit per successful call."
url: https://perceptlayer.com/apis/github/repository-languages
---

[APIs](https://perceptlayer.com/apis) / [GitHub](https://perceptlayer.com/apis/github) / Repository Languages

# GitHub: Repository Languages

Repository Languages from GitHub as JSON. 1 credit per successful call.

GET `/v1/github/repository-languages`

## Parameters

Send parameters in the query string.

| Parameter | Type | Required | Allowed values |
| --- | --- | --- | --- |
| `owner` | string | Required | Up to 39 characters |
| `repo` | string | Required | Up to 100 characters |

## Example request

GitHub

GET /v1/github/repository-languages?owner=laravel&repo=framework 

```
{
  "search_parameters": {
    "engine": "github_repository_languages",
    "owner": "laravel",
    "repo": "framework"
  },
  "rate_limit": {
    "limit": 60,
    "remaining": 59,
    "used": 1,
    "reset": 1794492895
  },
  "PHP": 18357569,
  "Blade": 99269,
  "Shell": 10322,
  "CSS": 5771,
  "JavaScript": 3616,
  "Dockerfile": 2281,
  "Hack": 190
}
```

200 OK JSON X-Credits-Used: 1

Recorded 12 Nov 2026 and shortened.

[Run this endpoint in the playground](https://perceptlayer.com/apis/github?try=repository-languages#playground) with your own parameters. 1 credit per successful call; failed calls are free.

## Response fields

The response has these 9 fields, read from a recorded call. The recording leaves out fields that were empty, so a live call can return more.

| Field | Type |
| --- | --- |
| `search_parameters` | object |
| `rate_limit` | object |
| `PHP` | integer |
| `Blade` | integer |
| `Shell` | integer |
| `CSS` | integer |
| `JavaScript` | integer |
| `Dockerfile` | integer |
| `Hack` | integer |
