{"uid":"cap_Rgii6djKVkaSFwVUT1-tZ","slug":"github-repository-language-breakdown-d333eb38","name":"GitHub Repository Language Breakdown","description":"Language breakdown of a GitHub repository: bytes and percentage per language sorted by share, primary language, total bytes, language count, plus repo size and default branch. Tech-stack detection for due diligence and tooling decisions. $0.01 per repo.","url":"https://intel.rallylive.ca/dev/github-languages","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","properties":{}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_g1s-1Bsm9FiQ8h6ncvjs4","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns a byte-level and percentage breakdown of programming languages used in a GitHub repository, including primary language, total bytes, and language count.","exampleAgentPrompt":"What languages does the facebook/react GitHub repo use? Give me the full breakdown by percentage and bytes, and tell me the primary language.","exampleUseCases":[{"title":"Tech stack due diligence for acquisition","prompt":"We're evaluating the github.com/supabase/supabase repo for acquisition — can you pull the full language breakdown so I know what percentage of the codebase is TypeScript vs other languages?"},{"title":"Open source contribution language check","prompt":"Before I contribute to the apache/kafka repo, can you tell me what programming languages it uses and which one dominates the codebase?"},{"title":"Automated tooling selection for CI pipeline","prompt":"I need to set up a CI pipeline for the repo torvalds/linux — what languages does it use so I can pick the right linters and build tools?"}],"resultDescription":"Returns a structured breakdown including each detected language with its byte count and percentage share of the codebase, sorted by share descending. Also includes the primary language, total bytes across all languages, language count, repository size, and default branch name.","failureModes":["Invalid or non-existent repository identifier returns an error or empty result","Private repositories without access credentials may return unauthorized or empty data","Rate limiting or GitHub API downtime may cause transient failures","Repositories with no code (e.g. purely documentation repos) may return zero languages","Malformed repo URL/identifier returns a validation error"],"whenToPreferThis":"Choose this endpoint when you need fast, structured language composition data for a specific GitHub repository — particularly for tech stack detection, due diligence workflows, or tooling decisions. It is preferable to scraping GitHub's web UI or calling the GitHub API directly when you need a clean, pre-processed breakdown with percentages and a primary language field already computed, at minimal cost per call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T13:07:50.775Z","isFirstParty":false}