Send your buy/sell trades (JSON list of {side, amount, price, fee, time, asset})...
https://agents.204-168-199-108.sslip.io/v1/crypto/cost-basisOverview
Send your buy/sell trades (JSON list of {side, amount, price, fee, time, asset}) and a method (fifo, lifo, hifo, average) → per asset: realized gain per sale with the exact lots used and holding days, short-term vs long-term gain (default 365-day line), remaining amount, open lots, remaining cost basis and average cost, and unrealized gain at current_price / current_prices. Fees are added to cost and deducted from proceeds; overselling is rejected. For portfolio, accounting a
Health
x402 Payment Validation
Input Schema
Output Schema
Recent Health Checks
| Time | Status | HTTP | Latency | Error |
|---|---|---|---|---|
| 2026-12-05 18:38:11 | healthy | 402 | 141ms | |
| 2026-12-05 17:41:32 | healthy | 402 | 118ms | |
| 2026-12-05 16:40:26 | healthy | 402 | 110ms | |
| 2026-12-05 15:38:59 | healthy | 402 | 110ms | |
| 2026-12-05 14:39:40 | healthy | 402 | 126ms | |
| 2026-12-05 13:38:47 | healthy | 402 | 133ms | |
| 2026-12-05 12:38:37 | healthy | 402 | 113ms | |
| 2026-12-05 11:43:26 | healthy | 402 | 204ms | |
| 2026-12-05 10:39:39 | healthy | 402 | 118ms | |
| 2026-12-05 09:38:09 | healthy | 402 | 110ms | |
| 2026-12-05 08:41:43 | healthy | 402 | 111ms | |
| 2026-12-05 07:37:56 | healthy | 402 | 116ms | |
| 2026-12-05 06:35:31 | healthy | 402 | 131ms | |
| 2026-12-05 05:36:02 | healthy | 402 | 110ms | |
| 2026-12-05 03:47:34 | healthy | 402 | 203ms | |
| 2026-12-05 02:38:04 | healthy | 402 | 1361ms | |
| 2026-12-05 01:37:10 | healthy | 402 | 112ms | |
| 2026-12-05 01:00:44 | healthy | 402 | 119ms | |
| 2026-12-04 20:51:29 | healthy | 402 | 355ms |