# GitHub Repository Languages

> GitHub Repository Languages is a paid API for AI agents from x402-toolbox.shablony-pro.workers.dev, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-02).

Returns the programming languages used in a GitHub repository and their byte counts

## Facts

- Endpoint: GET https://x402-toolbox.shablony-pro.workers.dev/dev/github-repo-languages?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/github-repository-languages-c3d3e3c8
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Mci-LIC683z6VkYKkPJ0P

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability github-repository-languages-c3d3e3c8
```

Example prompt: What programming languages are used in the facebook/react GitHub repository and how many bytes of code are written in each?

## When to prefer this

Use this endpoint when you need a quick, pay-per-call lookup of a GitHub repository's language composition without setting up GitHub API credentials. Ideal for AI agents that need to assess a project's tech stack on demand, compare repositories by language, or enrich software metadata workflows — all via a $0.001 USDC micropayment with no signup required.

## Known failure modes

- Repository not found or is private — returns error or empty response
- Missing or malformed owner/repo parameters — may return 400 or empty result
- Rate limiting on the underlying GitHub API — may return 429 or error
- Empty repository with no code — returns empty language map

## How this service works

309 deterministic pay-per-call tools for AI agents over x402 (USDC, Base). No signup, no API key: the payment is the identity.

## Output

A JSON object mapping programming language names to the number of bytes written in that language within the specified GitHub repository, e.g. {"JavaScript": 1234567, "TypeScript": 890123, "CSS": 45678}.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "schema": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "paid": true
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/github-repository-languages-c3d3e3c8/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-toolbox.shablony-pro.workers.dev](https://www.zero.xyz/host/x402-toolbox.shablony-pro.workers.dev/llms.txt)
