List trending GitHub repositories
List trending GitHub repositories for a language and time window.
Use `since` (`daily`, `weekly`, `monthly`) and optional `language` / `spokenLanguageCode` to narrow results. For trending developers instead of repositories, use the trending developers endpoint.
An empty `data.repositories` array means GitHub returned no trending repositories for the selected filters.
Headers
Get your API keyAPI key (`sfk_...`)
Optional coding language filter.
min 1 chars
Trending time window. Defaults to daily when omitted.
one of: daily, weekly, monthly
Optional spoken language code filter.
min 1 chars
Endpoint-specific response payload.
Trending time window applied to this response.
one of: daily, weekly, monthly
Coding language filter applied to this response, or null when unfiltered.
Spoken language filter applied to this response, or null when unfiltered.
Trending GitHub repositories for the selected filters, in rank order.
Position on the trending repositories page.
≥ 0
Repository owner login.
Repository name without the owner prefix.
Full repository name in `owner/repo` form.
Canonical public repository URL.
min 1 chars
Repository description when available.
Primary language label when available.
Hex color for the language badge when available.
Total star count when available.
≥ 0
Total fork count when available.
≥ 0
Stars gained in the selected trending window.
≥ 0
Human-readable stars-gained label when available.
Users credited as built-by contributors when shown.
GitHub username shown in built-by avatars.
Avatar image URL for the contributor.
Number of repositories in data.repositories for this response.
≥ 0
Metadata describing the request and billing outcome.
Unique request identifier for tracing this API call.
min 1 chars
Credits charged for this request.
≥ 0
Public API version that served the response.
one of: v1
Code example
curl "https://api.socialfetch.dev/v1/github/trending/repositories?language=value&since=daily" \
-H "x-api-key: YOUR_API_KEY"Responses
Trending GitHub repositories for this request.