{"name":"FabTally OnChain — read-only crypto safety & tax API","version":"1.0.0","summary":"Pay-once, no-subscription crypto utilities for humans and agents. FLAGSHIP: one-off wallet PnL / tax-CSV export (realized gains via FIFO/LIFO over full on-chain history, historical USD pricing, downloadable CSV). Plus human-readable transaction decoding, and free token-safety / approval-risk teasers. Read-only, stateless, no custody. Informational only, not tax advice.","operator":"Sunstone Soft","contact":"hello@fabtally.com","terms":"Read-only. Never holds, moves, signs for, or broadcasts funds/transactions. No PII stored; every request is processed statelessly and discarded. Outputs are informational descriptive facts from public sources — NOT tax, investment, financial, or legal advice.","paidChains":["ethereum","base"],"decodeChains":["Ethereum","Optimism","BNB Smart Chain","Polygon","Base","Arbitrum One"],"payment":{"protocol":"x402","x402Version":2,"scheme":"exact","network":"eip155:8453","chainId":"eip155:8453","asset":"USDC","assetAddress":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0xccB5d25C698FdfdaA7B21d54088774cF512A90e3","facilitator":"https://facilitator.daydreams.systems","creditRail":{"description":"Humans can prepay by card and send an X-FabTally-Key: fabt_… header instead of x402.","buy":"https://fabtally.com/buy","balance":"GET https://fabtally.com/agent/v1/balance"}},"endpoints":[{"key":"pnl-export","method":"POST","url":"https://onchain.fabtally.com/v1/pnl-export","price":"$3.00","priceUsdc":"3000000","description":"One-off wallet PnL / tax-CSV export. Give one address (Ethereum + Base), get realized gains via FIFO/LIFO cost-basis lot matching over full on-chain transfer history, each leg priced in historical USD, returned as a downloadable CSV + JSON summary. Pay once — no annual subscription. Informational only, not tax advice. Read-only, stateless, no custody.","input":{"address":"0x… wallet","chains":"ethereum,base (or single `chain`)","year":"optional 4-digit tax year","method":"FIFO | LIFO (default FIFO)"},"free":"https://onchain.fabtally.com/v1/pnl-export/free"},{"key":"decode","method":"POST","url":"https://onchain.fabtally.com/v1/decode","price":"$0.01","priceUsdc":"10000","description":"Read-only human-readable decode of a transaction or contract call (by tx_hash, or by to+calldata): resolves the ABI, names the function, describes what it does in plain English, and labels each parameter address (contract / known-malicious / token). For pre-sign safety.","input":{"chain":"ethereum|base|bsc|polygon|arbitrum|optimism","tx_hash":"0x… (or)","to":"0x… contract","calldata":"0x…"},"free":"https://onchain.fabtally.com/v1/decode/free"}],"freeTeasers":[{"key":"token-safety","url":"https://onchain.fabtally.com/v1/token-safety/free","description":"Basic token safety flags (honeypot, verified, tax, mint/blacklist/pausable, top-holder %) + descriptive verdict."},{"key":"approvals","url":"https://onchain.fabtally.com/v1/approvals/free","description":"Wallet approval-risk counts + top 3 riskiest spenders."},{"key":"pnl-preview","url":"https://onchain.fabtally.com/v1/pnl-export/free","description":"PnL export preview: totals + first 5 disposals (no CSV)."}],"disclaimer":"INFORMATIONAL ONLY — NOT TAX OR FINANCIAL ADVICE. This report is a transfer-based approximation: every outbound token transfer is treated as a disposal at that moment's market price and every inbound transfer as an acquisition. Transfers between your own wallets, LP/bridge/staking moves and unpriced tokens can distort results. Cost basis for tokens acquired before the fetched history (or without a price source) is treated as zero and flagged. Verify against your records and consult a qualified tax professional before filing. Data is read-only, aggregated from public sources, and not stored.","fetchedAt":"2026-08-01T03:01:06.245Z"}