---
title: "List trending GitHub repositories"
method: GET
path: "/github/trending"
tags: ["GitHub"]
---

# List trending GitHub repositories

`GET /github/trending`

## Request

- Base URL: `https://api.crawlora.net/api/v1`
- URL: `https://api.crawlora.net/api/v1/github/trending`
- Auth: API key in header `x-api-key`

Lists the repositories currently trending on GitHub. Filter by programming `language` (such as `go` or `python`) and choose the window with `since` (`daily`, `weekly` or `monthly`). Each repository has its owner, name, URL, description, language, stars, forks and stars gained today.

## Query parameters

- `language` string
- `since` 'daily' | 'weekly' | 'monthly'

## Headers

- `x-api-key` string, required

## Response `200`

Wrapped trending repository list

- 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`: Invalid parameters
- `503`: Upstream error

---

[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/afac9b012a27?raw)
