{"data":{"billing":{"currency":"USD","mode":"fixed","priceMicroUsd":"1200","rounding":null,"unit":"call","unitQuantity":null},"capabilityId":"a0d41b9e-0def-4099-b3c2-88621332bf57","catalogType":"api","categories":["developer"],"dataPlatform":"github","dataPlatformLogoUrl":"","dataPlatformTranslations":{"ar":"GitHub","ja":"GitHub","zh":"GitHub"},"dataProduct":"general","description":"Get GitHub Trending Repositories data via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by anyapi, pass parameters such as language, since, and retrieve structured data including trending rank, owner and repository name, repository description, programming language, and repository star count to build a discovery feed, prepare a library shortlist, and compare collected rankings.","descriptionTranslations":{"ar":"اكتشف مستودعات GitHub الرائجة عبر OpenAny REST واختر لغة البرمجة والفترة لعرضك البحثي. استخدم الترتيب والأسماء والأوصاف واللغات والنجوم وروابط المصادر لبناء قائمة اكتشاف أو ترشيح مكتبات للفحص، مع اعتبار الموقع الرائج ترتيبًا من المصدر لا توصية بجودة البرنامج أو أمانه أو اعتماده طويل الأجل.","ja":"OpenAny REST で GitHub のトレンドリポジトリを探し、調査向けの言語と期間を選べます。順位、プロジェクト名、説明、言語、スター数、リンクで発見リストや詳しく調べる候補を作れますが、トレンド順位はソフトウェアの品質、安全性、長期的な採用を推奨するものではありません。","zh":"通过 OpenAny REST 发现 GitHub 热门仓库，为调研视图选择编程语言和热门统计窗口。利用排名、项目名称、描述、语言、星标数及来源链接建立发现列表或筛选待深入检查的库，并将热门位置视为来源排名，不作为软件质量、安全性或长期采用情况的推荐。"},"effectContentHtml":"","executionMode":"sync","id":"058beb93-7bf6-4ca8-b86a-7051f9f651ac","includedContentHtml":"","inputs":[{"description":"Optional. Comma-separated keys (dotted paths like `author.name` descend into nested objects) to keep on each result item: each row of the API's result list, or the `data` object itself for an API that returns one record. Keys are matched relative to that item, not against the top-level response envelope, so use `jq` to reshape the whole envelope. Shrinks the response without changing cost.","location":"query","name":"fields","nullable":false,"required":false,"type":"string"},{"description":"Optional. Cap the number of result rows returned; a `_truncated` note reports how many were withheld so you can page via the API's own `limit`. An API that returns one record is not trimmed. Does not change cost.","location":"query","minimum":"0","name":"max_items","nullable":false,"required":false,"type":"integer"},{"description":"Optional. Return only a structural outline (top-level keys, item counts, and per-field byte sizes) instead of the full data. Does not change cost.","location":"query","name":"summary","nullable":false,"required":false,"type":"boolean"},{"description":"Optional. A jq expression applied to the result envelope; its output replaces `output` (multiple outputs collect into an array). Reshape freely, e.g. `jq=.data | {title, description, md: .markdown[:3500]}`. Runs sandboxed with a 250ms / 2MB budget; on failure the full result is returned with a `jqError`. Does not change cost.","location":"query","name":"jq","nullable":false,"required":false,"type":"string"},{"description":"Optional. The most you are willing to pay for this one request, in US dollars (for example 0.05). Any route that would charge more than this is not used, so a request only ever runs on something you can afford. If nothing is available at or below your amount, the request is refused before it runs, nothing is charged, and the message tells you the cheapest price per request so you can raise it. Leave it out to accept the normal price.","location":"query","name":"max_cost_usd","nullable":false,"required":false,"type":"string"},{"description":"Optional wallet idempotency key, scoped to this customer for 24 hours. When the gateway honors the key, this synchronous in-process execution can continue after the caller disconnects, bounded by its execution deadline. A completed replayable result charges normally exactly once and can be replayed without another provider run or charge. A pending duplicate returns 409 idempotency_in_progress; reuse with different request semantics returns 409 idempotency_conflict.","location":"header","max_length":255,"min_length":1,"name":"Idempotency-Key","nullable":false,"required":false,"type":"string"},{"description":"Optional, default true. When false, only the sources listed in `source` may serve; the request is refused with no charge if none of them can. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","location":"body","name":"allowFallbacks","nullable":false,"pointer":"/allowFallbacks","required":false,"type":"boolean"},{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves and the price is that of the dearest remaining source. An id that does not serve this endpoint, or that is also in `source`, is rejected as invalid input with no charge; skipping every source is rejected the same way.","item_type":"string","location":"body","name":"ignoreSources","nullable":false,"pointer":"/ignoreSources","required":false,"type":"array"},{"description":"Filter by programming language (e.g. \"go\", \"typescript\"). Omit for all languages.","location":"body","name":"language","nullable":false,"pointer":"/language","required":false,"type":"string"},{"description":"Optional; omit it and routing is unchanged, with the cheapest source serving. Prefer sources whose typical response time (median over the trailing 30 days, as published on this endpoint's lane health) is under this many milliseconds; among those, the cheapest serves. This can raise your price: when the cheapest source misses the target, a faster and dearer one serves, and you are quoted and charged its price. If no source is that fast the request is still served, by whichever source offers the best speed for its price - it is never refused for being slow. Sources we have not timed are tried last. This is a preference, not a guarantee: the median describes past requests and is not a ceiling on this one, and it excludes any wait this request itself asks for. On a paginated walk it applies to the first page only: later pages stay with the source that page chose, at the price it was quoted.","location":"body","minimum":"1","name":"preferLatencyUnderMs","nullable":false,"pointer":"/preferLatencyUnderMs","required":false,"type":"integer"},{"description":"Trending window.","enum_values":["daily","weekly","monthly"],"location":"body","name":"since","nullable":false,"pointer":"/since","required":false,"type":"string"},{"description":"Optional. Source ids to prefer, in order, taken from this endpoint's `lanes[].source.id` in /catalog or /apis. Omit it and the cheapest source serves, with automatic failover. Listed sources are tried first in the order given, then the others, unless `allowFallbacks` is false. A single source with `allowFallbacks` false is served only by that source at its price, quoted and charged exactly, with no failover. The price is that of the dearest source that may serve. An id that does not serve this endpoint is rejected as invalid input with no charge; a listed source that is not serving right now is refused with no charge, so omit `source` to be served by another. On a paginated walk, later pages must include the source that served page one, or omit `source`.","item_type":"string","location":"body","name":"source","nullable":false,"pointer":"/source","required":false,"type":"array"}],"logoUrl":"","method":"POST","name":"GitHub Trending Repositories","nameTranslations":{"ar":"مستودعات GitHub Trending","ja":"GitHub Trendingリポジトリ","zh":"GitHub Trending 仓库"},"overviewHtml":"\u003ch2\u003eGitHub Trending Repositories API\u003c/h2\u003e\n\u003cp\u003eSend optional language and since in a JSON body, with since set to daily, weekly or monthly. Repository records are returned in output.data.repos alongside the reported window.\u003c/p\u003e\n\u003ch2\u003eQuick Facts\u003c/h2\u003e\n\u003ctable\u003e\n\u003cthead\u003e\n\u003ctr\u003e\n\u003cth\u003eFact\u003c/th\u003e\n\u003cth\u003eValue\u003c/th\u003e\n\u003c/tr\u003e\n\u003c/thead\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd\u003eAccess\u003c/td\u003e\n\u003ctd\u003eOpenAny REST\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eAuthentication\u003c/td\u003e\n\u003ctd\u003eOpenAny API key in the Authorization header\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eCore inputs\u003c/td\u003e\n\u003ctd\u003eJSON body: optional language and since (daily/weekly/monthly).\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eSelected implementation\u003c/td\u003e\n\u003ctd\u003eanyapi · GitHub Trending Repositories\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eBilling\u003c/td\u003e\n\u003ctd\u003eSee the pricing area for the selected implementation and request options\u003c/td\u003e\n\u003c/tr\u003e\n\u003c/tbody\u003e\n\u003c/table\u003e\n\u003ch2\u003eWhat You Can Build\u003c/h2\u003e\n\u003cul\u003e\n\u003cli\u003e\u003cstrong\u003eBuild a discovery feed\u003c/strong\u003e: Show ranked repositories for a selected language and window.\u003c/li\u003e\n\u003cli\u003e\u003cstrong\u003ePrepare a library shortlist\u003c/strong\u003e: Retain repository links for separate technical review.\u003c/li\u003e\n\u003cli\u003e\u003cstrong\u003eCompare collected rankings\u003c/strong\u003e: Store request settings with each snapshot before comparing lists.\u003c/li\u003e\n\u003c/ul\u003e\n\u003ch2\u003eReturned Data\u003c/h2\u003e\n\u003ctable\u003e\n\u003cthead\u003e\n\u003ctr\u003e\n\u003cth\u003eField\u003c/th\u003e\n\u003cth\u003eMeaning\u003c/th\u003e\n\u003c/tr\u003e\n\u003c/thead\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eoutput.data.repos[].rank\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eTrending rank\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eoutput.data.repos[].fullName\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eOwner and repository name\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eoutput.data.repos[].description\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eRepository description\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eoutput.data.repos[].language\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eProgramming language\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eoutput.data.repos[].stars\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eRepository star count\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eoutput.data.repos[].starsToday\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eAdditional star counter reported as starsToday\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eoutput.data.repos[].url\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eRepository URL\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eoutput.data.since\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eReturned trending window\u003c/td\u003e\n\u003c/tr\u003e\n\u003c/tbody\u003e\n\u003c/table\u003e\n\u003ch2\u003eQuick Start\u003c/h2\u003e\n\u003col\u003e\n\u003cli\u003eSet OPENANY_API_KEY to your OpenAny API key.\u003c/li\u003e\n\u003cli\u003eReview the selected implementation and pricing, then adapt the request below to your target.\u003c/li\u003e\n\u003cli\u003eCheck the HTTP response and business result before reading optional fields.\u003c/li\u003e\n\u003c/ol\u003e\n\u003cpre\u003e\u003ccode class=\"language-bash\"\u003ecurl --request POST \\\n  https://api.openany.si/v1/agent-apis/anyapi/v1/run/github.trending_repositories \\\n  -H \u0026#34;Authorization: Bearer ${OPENANY_API_KEY}\u0026#34; \\\n  -H \u0026#34;Content-Type: application/json\u0026#34; \\\n  --data-raw \u0026#39;{\u0026#34;language\u0026#34;:\u0026#34;python\u0026#34;,\u0026#34;since\u0026#34;:\u0026#34;daily\u0026#34;}\u0026#39;\n\u003c/code\u003e\u003c/pre\u003e\n\u003ch2\u003eRequest and Response Examples\u003c/h2\u003e\n\u003cp\u003eThe request template and reference output fragment are independent illustrations. Use the fragment for field structure and check the returned record against your requested identifier.\u003c/p\u003e\n\u003cp\u003e\u003ca href=\"https://openany.si/api/v1/agent-apis/058beb93-7bf6-4ca8-b86a-7051f9f651ac\"\u003ePublished GitHub Trending Repositories API implementation contract\u003c/a\u003e.\u003c/p\u003e\n\u003ch2\u003ePricing and Billing\u003c/h2\u003e\n\u003cp\u003eThe pricing area reflects the selected API implementation. Review its billing unit and any request-dependent rules before calling; a source service\u0026#39;s public availability does not determine OpenAny billing.\u003c/p\u003e\n\u003ch2\u003eFrequently Asked Questions\u003c/h2\u003e\n\u003ch3\u003eWhich trending windows are supported?\u003c/h3\u003e\n\u003cp\u003esince accepts daily, weekly or monthly.\u003c/p\u003e\n\u003ch3\u003eCan I filter by programming language?\u003c/h3\u003e\n\u003cp\u003eYes. Use language, such as python or typescript; omit it for all languages according to the input description.\u003c/p\u003e\n\u003ch3\u003eIs rank a global quality score?\u003c/h3\u003e\n\u003cp\u003eNo. It is the returned trending position, not a quality, security or adoption score.\u003c/p\u003e\n\u003ch3\u003eAre stars and starsToday the same count?\u003c/h3\u003e\n\u003cp\u003eNo. stars is the repository star count; starsToday is a separate counter. Keep the original field names and requested window when interpreting them.\u003c/p\u003e\n\u003ch3\u003eCan I request an arbitrary historical date?\u003c/h3\u003e\n\u003cp\u003eNo date input is declared. The supported control is the daily, weekly or monthly trending window.\u003c/p\u003e\n\u003ch3\u003eDoes the API review a repository\u0026#39;s code?\u003c/h3\u003e\n\u003cp\u003eNo. It returns trending metadata. Code inspection and dependency assessment are separate tasks.\u003c/p\u003e\n\u003ch2\u003eRelated APIs\u003c/h2\u003e\n\u003cul\u003e\n\u003cli\u003e\u003ca href=\"https://openany.si/market/apis/github/github-trending-developers\"\u003eGitHub Trending Developers API\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://openany.si/market/apis/github/github-user-repositories\"\u003eGitHub User Repositories API\u003c/a\u003e\u003c/li\u003e\n\u003c/ul\u003e\n","pagePath":"/markets/apis/github/github-trending-repositories?offering=058beb93-7bf6-4ca8-b86a-7051f9f651ac","providerId":"anyapi","publicPath":"/v1/agent-apis/anyapi/v1/run/github.trending_repositories","requestContentType":"application/json","revision":5,"samples":[{"http_status":200,"name":"Official example (output fragment; HTTP assumed)","request":{"body":{"language":"python","since":"daily"},"headers":{},"path":{},"query":{}},"response_body":{"output":{"data":{"repos":[{"description":"Benchmark harness for evaluating agent pipelines end to end","forks":512,"fullName":"argilla-labs/flowbench","language":"Python","name":"flowbench","owner":"argilla-labs","rank":1,"stars":8412,"starsToday":934,"url":"https://github.com/argilla-labs/flowbench"},{"description":"A tiny in-process cache with TTL and LRU eviction","forks":201,"fullName":"octomill/quickcache","language":"Python","name":"quickcache","owner":"octomill","rank":2,"stars":5230,"starsToday":611,"url":"https://github.com/octomill/quickcache"},{"description":"Streaming PDF text extraction without loading the whole file","forks":96,"fullName":"lena-park/pdfstream","language":"Python","name":"pdfstream","owner":"lena-park","rank":3,"stars":3104,"starsToday":288,"url":"https://github.com/lena-park/pdfstream"}],"since":"daily"},"found":true}}}],"seoDescription":"Get GitHub Trending Repositories data via REST or MCP powered by anyapi. Pay per call, no subscription. Retrieve trending rank and repository description.","updatedAt":"2026-12-03T02:37:09.438Z","usageInstructionsHtml":""}}