{"service":"Klima Retirement Aggregator","apiVersion":"1.0.0","description":"Documentation for this endpoint, in the same version as the API serving it. Fetch a single document with ?id=<id>. Sections carrying `generatedFrom` are snapshots of a machine-readable registry — prefer fetching that registry live at the URL in `registries`.","documents":[{"id":"x402-endpoint","title":"Klima x402 Endpoint","summary":"Full API reference for the Klima retirement endpoint on Base: the free read actions, the paid relay flow, the details schema, and every error code.","url":"https://x402.klimalabs.com/api/docs?id=x402-endpoint","sourceFile":"docs/x402-endpoint.md","sections":[{"id":"overview","title":"Overview"},{"id":"why-x402","title":"Why x402"},{"id":"the-read-endpoints","title":"The read endpoints"},{"id":"versioning-pinning-a-major","title":"Versioning — pinning a major"},{"id":"paid-retire-relay-sign-once-no-gas","title":"Paid retire (relay) — sign once, no gas"},{"id":"error-reference","title":"Error reference","generatedFrom":"error-codes"},{"id":"inputs-contracts-base-mainnet","title":"Inputs & contracts (Base mainnet)"},{"id":"fees","title":"Fees"},{"id":"use-it-from-an-ai-agent","title":"Use it from an AI agent"}]},{"id":"integration-guide","title":"Integration Guide","summary":"Practical walkthrough of retiring carbon through the x402 endpoint, for AI-agent builders and web3 developers alike.","url":"https://x402.klimalabs.com/api/docs?id=integration-guide","sourceFile":"docs/guide.md","sections":[{"id":"overview","title":"Overview"},{"id":"1-why-this-exists","title":"1. Why this exists"},{"id":"2-concepts-at-a-glance","title":"2. Concepts at a glance"},{"id":"3-the-lifecycle-in-one-diagram","title":"3. The lifecycle in one diagram"},{"id":"4-quickstart","title":"4. Quickstart"},{"id":"5-the-actions-in-depth","title":"5. The actions, in depth"},{"id":"6-working-with-the-response-data","title":"6. Working with the response data"},{"id":"7-errors-and-retry","title":"7. Errors and retry"},{"id":"8-x402-client-setup-in-detail","title":"8. x402 client setup, in detail"},{"id":"9-agent-integration-patterns","title":"9. Agent integration patterns"},{"id":"10-production-checklist","title":"10. Production checklist"},{"id":"11-where-to-go-next","title":"11. Where to go next"},{"id":"appendix-a-quick-reference-card","title":"Appendix A: Quick reference card"}]},{"id":"base-mcp-setup","title":"Base MCP Setup","summary":"Connect a Base Account wallet to an AI coding agent via Base MCP and load the Klima retirement plugin.","url":"https://x402.klimalabs.com/api/docs?id=base-mcp-setup","sourceFile":"docs/base-mcp-setup.md","sections":[{"id":"overview","title":"Overview"},{"id":"prerequisites","title":"Prerequisites"},{"id":"1-add-the-base-mcp-server","title":"1. Add the Base MCP server"},{"id":"2-authenticate-oauth-via-base-account","title":"2. Authenticate (OAuth via Base Account)"},{"id":"3-install-the-skill-bundle-gives-you-the-plugin-layer","title":"3. Install the skill bundle (gives you the plugin layer)"},{"id":"4-add-the-klima-plugin","title":"4. Add the Klima plugin"},{"id":"5-restart-and-verify","title":"5. Restart and verify"},{"id":"disconnecting","title":"Disconnecting"},{"id":"troubleshooting","title":"Troubleshooting"}]}],"registries":{"error-codes":"https://x402.klimalabs.com/.well-known/x402-errors.json","changelog":"https://x402.klimalabs.com/.well-known/x402-changelog.json","manifest":"https://x402.klimalabs.com/.well-known/x402.json"},"format":{"sectionBody":"markdown","note":"Section `markdown` is CommonMark with GitHub tables and fenced code. Section `id` matches the GitHub/GitBook heading anchor for the same content."},"x402FacilitatorVersion":2}