---
title: "GitHub API: Trending Repositories | Perceptlayer"
description: "Trending Repositories from GitHub as JSON. 1 credit per successful call."
url: https://perceptlayer.com/apis/github/trending-repositories
---

[APIs](https://perceptlayer.com/apis) / [GitHub](https://perceptlayer.com/apis/github) / Trending Repositories

# GitHub: Trending Repositories

Trending Repositories from GitHub as JSON. 1 credit per successful call.

GET `/v1/github/trending-repositories`

## Parameters

Send parameters in the query string.

| Parameter | Type | Required | Allowed values |
| --- | --- | --- | --- |
| `language` | string | Optional | Up to 40 characters |
| `since` | string | Optional | daily, weekly, monthly |
| `spoken_language_code` | string | Optional | Up to 10 characters |

## Example request

cURL shell 

```
curl "https://api.perceptlayer.com/v1/github/trending-repositories?language=python&since=weekly" \
  -H "X-API-Key: $API_KEY"
```

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