GitHub Trending Repositories API
Get GitHub Trending Repositories data via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by ScrapeCreators, pass parameters such as language, since, spoken_language_code, and retrieve structured data including trending rank, owner and repository name, programming language, repository star count, and stars today to build a discovery feed, prepare a library shortlist, and compare collected rankings.
- Selected price
- $0.00188 / callPublished pricing
- Sellers / APIs
- 1 / 1
- Requests · 30d
- 1Selected implementation · last 30 days
- Success rate · 30d
- 100.00%Selected implementation · last 30 days
GitHub Trending Repositories API
Prepare your request, then continue with your agent.
Selected price
$0.00188 / call
- Provider
- API
- Pricing
On this page
Overview
GitHub Trending Repositories API
Send optional language, since and spoken_language_code as query parameters. repositories contains ranked project metadata, while since and language fields retain the requested ranking context.
Quick Facts
| Fact | Value |
|---|---|
| Access | OpenAny REST |
| Authentication | OpenAny API key in the Authorization header |
| Core inputs | Optional query: language, since (daily/weekly/monthly; default daily) and spoken_language_code. |
| Selected implementation | scrapecreators · GitHub — Trending Repositories |
| Billing | See the pricing area for the selected implementation and request options |
What You Can Build
- Build a discovery feed: Show ranked repositories for a selected language and window.
- Prepare a library shortlist: Retain repository links for separate technical review.
- Compare collected rankings: Store request settings with each snapshot before comparing lists.
Returned Data
| Field | Meaning |
|---|---|
repositories[].rank |
Trending rank |
repositories[].full_name |
Owner and repository name |
repositories[].language |
Programming language |
repositories[].stars_count |
Repository star count |
repositories[].stars_today |
Separate star counter reported by the source |
repositories[].url |
Repository URL |
since |
Returned ranking window |
Quick Start
- Set OPENANY_API_KEY to your OpenAny API key.
- Review the selected implementation and pricing, then adapt the request below to your target.
- Check the HTTP response and business result before reading optional fields.
curl --request GET --get \
https://api.openany.si/v1/agent-apis/scrapecreators/v1/github/trending/repositories \
-H "Authorization: Bearer ${OPENANY_API_KEY}" \
--data-urlencode language=javascript \
--data-urlencode since=daily \
--data-urlencode spoken_language_code=en
Request and Response Examples
The request is a calling template, while reference output illustrates the response structure and can refer to different records. Check returned identities against your query.
Published GitHub Trending Repositories API implementation contract.
Pricing and Billing
The pricing area reflects the selected API implementation. Review its billing unit and any request-dependent rules before calling; a source service's public availability does not determine OpenAny billing.
Frequently Asked Questions
Related APIs
Playground
Run sends a real API request. Charges follow the published API contract.
Sellers
| Seller | Pricing | Requests · 30d | Performance | Access |
|---|---|---|---|---|
scrapecreatorsCurrent GitHub — Trending Repositories · GET · View API reference | $0.00188 / call | 1 | 100.00%successP509.36s |
- Unit price
- $0.00188
Statistics use persisted gateway logs from the last 30 days up to now, including today.
Success rate = successful requests / all requests;
P50 = median latency of successful requests.
Prices reflect the published API contract. Contract revision: 5. Price update time: not supplied.
Total $0.188
API
- Method
- GET
- Endpoint
https://api.openany.si/v1/agent-apis/scrapecreators/v1/github/trending/repositories- Content type
- application/json
- Authentication
Authorization: Bearer $OPENANY_API_KEY
Input parameters
Fields in this listing; additional options and input encoding can vary by provider.
| Parameter | Location | Type | Required | Description |
|---|---|---|---|---|
language | URL query parametersquery | string | No | Optional coding language, e.g. javascript, python, or go. |
since | URL query parametersquery | string | No | Trending range: daily, weekly, or monthly. Defaults to daily. enum: "daily", "weekly", "monthly" |
spoken_language_code | URL query parametersquery | string | No | Optional spoken language code filter, e.g. en. |
Required markers inside a nested object or variant apply when that object or variant is used.
Response structure
credits_chargedintegercredits_remainingintegerlanguagenullrepositoriesobject[]built_byobject[]avatar_urlstringusernamestring
descriptionstringforks_countintegerfull_namestringlanguagestringlanguage_colorstringownerstringrankintegerrepostringstars_countintegerstars_todayintegerstars_today_textstringurlstring
sincestringspoken_language_codenullsuccessboolean
Agent integration
Copy the resource contract without sharing an API key.
Error handling
| Status | Next step |
|---|---|
400 | Check the offering and request fields. |
401 / 403 | Verify your credentials and access permissions. |
402 | Inspect the selected access mode and returned payment requirements. |
429 | Respect the returned rate limit and retry guidance. |
5xx | Inspect the error and usage record before retrying a paid operation. |
Examples
Official example
Example from the provider's documentation. Field values in your results will differ.
Prepare your environment
Use a terminal with cURL installed.
Use an OpenAny API key with shared-balance access. Confirm availability and price before running; a call may charge your balance.
Set the key in your terminal using the hidden prompt below. Keep its value out of source files and logs.
Terminal · macOS / Linuxprintf 'OpenAny API key: ' read -r -s OPENANY_API_KEY export OPENANY_API_KEY printf '\n'Run the request
Paste the complete command below into your terminal.
Values to replace before running 3
Review these request fields before running. Keep the published provider and request method unchanged.
language- Optional coding language, e.g. javascript, python, or go.
since- Trending range: daily, weekly, or monthly. Defaults to daily.
spoken_language_code- Optional spoken language code filter, e.g. en.
Terminal · cURLcurl \ 'https://api.openany.si/v1/agent-apis/scrapecreators/v1/github/trending/repositories?language=javascript&since=daily&spoken_language_code=en' \ -X GET \ -H "Authorization: Bearer $OPENANY_API_KEY" \ -H 'Content-Type: application/json'Check the response
Sample response · Documented HTTP 200
Sample response{ "credits_charged": 1, "credits_remaining": 49997684128, "language": null, "repositories": [ { "built_by": [ { "avatar_url": "https://avatars.githubusercontent.com/u/238056179?s=40&v=4", "username": "bryan-anthropic" } ], "description": "Official, Anthropic-managed directory of high quality Claude Code Plugins.", "forks_count": 2627, "full_name": "anthropics/claude-plugins-official", "language": "Python", "language_color": "#3572A5", "owner": "anthropics", "rank": 1, "repo": "claude-plugins-official", "stars_count": 22064, "stars_today": 891, "stars_today_text": "891 stars today", "url": "https://github.com/anthropics/claude-plugins-official" } ], "since": "daily", "spoken_language_code": null, "success": true }