GitHub Trending repositories API
List GitHub Trending repositories (rank, stars, stars gained today, language, and description), filterable by language and time window.
Try it
Make your first request
{
"data": {
"repos": [
{
"description": "A short example description of this item.",
"forks": 42,
"fullName": "Alex Rivera",
"language": "en",
"rank": 1,
"stars": 5,
"starsToday": 5,
"url": "https://example.com/page"
}
]
},
"found": true
}interface GithubTrendingRepositoriesResponse {
data: {
repos: {
description: string;
forks: number;
fullName: string;
language: string;
rank: number;
stars: number;
starsToday: number;
url: string;
}[];
} | null;
found: boolean;
}Full parameter and response reference - every field, type, and example for this endpoint.
Reference
Request, response, and price
Last verified 2026-09-16 · uptime and latency measured over 30dcurl -X POST https://api.getanyapi.com/v1/run/github.trending_repositories \
-H "Authorization: Bearer $ANYAPI_KEY" \
-H "Content-Type: application/json" \
-d '{"language":"python","since":"daily"}'| Field | Type | Example value |
|---|---|---|
| Request body | ||
| language | string | "python"Filter by programming language (e.g. "go", "typescript"). Omit for all languages. |
| since | enum | "daily"Trending window. |
| Response | ||
| data | object | |
| data.repos | object[] | Populated whenever the provider has data for the entity. |
| data.repos[].description | string | |
| data.repos[].forks | integer | |
| data.repos[].fullName | string | Populated whenever the provider has data for the entity. |
| data.repos[].language | string | |
| data.repos[].rank | integer | |
| data.repos[].stars | integer | |
| data.repos[].starsToday | integer | |
| data.repos[].url | string | Populated whenever the provider has data for the entity. |
| found | boolean | |
| Price | ||
| Price per request | USD | $0.0012 |
| Price /1k req | USD | $1.20 |
FAQ
About the GitHub Trending repositories API
The AnyAPI GitHub Trending repositories API returns GitHub trending repositories data as normalized JSON from one POST call to /v1/run/github.trending_repositories. List GitHub Trending repositories (rank, stars, stars gained today, language, and description), filterable by language and time window. AnyAPI returns one normalized schema whichever source serves it. It costs from $1.20 per 1,000 requests, in US dollars with no subscription and no monthly minimum. Over the last 30 days, 100.0% of GitHub trending repositories calls through AnyAPI succeeded, with a median response time of 5.9 seconds across 924 measured calls.