# SALT19 GitHub Repo Facts

> SALT19 GitHub Repo Facts is a paid API for AI agents from api.salt19.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-14).

Fetches key metadata facts about a GitHub repository, including license, archive status, default branch, and more.

## Facts

- Endpoint: POST https://api.salt19.com/v1/github-repo-facts
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/salt19-github-repo-facts-b17aefda
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_b6LS4z4n-Tr0XQ_raRIIi

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 salt19-github-repo-facts-b17aefda -d '<json body>'
```

Example prompt: Can you look up the facts for the GitHub repo 'cloudflare/workers-sdk' — specifically its license, whether it's archived, and what the default branch is?

## When to prefer this

Use this endpoint when you need quick, structured metadata facts about a GitHub repository — especially license type, archive status, and default branch — without needing to scrape GitHub's web interface or use a full GitHub API client with OAuth. It's ideal for agents doing open-source due diligence, dependency audits, or CI/CD configuration lookups. Best when you want a lightweight, pay-per-call lookup with no API key setup required.

## Known failure modes

- Repository not found — invalid or misspelled owner/repo path returns an error
- Private or restricted repository — may return access denied or empty response
- Malformed repo string — input shorter than 3 characters or exceeding 512 characters will be rejected
- Rate limiting or upstream GitHub API unavailability may cause timeouts
- Payment failure (x402) — call may be rejected if USDC payment of $0.01 is not completed

## How this service works

SALT19 is an independent applied AI systems lab behind EvoMind governed cognition, the MCP-native Agent Utility Grid, the ARCS research community, AeroClear UAS flight intelligence, and practical software for real-world work.

## Output

Returns a JSON object with key facts about the specified GitHub repository, including the license (e.g. Apache-2.0, MIT), archived status (true/false), the default branch name (e.g. main, master), and the canonical repository identifier (owner/repo).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "repo": {
   "type": "string",
   "maxLength": 512,
   "minLength": 3
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "license": "Apache-2.0",
  "archived": false,
  "repository": "cloudflare/workers-sdk",
  "default_branch": "main"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/salt19-github-repo-facts-b17aefda/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.salt19.com](https://www.zero.xyz/host/api.salt19.com/llms.txt)
