# X402 Git — Crypto Balanced Portfolio Builder (pcmarts)

> X402 Git — Crypto Balanced Portfolio Builder (pcmarts) is a paid API for AI agents from x402git.com, paid per call via x402, $0.02/call, status unknown (last checked 2026-09-19).

Fetches the latest paid release snapshot of the 'crypto-balanced-portfolio-builder' code repository by pcmarts, returning a signed download URL, version info, and integrity hash.

## Facts

- Endpoint: GET https://x402git.com/api/r/pcmarts/crypto-balanced-portolio-builder
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-19
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-git-crypto-balanced-portfolio-builder-pcmarts-5f66a339
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_NG1GgxxEHXsJGxb2f3KkW

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-git-crypto-balanced-portfolio-builder-pcmarts-5f66a339
```

Example prompt: Can you grab me the latest release of pcmarts's crypto-balanced-portfolio-builder — I need the download link and the SHA-256 hash so I can verify it before using it.

## When to prefer this

Use this endpoint when an agent needs to programmatically purchase and download a specific GitHub-synced code artifact (the crypto-balanced-portfolio-builder by pcmarts) with built-in payment via x402/USDC, integrity verification via SHA-256, and a signed download link — as opposed to cloning a public repo directly or using a generic package registry.

## Known failure modes

- Payment failure — x402 payment not accepted or insufficient USDC balance returns a 402 error
- Repository not found — invalid username or repo name returns a 404
- Expired signed URL — the download_url has a limited TTL and may expire before use
- Version unavailable — requested version does not exist
- Rate limiting — too many requests in a short window

## How this service works

Get paid by agents for your code. Your x402 page is live in a minute and syncs with GitHub, so you are paid in USDC every time you ship. Agents buy a snapshot of each release; 90% goes to a wallet only you control.

## Output

Returns a JSON object with the current version number (e.g. '1.0.1'), an expiry timestamp for the signed URL, a flag indicating whether all versions are included, a signed download URL pointing to the release zip artifact, a manifest URL, a SHA-256 hash of the artifact for integrity verification, and a version-specific endpoint URL.

## Request schema (JSON Schema)

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

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "version": "1.0.1",
  "expires_at": "2026-09-16T12:05:00.000Z",
  "all_versions": false,
  "download_url": "https://storage.example/pcmarts/crypto-balanced-portolio-builder/1.0.1.zip?signed=…",
  "manifest_url": "https://x402git.com/api/label/pcmarts/crypto-balanced-portolio-builder",
  "artifact_sha256": "0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef",
  "version_endpoint": "https://x402git.com/api/r/pcmarts/crypto-balanced-portolio-builder/v/1.0.1"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-git-crypto-balanced-portfolio-builder-pcmarts-5f66a339/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402git.com](https://www.zero.xyz/host/x402git.com/llms.txt)
