{"uid":"cap__nsEKmjMyqAbglNbYAkzq","slug":"anchor-x402-ledger-report-68e76a6c","name":"Anchor-x402 Ledger Report","description":"Signed + dual-chain-anchored x402 expense report (markdown + CSV, async job). $0.35 USDC.","url":"https://api.anchor-x402.com/v1/ledger/report","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"to":{"type":"string","description":"ISO date, end of range. Default: now."},"from":{"type":"string","description":"ISO date, start of range. Default: 30 days before `to`."},"title":{"type":"string","description":"Report title for the markdown header."},"format":{"enum":["markdown","csv","both"],"type":"string","description":"Which report files to produce. Default both."},"wallet":{"type":"string","description":"EVM address (Base) whose x402 spend to report on."},"direction":{"enum":["outbound","inbound","both"],"type":"string"},"prepared_for":{"type":"string","description":"Optional client name for the report header."}}},"responseSchema":{"type":"json","example":{"job_id":"8f14e45f-ea9d-4a4c-b8be-1c1c672f9b2d","status":"accepted","status_url":"https://api.anchor-x402.com/v1/ledger/report/8f14e45f-ea9d-4a4c-b8be-1c1c672f9b2d","eta_seconds":120}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.35","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":"$0.35/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.35","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.35","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_vWZnO8WpH9VSmPGRwYE38","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.35","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Generates a signed, dual-chain-anchored expense report (markdown and/or CSV) for x402 on-chain spend from an EVM wallet address, delivered as an async job.","exampleAgentPrompt":"Generate a signed expense report for my wallet 0xAbc123...def456 covering January 1 to March 31 2025, including both inbound and outbound x402 transactions, and give me both the markdown and CSV versions with the title 'Q1 2025 x402 Ledger'.","exampleUseCases":[{"title":"Quarterly crypto spending audit","prompt":"Pull together a full expense report for wallet 0xDe...F9 covering Q1 2025 — I want both markdown and CSV, and title it 'Q1 2025 x402 Expense Report' so I can share it with my accountant."},{"title":"Client invoice documentation","prompt":"Create a signed, blockchain-anchored ledger report of outbound x402 payments from my wallet 0xAb...12 for the month of April 2025, formatted as markdown, prepared for 'Acme Corp' — I need proof of spend for the invoice."},{"title":"Inbound payment reconciliation","prompt":"Generate a CSV-only x402 ledger report for wallet 0x99...AA showing only inbound transactions from March 1 to April 30 2025, titled 'Spring Inbound Reconciliation', so I can reconcile what I've received."}],"resultDescription":"An async job is initiated that produces a cryptographically signed, dual-chain-anchored (Base + Solana) expense report in one or both of: a markdown document and a CSV file. The report covers x402 protocol transactions for the specified wallet address and date range, optionally filtered by direction (inbound/outbound), and includes a report title and optional client name header.","failureModes":["Invalid or missing EVM wallet address returns a validation error","Unsupported date format for 'from' or 'to' fields causes a parse error","No x402 transactions found for the specified wallet and date range yields an empty report","Async job timeout if on-chain data retrieval takes too long","Invalid format enum value (not 'markdown', 'csv', or 'both') returns a schema error","Payment of $0.35 USDC not received or x402 payment fails — request rejected before processing"],"whenToPreferThis":"Choose this endpoint when you need a cryptographically signed, blockchain-anchored audit trail of x402 on-chain spend for a specific EVM wallet — especially when the output needs to be independently verifiable on Base and Solana. Prefer this over generic blockchain explorers when you need formatted, human-readable expense reports (markdown/CSV) rather than raw transaction data, or when a signed attestation is required for compliance, invoicing, or client-facing documentation.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T18:30:26.168Z","isFirstParty":false}