Get wallet profit-and-loss data across 150+ blockchains via Allium's onchain data API.
What it does
This MPP endpoint from Allium returns wallet-level profit and loss (PnL) data. Allium indexes over 150 chains (EVM, Solana, Bitcoin, and more) and serves enterprise-grade blockchain data used by teams like Phantom, Uniswap, and Coinbase. The AgentHub platform packages this data for AI agents, supporting both x402 machine-to-machine payments (USDC on Base) and traditional API key authentication.
The specific endpoint at `/api/v1/developer/wallet/pnl` is designed to compute PnL for a given wallet address. However, during probing the endpoint returned HTTP 405 (Method Not Allowed) on both HEAD and GET requests, which strongly suggests it requires a POST method with a JSON body (likely containing a wallet address and optional chain/token filters). No OpenAPI schema, request/response examples, or dedicated documentation were found — the docs page at agents.allium.so/docs returns 404.
Pricing details for this specific endpoint are not documented in the crawled material. The landing page states that agents can pay per request in USDC on Base via x402, but no concrete price was captured in the probe challenge. Without a confirmed 402 challenge or published rate card, the cost per call remains unknown.
Capabilities
Use cases
- —Calculate realized and unrealized PnL for a crypto wallet across multiple chains
- —Build portfolio dashboards that show per-wallet performance over time
- —Let AI agents autonomously assess wallet profitability before executing trades
- —Audit wallet activity for tax reporting or compliance purposes
Fit
Best for
- —AI agents needing programmatic access to wallet-level PnL data
- —Developers building multi-chain portfolio trackers
- —Teams already using Allium's data infrastructure who want agent-accessible endpoints
Not for
- —Non-crypto or traditional finance PnL calculations
- —Users needing a human-facing UI for portfolio tracking without building on top of the API
Quick start
# Likely requires POST with wallet address (schema not confirmed)
curl -X POST https://agents.allium.so/api/v1/developer/wallet/pnl \
-H "Content-Type: application/json" \
-d '{"address": "0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045"}'Example
Request
{
"address": "0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045"
}Endpoint
Quality
The endpoint returned 405 on HEAD and GET, suggesting it is likely a POST endpoint but no 402 MPP challenge was captured. No OpenAPI schema, no documentation, no pricing, and no example responses are available. The listing is largely inferred from the landing page and endpoint path.
Warnings
- —Endpoint returned 405 on HEAD and GET — likely requires POST but no confirmed 402 challenge was captured
- —No OpenAPI or schema documentation found; request/response format is inferred
- —Pricing not documented — per-request cost in USDC is unknown
- —Docs page (agents.allium.so/docs) returns 404
- —Example request is speculative based on endpoint path naming convention
Citations
- —Allium indexes 150+ chains including EVM, Solana, and Bitcoinhttps://agents.allium.so
- —AgentHub supports x402 payment in USDC on Base or traditional API key authenticationhttps://agents.allium.so
- —Allium's data infrastructure is used by Phantom, Uniswap, and Coinbasehttps://agents.allium.so
- —Endpoint returned 405 on HEAD and GET probe attemptshttps://agents.allium.so/api/v1/developer/wallet/pnl