GitHub API

GitHub Trending repositories API

List GitHub Trending repositories (rank, stars, stars gained today, language, and description), filterable by language and time window.

POST/v1/run/github.trending_repositories
Uptime
100.00%
30d · 924 calls
Requests
924
30d · weekly, last 12 wks
Response
5.9s
median · 30d

Pricing

One price, in dollars

Try it

Make your first request

Open in
Get a free key
Sample response
Free runs return only the first 3 results. Fund a key to get the full response.
{
  "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
}
Response interface
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 30d
POST /v1/run/github.trending_repositories
curl -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"}'
FieldTypeExample value
Request body
languagestring"python"Filter by programming language (e.g. "go", "typescript"). Omit for all languages.
sinceenum"daily"Trending window.
Response
dataobject
data.reposobject[]Populated whenever the provider has data for the entity.
data.repos[].descriptionstring
data.repos[].forksinteger
data.repos[].fullNamestringPopulated whenever the provider has data for the entity.
data.repos[].languagestring
data.repos[].rankinteger
data.repos[].starsinteger
data.repos[].starsTodayinteger
data.repos[].urlstringPopulated whenever the provider has data for the entity.
foundboolean
Price
Price per requestUSD$0.0012
Price /1k reqUSD$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.

It costs from $1.20 per 1,000 requests, in US dollars with no subscription and no monthly minimum. You fund one USD wallet, each call draws it down, and a failed request costs $0.

List GitHub Trending repositories (rank, stars, stars gained today, language, and description), filterable by language and time window. The response is normalized JSON with the same envelope every AnyAPI endpoint returns, so parsing a second endpoint is a change of URL and nothing else.

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. These are AnyAPI's own measurements of traffic through the gateway, recomputed continuously, not a published service-level target.