# x402 Trading Hub - Repository Health Check

> x402 Trading Hub - Repository Health Check is a paid API for AI agents from trading-hub-v4-omega.vercel.app, paid per call via x402, $0.06/call, status unknown (last checked 2026-11-01).

Checks the health and status of a code repository, returning metrics relevant to development and open-source quality assessment

## Facts

- Endpoint: POST https://trading-hub-v4-omega.vercel.app/api/dev/repo-health?utm_source=zero.xyz
- Price: $0.06/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-01
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-trading-hub-repository-health-check-0dc478c9
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_x6_WrBSfInwqDsAqAQbxC

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 x402-trading-hub-repository-health-check-0dc478c9 -d '<json body>'
```

Example prompt: Can you check the repository health for the vercel/next.js GitHub project and tell me if it's actively maintained?

## When to prefer this

Use this endpoint when you need a quick, paid, structured health assessment of a code repository — particularly when building developer tooling, evaluating open-source dependencies, or monitoring project vitality. Prefer this over manual GitHub API queries when you need a consolidated health score and are operating within a micropayment-enabled agent workflow.

## Known failure modes

- Invalid or non-existent repository identifier returns an error
- Private repositories may be inaccessible or return limited data
- Payment of $0.06 USDC not provided or declined via x402 protocol results in 402 Payment Required
- Rate limiting if too many requests are made in quick succession
- Upstream data source unavailable causing timeout or partial response

## How this service works

67 paid endpoints for on-chain, forex, stocks &amp; market intelligence

## Output

Returns health metrics and status indicators for the specified repository, potentially including activity signals, contributor stats, issue/PR counts, maintenance status, and an overall health score.

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-trading-hub-repository-health-check-0dc478c9/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from trading-hub-v4-omega.vercel.app](https://www.zero.xyz/host/trading-hub-v4-omega.vercel.app/llms.txt)
