Skip to content

Memecoins Wallet

Wallet PnL

What a wallet spent and got back on one coin: realised profit, open position, in SOL and USD.

GET /v1/memecoin/wallet/:wallet/pnl

Chains
on 4 chains; pick one with chain. The answer has the same shape on every one.
Price
Each call costs $0.003. Your first 100 priced calls each day are free, so you can try it before adding credits.
Freshness
The answer can be up to 30 s old; cached answers say so with cached: true.
Answer
Always { data, cost_usd, balance_usd, cached, request_id }.

Parameters

NameTypeRequiredWhat it isExample
walletpathstringyesThe wallet's address.AEjQP2gxyVrrtJqUw5dCoNLgfjXhoTreJY8sTKar6dPv
mintquerystringyesThe coin's mint address.8o9YbJHdhhpJgyPoWDRZBqvJkKCiKZYuVkW6Qpccpump
chainquerystringno, default solanaWhich chain: solana, ethereum, base, bsc, arbitrum, polygon, avalanche, optimism, hyperevm, monad, abstract, sonic, berachain, sei, linea, zksync, mantle, unichain, ronin, cronos, worldchain, scroll, celo, pulsechain, ink, soneium, metis, manta, katana, plasma, flowevm, kava, tron, sui, ton, aptos, near, starknet, xrpl, injective, hyperliquid, robinhood, elysium, arc, megaeth, fantom, opbnb, zora, mode, taiko, lisk, fraxtal, apechain, story, sophon, gnosis, core, xlayer, hedera, polygonzkevm, immutable, kaia, aurora, boba, shibarium, rootstock, bitlayer, merlin, etherlink, xrplevm, vana, bob, shape, beam, memecore, stable, tempo, stacks, cardano, stellar. Default solana.solana

Try it

A real call. Your first 100 priced calls a day are free; after that it costs the price above. Edit anything and run it.

chainquery
4 chains; type to search. Default solana. The answer has the same shape on every one.

Response

Example data (the answer sits inside the envelope)

{
  "data": {
    "wallet": "AEjQP2gxyVrrtJqUw5dCoNLgfjXhoTreJY8sTKar6dPv",
    "mint": "8o9YbJHdhhpJgyPoWDRZBqvJkKCiKZYuVkW6Qpccpump",
    "trades": 2,
    "bought_sol": 0.6153,
    "sold_sol": 1.3703,
    "realized_pnl_sol": 0.755,
    "realized_pnl_usd": 53.17,
    "tokens_held_by_trades": 0,
    "open_cost_sol": 0,
    "open_value_sol": 0,
    "unrealized_pnl_sol": 0,
    "transactions_read": 2,
    "fully_read": true,
    "method": "Average cost: each sale is matched against the average price paid for the tokens held at that moment. Transfers in or out are not trades and are ignored.",
    "source": "The wallet's own token account for this coin, read on chain; price from Jupiter."
  },
  "cost_usd": 0.003,
  "balance_usd": "…",
  "cached": false,
  "request_id": "req_…"
}

What the example answered when this page was built, shortened. Run it for a live answer.

Copy it

Runs as-is with your key in place of c2a_your_key. The MCP block gives an agent every endpoint in one server.

curl "https://api.crypto2api.com/v1/memecoin/wallet/AEjQP2gxyVrrtJqUw5dCoNLgfjXhoTreJY8sTKar6dPv/pnl?mint=8o9YbJHdhhpJgyPoWDRZBqvJkKCiKZYuVkW6Qpccpump&chain=solana" \
  -H "Authorization: Bearer c2a_your_key"