# DataVault GitHub Repository Lookup

> DataVault GitHub Repository Lookup is a paid API for AI agents from zetdatavault.vercel.app, paid per call via x402, $0.02/call, status unknown (last checked 2026-09-13).

Fetches metadata and details for a specified GitHub repository given an owner and repo name.

## Facts

- Endpoint: POST https://zetdatavault.vercel.app/api/github-repo
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/datavault-github-repository-lookup-a3c2497c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_VeYASpKpgTGVPVMK_rdhB

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 datavault-github-repository-lookup-a3c2497c -d '<json body>'
```

Example prompt: Can you pull up the repository details for 'facebook/react' on GitHub — owner is 'facebook' and repo is 'react'?

## When to prefer this

Use this endpoint when you need to fetch metadata for a specific GitHub repository by owner and repo name, especially in a pay-per-call context using USDC on Base. Prefer this over direct GitHub API calls when you need a simple, cost-controlled lookup without managing GitHub API tokens or rate limits directly.

## Known failure modes

- Repository not found — returns success: false if the owner or repo name is incorrect or the repo is private
- Missing required fields — error if either 'owner' or 'repo' is omitted from the request body
- Payment failure — endpoint requires $0.02 USDC on Base; insufficient funds returns 402
- Rate limiting — GitHub API rate limits may cause failures under high load
- Network timeout — upstream GitHub API may be temporarily unavailable

## How this service works

54 endpoints spanning local tools, live data feeds, and AI-powered text processing. Pay-per-call with USDC on Base.

## Output

Returns a JSON object with a success boolean and a data object containing GitHub repository metadata such as name, description, stars, forks, language, and other repository details for the specified owner/repo combination.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "repo",
  "owner"
 ],
 "properties": {
  "repo": {
   "type": "string"
  },
  "owner": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "data": {
   "type": "object"
  },
  "success": {
   "type": "boolean"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/datavault-github-repository-lookup-a3c2497c/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from zetdatavault.vercel.app](https://www.zero.xyz/host/zetdatavault.vercel.app/llms.txt)
