{"data":{"billing":{"currency":"USD","mode":"fixed","priceMicroUsd":"1200","rounding":null,"unit":"call","unitQuantity":null},"capabilityId":"686e3b61-15f0-449b-b92b-38e18b591569","catalogType":"api","categories":["developer"],"dataPlatform":"github","dataPlatformLogoUrl":"","dataPlatformTranslations":{"ar":"GitHub","ja":"GitHub","zh":"GitHub"},"dataProduct":"general","description":"Get GitHub Repository data via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by anyapi, pass parameters such as url, and retrieve structured data including repository owner and name, star count, fork count, primary programming language, and reported repository license to compare dependencies, enrich a project directory, and track project changes.","descriptionTranslations":{"ar":"استعلم عن مستودع GitHub باستخدام رابطه عبر OpenAny REST، وأضف بيانات المشروع العامة إلى أدوات التطوير. استخدم النجوم والتفرعات واللغة الرئيسية والموضوعات والترخيص وأوقات التحديث لمقارنة الاعتماديات وإثراء أدلة البرمجيات أو إعداد بحث تقني، مع التمييز بين بيانات المستودع وشيفرته وسجل مشكلاته ونشاط المساهمين.","ja":"OpenAny REST で GitHub リポジトリの URL を指定し、公開プロジェクトのメタデータを開発ツールに取り込めます。スター数、フォーク数、主要言語、トピック、ライセンス、更新日時を依存関係の比較やソフトウェア一覧の拡充、技術調査に活用でき、ソースコード、Issue 履歴、貢献者の活動とは取得範囲が異なります。","zh":"通过 OpenAny REST 按 URL 查询 GitHub 仓库，将公开项目信息接入开发工具。利用星标数、复刻数、主要语言、主题、许可证及更新时间比较依赖、完善软件目录或开展技术调研；仓库元数据与源码、Issue 历史、贡献者活动属于不同数据范围。"},"effectContentHtml":"","executionMode":"sync","id":"2a01d388-02fb-4307-8e47-f3a814d9a3cd","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":"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":"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"},{"description":"GitHub repository URL (e.g. https://github.com/facebook/react).","location":"body","name":"url","nullable":false,"pointer":"/url","required":true,"type":"string"}],"logoUrl":"","method":"POST","name":"GitHub Repository","nameTranslations":{"ar":"مستودع GitHub","ja":"GitHubリポジトリ","zh":"GitHub 仓库"},"overviewHtml":"\u003ch2\u003eGitHub Repository API\u003c/h2\u003e\n\u003cp\u003eSend a repository URL in the JSON body as url. Repository attributes are grouped under output.data, with output.found indicating whether a record was found.\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\u003eRequired body: url, a GitHub repository URL.\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eSelected implementation\u003c/td\u003e\n\u003ctd\u003eanyapi · GitHub Repository\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\u003eCompare dependencies\u003c/strong\u003e: Collect repository attributes for a shortlist of candidate libraries and review each license before adoption.\u003c/li\u003e\n\u003cli\u003e\u003cstrong\u003eEnrich a project directory\u003c/strong\u003e: Attach topics, primary language and repository identifiers to software records.\u003c/li\u003e\n\u003cli\u003e\u003cstrong\u003eTrack project changes\u003c/strong\u003e: Store dated snapshots of counts and timestamps for your own comparisons.\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.found\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eWhether a repository record was found\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eoutput.data.fullName\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eRepository owner and name\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eoutput.data.stars\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eStar count\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eoutput.data.forks\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eFork count\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eoutput.data.language\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003ePrimary programming language\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eoutput.data.license\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eReported repository license\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eoutput.data.topics\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eRepository topics\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eoutput.data.pushedAt\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eReported last push timestamp\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.repository \\\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;url\u0026#34;:\u0026#34;https://github.com/facebook/react\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 are independent illustrations. Use the reference 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/2a01d388-02fb-4307-8e47-f3a814d9a3cd\"\u003ePublished GitHub Repository 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\u003eWhat should I send as the repository identifier?\u003c/h3\u003e\n\u003cp\u003eSend the full GitHub repository URL in the JSON body as url, for example https://github.com/facebook/react.\u003c/p\u003e\n\u003ch3\u003eDoes this endpoint return source code or issues?\u003c/h3\u003e\n\u003cp\u003eIt returns repository metadata. Source files, issue histories and contributor activity require separate operations.\u003c/p\u003e\n\u003ch3\u003eCan I use stars as a download or usage count?\u003c/h3\u003e\n\u003cp\u003eStars and forks describe repository engagement. They do not measure package downloads, installed users or production adoption.\u003c/p\u003e\n\u003ch3\u003eHow should I handle a repository that is not found?\u003c/h3\u003e\n\u003cp\u003eCheck output.found before reading output.data. Keep a missing result distinct from a valid repository with zero stars.\u003c/p\u003e\n\u003ch3\u003eDoes the response guarantee a license for every repository?\u003c/h3\u003e\n\u003cp\u003eUse the reported license when present and inspect the repository for licensing decisions. A missing license value is not permission to reuse code.\u003c/p\u003e\n\u003ch3\u003eCan I query private repositories with a GitHub token?\u003c/h3\u003e\n\u003cp\u003eThis request contract accepts a repository URL and OpenAny authentication; it exposes no buyer GitHub token field for private-repository access.\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-user\"\u003eGitHub User Profile API\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://openany.si/market/apis/hackernews/hackernews-hacker-news-search\"\u003eHacker News Search API\u003c/a\u003e\u003c/li\u003e\n\u003c/ul\u003e\n","pagePath":"/markets/apis/github/github-repository?offering=2a01d388-02fb-4307-8e47-f3a814d9a3cd","providerId":"anyapi","publicPath":"/v1/agent-apis/anyapi/v1/run/github.repository","requestContentType":"application/json","revision":5,"samples":[{"http_status":200,"name":"Official example (output fragment; HTTP assumed)","request":{"body":{"url":"https://github.com/facebook/react"},"headers":{},"path":{},"query":{}},"response_body":{"output":{"data":{"createdUtc":1450210800,"defaultBranch":"canary","description":"The React Framework","forks":27631,"fullName":"vercel/next.js","homepage":"https://nextjs.org","language":"JavaScript","license":"MIT License","name":"next.js","owner":"vercel","private":false,"pushedAt":"2026-09-28T13:40:11Z","stars":132412,"topics":["react","nextjs","javascript","typescript","vercel"],"updatedAt":"2026-09-28T14:12:03Z","url":"https://github.com/vercel/next.js"},"found":true}}}],"seoDescription":"Get GitHub Repository data via REST or MCP powered by anyapi. Pay per call, no subscription. Structured JSON output with one OpenAny API key.","updatedAt":"2026-12-03T02:36:34.736Z","usageInstructionsHtml":""}}