x402Books AI
The financial intelligence layer for the agent economy.
AI agents are becoming economic actors. They pay for APIs, data, compute, and services — all onchain, all in USDC. But raw wallet data tells you nothing useful on its own.
x402Books AI solves this. It scans any Base wallet and turns raw USDC activity into structured financial reports, AI-categorized transactions, exportable data, and agent-readable JSON output.
What you can do
- Scan any Base wallet and view spend, income, and net flow
- AI-categorize every transaction — API calls, compute, data, services, income
- Review flagged or anomalous activity in a dedicated queue
- Export financial reports as PDF, CSV, or agent-ready JSON
- Share public wallet reports via a permanent link — no login required
- Query wallet financial data programmatically via the API
Who it's for
Understand what your agents are spending and earning onchain.
Get financial clarity on any Base wallet you work with.
Track micropayment activity and identify x402 payment patterns.
Monitor wallet-level financial activity across your ecosystem.
Why it matters
Without a financial intelligence layer, agent wallet activity is invisible — raw hashes, no context, no categories. You can't tell what was spent, where income came from, or whether a transaction was unusual.
x402Books AI makes wallet activity readable, reportable, and actionable — for both humans and the agents themselves.
V1 Features
Everything included in the live v1 release.
- Privy login (email + X)
- Persistent sessions
- User profile stored securely
- 4 date ranges (7d · 14d · 30d · 90d)
- Spend, Income, Net Flow, Tx Count
- AI summary, line chart, donut chart
- Searchable + filterable table
- Inline AI category editing
- Per-transaction notes + detail drawer
- Duplicate & unusual amount detection
- High-frequency + unknown counterparty flags
- Bulk mark-reviewed workflow
- PDF + CSV export
- Agent-ready JSON output
- Income vs Spend visual + counterparties
- AI-categorized spend breakdown
- Horizontal bar chart by category
- Income breakdown + AI narrative
- Recently scanned wallets
- Quick wallet switching
- Top counterparties by volume
- Shareable /report/[wallet] URL
- No login required to view
- Live data with range switcher
How It Works
Six steps from raw wallet data to financial intelligence.
Sign In
Authenticate with Privy using your email or X/Twitter account. Your session is persisted securely — no wallet signature required.
Paste a Wallet Address
Enter any Base wallet address into the scanner. x402Books AI is read-only — it works with public onchain data only.
Fetch & Normalize Activity
x402Books AI fetches all USDC transfers for the wallet across the selected date range (7d, 14d, 30d, or 90d) and normalizes the raw data.
AI Categorization
Claude AI classifies each transaction into a category — API Calls, Data Access, Compute, Agent Services, Income, and more. A rule-based fallback ensures every transaction is classified.
Generate Reports
Export your financial data as a PDF report, CSV spreadsheet, or structured agent-ready JSON. All formats are available from the Reports page.
Share Public Reports
Every wallet report is available at a permanent public URL. Share it with anyone — no login required to view.
Transaction categories
AI categorization assigns each transaction one of the following labels:
api_call → API endpoint consumption data_access → Data query or feed access compute → Compute or inference cost agent_service → Payment to another agent subscription → Recurring service payment income → Inbound USDC received refund → Returned payment internal_transfer → Wallet-to-wallet self-transfer unknown → Unclassified activity
Core Pages
Every page in the x402Books AI app and what it does.
/dashboardOverviewWallet scanner, stat cards, AI summary, charts, and recent activity.
Scan wallet, change range, categorize, export/transactionsTransactionsFull transaction explorer with search, filters, inline editing, and detail drawer.
Edit category, add note, open in Basescan/flagsFlagsRisk review queue surfacing anomalous activity across all transactions.
Filter by flag type, mark reviewed, bulk clear/reportsReportsReporting center for PDF, CSV, JSON, and visual financial summaries.
Download PDF, export CSV, copy agent JSON/categoriesCategoriesCategory intelligence page breaking down spend and income by type.
View breakdown, read AI narrative insight/walletsWalletsWallet management with counterparty analysis and quick switching.
Switch wallet, copy address, open Basescan/settingsSettingsAccount preferences — theme, wallet, sign-out, and cache management.
Toggle theme, clear cache, sign out/report/[wallet]Public ReportPublicly shareable wallet report — no authentication required.
Share link, download PDF, switch rangeAPI Reference
Programmatic access to wallet financial intelligence.
Endpoints
/api/ledger/summaryReturns a financial summary for a given wallet and time range.
GET /api/ledger/summary?wallet=0x...&period=30d
{
"wallet": "0x7d3f...42f1",
"range": "30d",
"total_spend": 42.80,
"total_income": 91.20,
"net_flow": 48.40,
"transaction_count": 128,
"likely_x402_count": 94,
"top_category": "api_call",
"budget_status": "safe"
}/api/ledger/transactionsReturns paginated, categorized transactions for a wallet.
GET /api/ledger/transactions?wallet=0x...&period=30d&page=1
{
"transactions": [
{
"tx_hash": "0xabc...",
"direction": "expense",
"amount_usdc": 0.42,
"category": "api_call",
"counterparty": "0xdef...",
"is_likely_x402": true,
"confidence_score": 92,
"timestamp": "2026-05-01T14:32:00Z"
}
],
"total": 128,
"page": 1
}/api/ledger/categorizeRuns AI categorization on a wallet's transactions for a given period.
POST /api/ledger/categorize
Content-Type: application/json
{
"wallet": "0x7d3f...42f1",
"period": "30d"
}/api/ledger/reportReturns the full report data used to render public wallet report pages.
GET /api/ledger/report?wallet=0x...&period=30d
Agent JSON output
x402Books AI generates structured JSON that agents can consume directly to understand their own financial state. This enables agents to make budget-aware decisions.
{
"wallet": "0x7d3f...42f1",
"generated_at": "2026-05-12T10:00:00Z",
"range": "30d",
"summary": {
"total_spend": 42.80,
"total_income": 91.20,
"net_flow": 48.40,
"transaction_count": 128
},
"categories": [
{ "category": "api_call", "total_usdc": 18.40, "count": 74 },
{ "category": "data_access", "total_usdc": 11.25, "count": 31 },
{ "category": "compute", "total_usdc": 13.15, "count": 23 }
],
"report": {
"title": "Healthy agent wallet with consistent API spend",
"narrative": "This wallet shows steady outflows across API and compute categories...",
"budget_status": "safe",
"top_category": "api_call"
}
}$XBOOKS Utility
The utility token powering access, usage, and agent financial intelligence.
$XBOOKS is not a speculative asset — it is a functional token designed to reduce the cost of accessing x402Books AI services, unlock premium capabilities, and power agent-to-platform payments.
Planned utilities
Pay for API calls in $XBOOKS at a discounted rate versus USDC. The more you hold, the less you pay per query.
Deep wallet scans, full history exports, advanced AI summaries, and agent financial reports unlocked with $XBOOKS.
Hold or stake $XBOOKS to unlock Pro and Team tiers — advanced features without a monthly subscription.
AI agents pay $XBOOKS directly to access financial intelligence endpoints — programmatic, no human in the loop.
Specific actions consume $XBOOKS: deep scans, AI summaries, financial scores, and premium exports.
Staking $XBOOKS generates credits that offset the cost of using x402Books services over time.
Access tiers
| Feature | Free | Pro | Team | Agent |
|---|---|---|---|---|
| Wallet scanning | ✓ | ✓ | ✓ | ✓ |
| Transaction analytics | ✓ | ✓ | ✓ | ✓ |
| AI categorization | ✓ | ✓ | ✓ | ✓ |
| Public report sharing | ✓ | ✓ | ✓ | ✓ |
| PDF + CSV export | — | ✓ | ✓ | ✓ |
| Deep wallet scans | — | ✓ | ✓ | ✓ |
| API access | — | — | ✓ | ✓ |
| Multi-wallet tracking | — | — | ✓ | ✓ |
| Agent financial score | — | — | — | ✓ |
| High-frequency queries | — | — | — | ✓ |
Monetization
Multiple revenue streams built for the agent economy.
Monthly access to Pro and Team tiers with advanced features, exports, and multi-wallet support.
Pay-per-call pricing for developers and agents querying wallet financial data programmatically.
On-demand deep scans, full history exports, and tax-style PDF reports for detailed financial analysis.
Token powers discounted access, feature unlocks, and future agent usage flows across the platform.
A future scoring system assigning wallet-level financial reliability scores — useful for agents and protocols.
Aggregated ecosystem data, trend reports, and financial intelligence for protocols, researchers, and teams.
Advanced analytics, bulk wallet reporting, and custom integrations for teams managing large agent fleets.
Roadmap
Six phases from v1 to the financial operating system for autonomous agents.
- Wallet scanner
- Dashboard + analytics
- AI categorization
- PDF / CSV export
- Public report links
- Privy authentication
- Categorization accuracy improvements
- Enhanced PDF reports
- Better onboarding flow
- UI polish + bug fixes
- User feedback integration
- API key management
- Rate limiting
- Public developer endpoints
- API usage dashboard
- Agent-readable output
- Token-gated premium features
- Discounted API usage
- Usage-based token sinks
- Agent payment flows
- Agent Financial Score
- Budget tracking + alerts
- Anomaly detection
- Forecasting
- Financial state API
- Bankr integration
- XMTP alerts
- Nookplot partnership
- Agent protocol integrations
- On-chain intelligence products
Security
x402Books AI is read-only. It never touches your funds.
What x402Books AI does not do
- Request or store private keys
- Execute transactions from any wallet
- Take custody of funds
- Access wallet signing capabilities
- Store raw wallet secrets
What x402Books AI does
- Reads public onchain USDC transfer data via Base RPC
- Stores Privy user IDs, email addresses, and X handles in Supabase
- Associates wallet addresses with user sessions (opt-in)
- Generates AI summaries using Claude Haiku (Anthropic)
Authentication
User authentication is handled entirely by Privy. x402Books AI does not implement its own credential store. Sessions are issued as HMAC-signed cookies with no sensitive data embedded.
Data handling
All wallet activity analyzed by x402Books AI is sourced from public Base chain data. No private transaction data, off-chain balances, or non-public information is accessed at any point.
FAQ
Common questions about x402Books AI.
Positioning
What x402Books AI is, who it's for, and where it's going.
Readable books for the agent economy.
One-line description
x402Books AI turns Base wallet activity into financial intelligence for humans and AI agents.
Full description
x402Books AI is the financial intelligence layer for the agent economy. It gives developers, builders, and autonomous agents the tools to understand wallet-level spend, income, categories, reports, and financial activity — in a format that both humans and machines can use.
The vision
AI agents are becoming economic actors. As they operate autonomously — paying for APIs, data, and compute in real time — they need more than a wallet. They need accounting. They need budgeting. They need financial visibility.
x402Books AI is building the financial operating system for autonomous agents. Starting with the ledger. Adding intelligence. Growing with the ecosystem.