# Wallet PnL `GET https://api.pumpfomo.com/v1/pump/users/{wallet}/pnl` A wallet's realized and unrealized PnL over a period, in SOL and USD, with holdings. pump.fun's portfolio summary for one wallet over 1 day, 1 week, 1 month or all time: total, realized and unrealized PnL (SOL and USD), percentage, buy spend, capital deployed, current value and the holdings behind it. - Cost: 5 credits (5 per call) - Access: read:pump - Reference: https://pumpfomo.com/docs/pump-user-pnl ## Parameters | Name | In | Type | Required | Notes | |---|---|---|---|---| | `wallet` | path | string | yes | Wallet address. A Solana address (base58, 32 bytes) or an EVM address (0x + 40 hex; matched case-insensitively). Example `Dtvoyzz9cQdJE1ztSrbZDJoxfY2b9JvBcu9Ki8assa14`. | | `period` | query | string | no | The window. One of `1d`, `1w`, `1m`, `all`. Default `1d`. Example `1w`. | ## Example ```bash curl -s "https://api.pumpfomo.com/v1/pump/users/4UrFSCrGxgoCtCUBAEZq7ZmPK3Pczkxx7PwYnkBMi1KR/pnl?period=1w" \ -H "Authorization: Bearer $PUMPFOMO_API_KEY" ``` Answer (200), shortened: ```json { "data": { "wallet": "4UrFSCrGxgoCtCUBAEZq7ZmPK3Pczkxx7PwYnkBMi1KR", "from": 1792364400, "to": 1792969830, "pnl": { "sol": 3215.277449182762, "usd": 306995.2796335165 }, "realizedPnl": { "sol": 21.680498422722785, "usd": 5362.138765104572 }, "unrealizedPnl": { "sol": 3193.5969507600394, "usd": 299883.43880041206 }, "percentage": { "sol": 31.832729963147926, "usd": 20.895476551882048 }, "totalBuySpend": { "sol": 21.688357536540135, "usd": 51396.6292409159 }, "heldOpenValue": { "sol": 10100.539453904898, "usd": 1402137.0152357067 }, "maxCapitalDeployed": { "sol": 10100.539453904898, "usd": 1434256.2131540517 }, "equityAtWindowStart": { "sol": null, "usd": null }, "missingPriceMints": [ "AD2jReKiurm1nv5ZTyQB8WVJPamANRTfawu9c5RZpump" ], "tokenCount": 121, "tradePercentage": { "sol": 31.832729963147926, "usd": 21.282499930347555 }, "totalValueUsd": 1775922.1602745028, "solPriceUsd": 101.45288555415773, "nativeBalanceSol": 5.560202675, "cache": { "filledAtMs": 1792969831782, "ttlSeconds": 60 }, "computedAt": 1792969831782, "evmAddress": "0xe48b6e0e9900d68ba93ac417d9e2ce911c52f753", "holdings": [ { "chain": "solana", "mint": "6GmAFSYs4gk3FDao5FzzySQpPZaWsa4rUJHacpMpUNgx", "amount": 9576542.881249025, "priceUsd": 0.13219053909169473, "valueUsd": 1265928.36610704, "marketCapUsd": 120539508.9640078, "markUsd": 0.13219053909169473, "markSource": "ps_mark", "computedPriceUsd": 0.13160704533701947, "contribUsd": 1260340.5131444517, "computedPlane": null, "repriced": true, "livePlane": "content_pairs" } ], "reprice": { "plane": "content_pairs", "mode": "fill", "asOf": 1792969831913, "depth": 25, "repricedRows": 23, "deltaTotalUsd": 13676.972042125586, "deltaPnlUsd": 1455.8340882408766, "tailValueUsd": null, "capSuspectUsd": 0, "unrepriced": [ { "mint": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v", "chain": "solana", "reason": "no_row", "contribUsd": 81671.741776 } ], "unrepricedUsd": 81691.37518682909, "amountSkew": [ { "mint": "6GmAFSYs4gk3FDao5FzzySQpPZaWsa4rUJHacpMpUNgx", "psAmount": 9576542.881249025, "ccAmount": 3705.1386026689997, "basis": "pnl_row" } ], "spamExcludedRows": 1, "pnlUncoveredUsd": { "1d": null, "1w": 294514.93885946233, "1m": null, "all": null }, "pnlPartial": { "1d": false, "1w": true, "1m": false, "all": false }, "reason": null }, "identity": { "solUsd": 564.0986056446967, "perpsUsd": 36688.407112000044, "evmNativeUsd": null, "psHiddenUsd": 4631418.140814471, "spamGroupedUsd": 5.18629144303523, "hiddenStablesUsd": null, "subCentUsd": 11.747284858738885, "rowsRemark": "The Open rows re-mark each amount from a live RPC balance and may drop or admit rows by membership verdict, so a header-vs-rows residual of …", "reasons": { "evmNativeUsd": "breakdown_absent", "hiddenStablesUsd": "not_in_ … (cut) ``` ## Errors | Status | Code | When | |---|---|---| | 400 | `invalid_param` | wallet is not an address; period not 1d\|1w\|1m\|all | | 404 | `not_found` | pump.fun has nothing for it (costs 1 credit) | | 503 | `upstream_busy` | the data is busy right now; retry in a few seconds (not charged) | | 503 | `upstream_unavailable` | pump.fun did not answer (not charged) | | 403 | `scope_missing` | the key lacks read:pump | | 429 | `rate_limited` | over the plan's rate (see Retry-After; not charged) | | 400 | `invalid_param` | pump.fun refused the parameters, e.g. a cursor that isn't the last page's nextCursor (not charged) |