# X402 Git — Changelog Writer Release Snapshot

> X402 Git — Changelog Writer Release Snapshot is a paid API for AI agents from x402git.com, paid per call via x402, $5/call, status unknown (last checked 2026-09-19).

Fetches the latest paid release snapshot of the 'changelog-writer' code example, returning a signed download URL, version metadata, and artifact hash for USDC-gated access.

## Facts

- Endpoint: GET https://x402git.com/api/r/examples/changelog-writer
- Price: $5/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-changelog-writer-release-snapshot-5a8e8cda
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_-vDmwLGTN_ykmMe2uRNHm

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-changelog-writer-release-snapshot-5a8e8cda
```

Example prompt: Can you pay for and download the latest changelog-writer example from x402git — I need the signed download URL and the SHA256 hash so I can verify the artifact before using it.

## When to prefer this

Use this endpoint when an AI agent needs to programmatically acquire a specific versioned code snapshot from x402git with USDC micropayment, requiring a tamper-verifiable artifact (SHA256) and a time-limited signed URL. Prefer this over generic GitHub raw file access when the author has gated their code behind x402 monetization and you need the official signed release artifact rather than raw source.

## Known failure modes

- Payment not completed or x402 payment header missing — endpoint returns HTTP 402 with payment requirements
- Invalid or unknown repository path — returns 404 or empty response
- Signed download URL expires before download completes — download fails with 403
- Artifact not yet released or no versions available — version fields may be null
- Network timeout reaching storage backend — download URL unreachable

## 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 containing the current version string, an expiry timestamp, a signed download URL pointing to the release zip, a manifest URL for label metadata, the artifact's SHA256 hash for integrity verification, and a versioned endpoint URL. The signed URL is time-limited per the expires_at field.

## 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/examples/changelog-writer/1.0.1.zip?signed=…",
  "manifest_url": "https://x402git.com/api/label/examples/changelog-writer",
  "artifact_sha256": "0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef",
  "version_endpoint": "https://x402git.com/api/r/examples/changelog-writer/v/1.0.1"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-git-changelog-writer-release-snapshot-5a8e8cda/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)
