Get token-level PnL data for any wallet on Base via x402 micropayment.
What it does
This endpoint, hosted by Erudite Intelligence LLC on their EruditePay x402 Bridge, returns token-level profit-and-loss (PnL) data for a given wallet address and token on the Base network. It accepts a POST request with a JSON body containing an `address` (wallet or contract address) and a `token` (token address or symbol), and returns a JSON object with PnL analytics.
Payment is handled via the x402 protocol (HTTP 402 challenge). The endpoint accepts two payment options: USDC on Base (EIP-155:8453) or USDT on Tron, both at 10,000 base units — which equals $0.01 per call (6-decimal stablecoins). Settlement is facilitated through the EruditePay Bridge, which supports 20 blockchains and charges 0.5% per settlement. The Coinbase CDP facilitator is listed as an option for Base USDC payments.
The provider describes the service broadly as "Crypto data intelligence." Documentation beyond the x402 challenge schema and the Bridge landing page is sparse — the /docs path returns a 404, and no OpenAPI spec was found. The output schema example is minimal (`{"success": true, "data": {}}`), so the exact shape of the PnL response object is not documented. The provider is a FinCEN-registered MSB (BSA ID 31000324258137) operating a non-custodial settlement model.
Capabilities
Use cases
- —Calculate realized and unrealized PnL for a specific token held by a wallet on Base
- —Build portfolio dashboards that show per-token performance for any address
- —Automate trading bot decisions by querying token-level profitability
- —Audit wallet activity for tax reporting or compliance purposes
Fit
Best for
- —Agents or bots needing per-call crypto wallet analytics without API keys
- —Developers building Base-chain portfolio trackers
- —On-chain analysts who want programmatic PnL lookups at $0.01 per query
Not for
- —Multi-chain PnL aggregation across many networks in a single call
- —Historical time-series PnL charting (output schema unclear on granularity)
- —Users who need detailed documentation or guaranteed response schemas before integrating
Quick start
curl -X POST https://bridge.eruditepay.com/v1/base/wallet/token-pnl \
-H "Content-Type: application/json" \
-H "X-PAYMENT: <x402_payment_header>" \
-d '{"address": "0xYourWalletAddress", "token": "0xTokenContractAddress"}'Example
Request
{
"token": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"address": "0x1234567890abcdef1234567890abcdef12345678"
}Response
{
"data": {},
"success": true
}Endpoint
Quality
The endpoint is live (402 challenge captured) with a clear input schema and pricing, but the output schema is essentially a stub ({"data": {}}), no OpenAPI spec exists, and the /docs path 404s. The actual PnL data fields returned are unknown, making integration speculative.
Warnings
- —Output schema is a stub — the exact fields in the 'data' object are undocumented.
- —No OpenAPI or dedicated API documentation found (/docs returns 404).
- —Response structure must be discovered empirically; no guarantees on field stability.
Citations
- —Endpoint accepts USDC on Base (amount 10000, 6 decimals = $0.01) and USDT on Tron at the same price.https://bridge.eruditepay.com/v1/base/wallet/token-pnl
- —Provider is Erudite Intelligence LLC, FinCEN MSB registered, BSA ID 31000324258137.https://bridge.eruditepay.com
- —EruditePay Bridge supports 20 blockchains and charges 0.5% per settlement; verification is free.https://bridge.eruditepay.com
- —Coinbase CDP is listed as the facilitator for Base USDC payments.https://bridge.eruditepay.com/v1/base/wallet/token-pnl
- —Input schema requires 'address' (wallet or contract address) and 'token' (token address or symbol) fields.https://bridge.eruditepay.com/v1/base/wallet/token-pnl