x402 Pay-as-you-go — LedgerBrain API
LedgerBrain supports pay-per-report KYT and KYA access for AI agents using the x402 v2 payment protocol. No account or subscription required. Pay $1 per report in USDC on Base.
Pricing
- KYT transaction risk report: $1 per report
- KYA address risk report: $1 per report
Payment Flow
- Agent requests a paid endpoint
- API returns HTTP 402 with PAYMENT-REQUIRED header
- Agent signs payment using an x402-capable wallet or client
- Agent retries with PAYMENT-SIGNATURE header
- LedgerBrain verifies payment and returns the report
Endpoints
- GET /api/v1/x402/health — Service health
- GET /api/v1/x402/catalog — Discover endpoints and pricing
- POST /api/v1/x402/kyt/report — KYT transaction risk report
- POST /api/v1/x402/kya/report — KYA address risk report
Payment Details
- Token: USDC
- Network: Base
- Protocol: x402 v2
FAQ
Do agents need a LedgerBrain account? No.
Is this separate from the human billing system? Yes.
Full API portal: https://api.ledgercore.io/api/v1/portals/ledgerbrain
