List trending GitHub repositories
Returns GitHub's trending repositories for a time window (`daily`, `weekly`, `monthly`), optionally for one programming or spoken language, with stars gained in the window.
Pricing — $ · min $0.003
Minimum 3 credits ($0.003) per call. Records returned above the minimum bill 1 credit ($0.001) each.
Authorization
bearerAuth UnifAPI API key. Provider credentials are managed by UnifAPI.
In: header
Query Parameters
Optional coding language filter.
1 <= lengthTrending time window. Default: daily.
Value in
- "daily"
- "weekly"
- "monthly"
Optional spoken language code filter.
1 <= lengthHeader Parameters
Pin the API version an integration was built against (date-based, e.g. 2026-07-01). Omit to use the current version. Public URL paths stay stable and unversioned; breaking changes ship under a new dated version and are announced with Deprecation and Sunset response headers. The served version is echoed in every response's Unifapi-Version header. Policy: https://unifapi.com/versioning.md
"2026-07-01"Value in
- "2026-07-01"
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/github/trending/repos"{ "request_id": "string", "data": [ { "rank": 0, "owner": "string", "repo": "string", "full_name": "string", "url": "string", "description": "string", "language": "string", "language_color": "string", "stars_count": 0, "forks_count": 0, "stars_today": 0, "stars_today_text": "string", "built_by": [ { "username": "string", "avatar_url": "string" } ] } ], "pagination": { "has_more": true, "next_cursor": "string" }, "billing": { "credits_charged": 0, "records_charged": 0, "balance_remaining": 0, "truncated_due_to_balance": true }}