{"uid":"cap_UoB_xftCOIJ7Ih69Z_8ho","slug":"x402-git-repo-digest-snapshot-examples-repo-digest-2c047fbd","name":"X402 Git — Repo Digest Snapshot (examples/repo-digest)","description":"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.","url":"https://x402git.com/api/r/examples/repo-digest","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"properties":{"type":"string"}}},"responseSchema":{"type":"json","example":{"version":"1.0.1","expires_at":"2026-09-16T12:05:00.000Z","all_versions":false,"download_url":"https://storage.example/examples/repo-digest/1.0.1.zip?signed=…","manifest_url":"https://x402git.com/api/label/examples/repo-digest","artifact_sha256":"0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef","version_endpoint":"https://x402git.com/api/r/examples/repo-digest/v/1.0.1"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"9","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$9/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"9","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"9","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Wdb6YGwPVbAJetSX1GFnE","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"9","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns a signed, versioned snapshot of the examples/repo-digest GitHub repository including download URL, manifest, and SHA256 checksum, paid via x402 USDC micropayment.","exampleAgentPrompt":"Grab me the latest signed snapshot of the examples/repo-digest repo from X402 Git — I need the download URL, SHA256 checksum, and version number so I can verify and unpack it.","exampleUseCases":[{"title":"Agent fetching verified code snapshot","prompt":"Pull the current versioned snapshot of the examples/repo-digest repository from X402 Git, including the signed download URL and SHA256 hash, so I can verify the integrity before running it."},{"title":"CI pipeline code integrity check","prompt":"Get me the artifact SHA256 and manifest URL for the latest release of examples/repo-digest from X402 Git so my pipeline can confirm nothing has been tampered with."},{"title":"Discovering current repo version","prompt":"What version of examples/repo-digest is currently live on X402 Git, and when does the snapshot expire? I need the version endpoint too."}],"resultDescription":"Returns a JSON object containing the current version string (e.g. '1.0.1'), an expiry timestamp for the snapshot, a boolean indicating whether all versions are included, a signed download URL to a zip archive in cloud storage, a manifest URL on x402git.com, a SHA256 checksum of the artifact, and a version-specific API endpoint URL.","failureModes":["Payment not received or x402 payment header missing — returns HTTP 402 with payment requirements","Repository or release not found — returns 404","Signed URL expired before use — client must re-fetch","Invalid or malformed properties parameter — may return 400 or empty result","Upstream GitHub sync lag — snapshot may not reflect the very latest commit"],"whenToPreferThis":"Choose this endpoint when an AI agent needs a cryptographically verifiable, tamper-evident snapshot of the examples/repo-digest repository with a signed download URL, and is prepared to pay $9 USDC per call via the x402 protocol. Prefer it over raw GitHub API access when immutability, payment-gating, and SHA256 verification are required.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-19T12:45:11.150Z","isFirstParty":false}