{
"success": false,
"message": "Too many requests"
}
{
"success": false,
"message": "Internal Server Error"
}
Usage Note
Accessibility
Chain Supported
Per-token wallet PnL.
Maximum number of tokens per request is 50.
Notes on data: trade data per protocol aren’t backfilled and might affect the calculation of PnL.
pnl_method supports netcash and wac so you can align the response with your accounting method.
meta:
address: wallet address.
currency: the currency in which PnL is calculated, such as USD.
tokens[<token_address>] includes counts, quantity, cashflow, PnL, and pricing blocks for each token.
Insights in the response:
counts:
total_buy: Total number of buy trades.
total_sell: Total number of sell trades.
total_trade: Combined total of buys and sells.
total_win: Total trades have profit. Only account for fully realized tokens.
total_loss: Total trades in loss. Only account for fully realized tokens.
win_rate: Winning rate. Only account for fully realized tokens.
cashflow_usd:
total_invested: USD spent on all buys.
total_sold: USD received from sales.
current_value: Current position value in USD.
pnl:
realized_profit_usd: Profit/loss from completed trades.
realized_profit_percent: % gain/loss relative to sold cost basis.
unrealized_usd: Profit/loss of current holdings (mark-to-market).
total_usd: Sum of realized + unrealized profit in USD.
avg_profit_per_trade_usd: Average profit/loss per trade.
Quantity fields are already normalized by token decimals.
Lite
Starter
Premium
Business
Enterprise
SVM ⛓️ ✨
EVM ⛓️ ✨
Compute Unit ⚙️
Batch CU is calculated as ceil(10 * wallet_count^0.5).
Use Cases 💡
Break a wallet’s PnL down token by token.
Identify which assets drove gains, losses, and current unrealized exposure.
Power wallet analytics views that need realized and unrealized PnL per holding.
How to Use 🛠️
Set the supported PnL chain in x-chain.
Pass the wallet address in wallet.
Pass up to 50 token addresses in token_addresses.
Set pnl_method explicitly when the output needs to match another reporting workflow or PnL view.
Read pricing, cashflow_usd, and pnl together to understand both execution and current exposure.
Best Practices ✅
Use this endpoint when you already know which token set you want to evaluate.
Compare current_value with total_invested and total_sold to separate realized outcomes from open positions.
Treat this endpoint as deprecated over time and prefer newer summary/detail flows where they better fit the product.
Authorizations
X-API-KEY
string
header
required
API key for authentication
Headers
x-chain
enum<string>
default:solana
The chain support PNL data.
Available options:
solana,
ethereum,
arbitrum,
avalanche,
bsc,
optimism,
polygon,
base,
zksync,
monad,
hyperevm,
mantle,
megaeth,
robinhood
Query Parameters
wallet
string
required
The wallet of the account.
token_addresses
string
required
List of token address.
pnl_method
enum<string>
default:net_cash
PNL calculation method. wac (Weighted Average Cost): calculates PNL for each sell against the average cost of the position held at the time of the sell. Buys only re-average the cost of the remaining inventory, and previously realized sell PNL is not affected by later trades. net_cash (Net Cash): calculates PNL across the full trade history using the spread between cumulative average sell price and cumulative average buy price. The buy average includes all buys and is not reduced by sells, so later buys can change the reported PNL.
Available options:
wac,
net_cash
Response
JSON object containing a wallet’s PnL per token
success
boolean
required
Whether the request succeeded.
data
object
required
Show child attributes
Was this page helpful?
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Birdeye Data","description":"Birdeye Data is a decision-grade data provider that delivers real-time, accurate on-chain data across tokens, wallets, trades, and protocols.","colors":{"primary":"#009661","light":"#00FFA3","dark":"#009661"},"logo":{"light":"https://mintcdn.com/birdeye/avRdMljk5iuSQU-x/images/verticalBlacklogotransparent.png?fit=max\u0026auto=format\u0026n=avRdMljk5iuSQU-x\u0026q=85\u0026s=66c9a20003a9b05e5f02f687c112b12f","dark":"https://mintcdn.com/birdeye/avRdMljk5iuSQU-x/images/verticalwhitelogotransparent.png?fit=max\u0026auto=format\u0026n=avRdMljk5iuSQU-x\u0026q=85\u0026s=0e1fb8061e7afdb2153a3d4bd79e55ea","href":"https://data.birdeye.so/docs/getting-started"},"favicon":{"light":"https://mintcdn.com/birdeye/URww_x_ElI0MfV9M/images/light-favicon.png?fit=max\u0026auto=format\u0026n=URww_x_ElI0MfV9M\u0026q=85\u0026s=e0f0b1f7f861054132348ba2c9a636e5","dark":"https://mintcdn.com/birdeye/URww_x_ElI0MfV9M/images/dark-favicon.png?fit=max\u0026auto=format\u0026n=URww_x_ElI0MfV9M\u0026q=85\u0026s=af2ad471f2115e37535813e28a147bea"},"api":{"playground":{"display":"interactive"},"examples":{"defaults":"all","languages":["curl","python","javascript"],"prefill":true}},"appearance":{"default":"system"},"background":{"decoration":"gradient"},"navbar":{"links":[{"href":"https://birdeye.so/data-api/blog","label":"Blog "},{"href":"https://birdeye.so/data-api","label":"Website "}],"primary":{"type":"button","label":"Go to Dashboard","href":"https://data.birdeye.so/user/account/billing?tab=overview"}},"footer":{"socials":{"linkedin":"https://www.linkedin.com/company/birdeyedata","x":"https://x.com/birdeye_data","youtube":"https://www.youtube.com/@birdeye_data"},"links":[{"header":"Product","items":[{"label":"Types of Data","href":"https://birdeye.so/data-api/types-of-data"},{"label":"Use Cases ","href":"https://data.birdeye.so/docs/use-cases/overview"},{"label":"Pricing ","href":"https://birdeye.so/data-api/pricing"},{"label":"Referral","href":"https://birdeye.so/data-api/referral"}]},{"header":"Company","items":[{"label":"Contact us","href":"https://birdeye.so/data-api/contact"},{"label":"Privacy Policy","href":"https://birdeye.so/data-api/privacy-policy"},{"label":"Terms \u0026 Conditions","href":"https://birdeye.so/data-api/terms-of-service"},{"label":"Disclaimers","href":"https://birdeye.so/data-api/disclaimer"}]},{"header":"Birdeye's Suite","items":[{"label":"Birdeye Terminal ","href":"https://birdeye.so/"},{"label":"Institutional Dashboard","href":"https://birdeye.so/peak"},{"label":"Research \u0026 Insights","href":"https://birdeye.so/research"}]}]},"seo":{"metatags":{"og:image":"https://data.birdeye.so/docs/images/Birdeye-Data-API-Docs.png","twitter:image":"https://data.birdeye.so/docs/images/Birdeye-Data-API-Docs.png"}},"fonts":{"heading":{"family":"Geist"},"body":{"family":"Geist"}},"icons":{"library":"fontawesome"},"integrations":{"ga4":{"measurementId":"G-RN1GQWESZC"}},"banner":{"content":"Birdeye Data Skills now Live for AI Agents. [Check it out!](https://birdeye.so/data-api/skills?utm_source=docs\u0026utm_medium=head\u0026utm_campaign=skillslaunch)","dismissible":true,"color":{"light":"#5A646F","dark":"#5A646F"}},"contextual":{"options":["chatgpt","claude","copy"],"display":"header"},"thumbnails":{"appearance":"dark","fonts":{"family":"Geist"}},"interaction":{"drilldown":false},"styling":{"latex":true},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"birdeye","hasAudioNarration":false,"actualSubdomain":"birdeye","customDomains":["data.birdeye.so"],"gitSource":{"type":"github","owner":"dangquocdat97","repo":"bds-docs-mintlify","deployBranch":"master","contentDirectory":"","isPrivate":true,"mountPath":"","label":"","_id":"6b10ca759ffae5051c408b37"},"feedback":{"agentFeedback":true,"thumbs":true},"entitlements":{},"buildId":"6b113260bc251608b3674980","clientVersion":"0.0.4458","searchFilterCounts":[{"language":"default","tag":"Changelog","count":214},{"language":"default","tag":"API Reference","count":125},{"language":"default","tag":"Birdeye Data API","count":115},{"language":"default","tag":"Welcome","count":37},{"language":"default","tag":"Use Cases","count":30},{"language":"default","tag":"Guides","count":22},{"language":"default","tag":"WebSockets","count":22},{"language":"default","tag":"Price \u0026 OHLCV","count":18},{"language":"default","tag":"Wallet, Networth \u0026 PnL","count":18},{"language":"default","tag":"Stats \u0026 Market Data","count":14}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"/docs","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"auth-vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":true},"customCss":[]}
{"page":{"pagePath":"data-api/wallet-networth-pnl/get-wallet-v2-pnl","slug":"/data-api/wallet-networth-pnl/get-wallet-v2-pnl","pageMetadata":{"title":"Wallet - PnL (Per Token)","description":"Retrieve all-time trading, holdings, cash flow, PnL, and pricing metrics for each specified token in a given wallet.","hidden":false,"metadata":{"title":"Birdeye Data API | Wallet - PnL (Per Token)","description":"Retrieve all-time trading, holdings, cash flow, PnL, and pricing metrics for each specified token in a given wallet.","keywords":["blockchain","data","crypto","trading","birdeye","defi","dex"],"robots":"index"},"openapi":"openapi/data/openapi_docs.json GET /wallet/v2/pnl","keywords":["PnL per token","token profit","wallet token PnL"],"href":"/data-api/wallet-networth-pnl/get-wallet-v2-pnl","hiddenSetByFrontmatter":true},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Retrieve all-time trading, holdings, cash flow, PnL, and pricing metrics for each specified token in a given wallet.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const{Accordion,Tab,Tabs}={..._provideComponents(),...props.components};if(!Accordion)_missingMdxReference(`Accordion`,true);if(!Tab)_missingMdxReference(`Tab`,true);if(!Tabs)_missingMdxReference(`Tabs`,true);return _jsxs(_Fragment,{children:[_jsxs(Tabs,{children:[_jsxs(Tab,{title:`Usage Note`,id:`usage-note`,children:[_jsx(`p`,{children:_jsx(`strong`,{children:`Per-token wallet PnL.`})}),_jsxs(`ul`,{children:[_jsxs(`li`,{children:[`Maximum number of tokens per request is `,_jsx(`code`,{children:`50`}),`.`]}),_jsx(`li`,{children:`Notes on data: trade data per protocol aren’t backfilled and might affect the calculation of PnL.`}),_jsxs(`li`,{children:[_jsx(`code`,{children:`pnl_method`}),` supports `,_jsx(`code`,{children:`netcash`}),` and `,_jsx(`code`,{children:`wac`}),` so you can align the response with your accounting method.`]}),_jsxs(`li`,{children:[_jsx(`code`,{children:`meta`}),`:`]}),_jsxs(`li`,{children:[_jsx(`code`,{children:`address`}),`: wallet address.`]}),_jsxs(`li`,{children:[_jsx(`code`,{children:`currency`}),`: the currency in which PnL is calculated, such as USD.`]}),_jsxs(`li`,{children:[_jsx(`code`,{children:`tokens[\u003ctoken_address>]`}),` includes counts, quantity, cashflow, PnL, and pricing blocks for each token.`]}),_jsx(`li`,{children:`Insights in the response:`}),_jsxs(`li`,{children:[_jsx(`code`,{children:`counts`}),`:`]}),_jsxs(`li`,{children:[_jsx(`code`,{children:`total_buy`}),`: Total number of buy trades.`]}),_jsxs(`li`,{children:[_jsx(`code`,{children:`total_sell`}),`: Total number of sell trades.`]}),_jsxs(`li`,{children:[_jsx(`code`,{children:`total_trade`}),`: Combined total of buys and sells.`]}),_jsxs(`li`,{children:[_jsx(`code`,{children:`total_win`}),`: Total trades have profit. Only account for fully realized tokens.`]}),_jsxs(`li`,{children:[_jsx(`code`,{children:`total_loss`}),`: Total trades in loss. Only account for fully realized tokens.`]}),_jsxs(`li`,{children:[_jsx(`code`,{children:`win_rate`}),`: Winning rate. Only account for fully realized tokens.`]}),_jsxs(`li`,{children:[_jsx(`code`,{children:`cashflow_usd`}),`:`]}),_jsxs(`li`,{children:[_jsx(`code`,{children:`total_invested`}),`: USD spent on all buys.`]}),_jsxs(`li`,{children:[_jsx(`code`,{children:`total_sold`}),`: USD received from sales.`]}),_jsxs(`li`,{children:[_jsx(`code`,{children:`current_value`}),`: Current position value in USD.`]}),_jsxs(`li`,{children:[_jsx(`code`,{children:`pnl`}),`:`]}),_jsxs(`li`,{children:[_jsx(`code`,{children:`realized_profit_usd`}),`: Profit/loss from completed trades.`]}),_jsxs(`li`,{children:[_jsx(`code`,{children:`realized_profit_percent`}),`: % gain/loss relative to sold cost basis.`]}),_jsxs(`li`,{children:[_jsx(`code`,{children:`unrealized_usd`}),`: Profit/loss of current holdings (mark-to-market).`]}),_jsxs(`li`,{children:[_jsx(`code`,{children:`total_usd`}),`: Sum of realized + unrealized profit in USD.`]}),_jsxs(`li`,{children:[_jsx(`code`,{children:`avg_profit_per_trade_usd`}),`: Average profit/loss per trade.`]}),_jsx(`li`,{children:`Quantity fields are already normalized by token decimals.`})]})]}),_jsx(Tab,{title:`Accessibility`,id:`accessibility`,children:_jsxs(`ul`,{children:[_jsx(`li`,{children:`Lite`}),_jsx(`li`,{children:`Starter`}),_jsx(`li`,{children:`Premium`}),_jsx(`li`,{children:`Business`}),_jsx(`li`,{children:`Enterprise`})]})}),_jsxs(Tab,{title:`Chain Supported`,id:`chain-supported`,children:[_jsx(`p`,{children:_jsx(`strong`,{children:`SVM ⛓️ ✨`})}),_jsx(`p`,{children:_jsx(`strong`,{children:`EVM ⛓️ ✨`})})]})]}),`\n`,_jsx(Accordion,{title:`Compute Unit ⚙️`,icon:`fa-gauge-high`,id:`compute-unit`,children:_jsx(`ul`,{children:_jsxs(`li`,{children:[`Batch CU is calculated as `,_jsx(`code`,{children:`ceil(10 * wallet_count^0.5)`}),`.`]})})}),`\n`,_jsx(Accordion,{title:`Use Cases 💡`,icon:`fa-lightbulb`,id:`use-cases`,children:_jsxs(`ul`,{children:[_jsx(`li`,{children:`Break a wallet’s PnL down token by token.`}),_jsx(`li`,{children:`Identify which assets drove gains, losses, and current unrealized exposure.`}),_jsx(`li`,{children:`Power wallet analytics views that need realized and unrealized PnL per holding.`})]})}),`\n`,_jsx(Accordion,{title:`How to Use 🛠️`,icon:`fa-book-open`,id:`how-to-use`,children:_jsxs(`ul`,{children:[_jsxs(`li`,{children:[`Set the supported PnL chain in `,_jsx(`code`,{children:`x-chain`}),`.`]}),_jsxs(`li`,{children:[`Pass the wallet address in `,_jsx(`code`,{children:`wallet`}),`.`]}),_jsxs(`li`,{children:[`Pass up to `,_jsx(`code`,{children:`50`}),` token addresses in `,_jsx(`code`,{children:`token_addresses`}),`.`]}),_jsxs(`li`,{children:[`Set `,_jsx(`code`,{children:`pnl_method`}),` explicitly when the output needs to match another reporting workflow or PnL view.`]}),_jsxs(`li`,{children:[`Read `,_jsx(`code`,{children:`pricing`}),`, `,_jsx(`code`,{children:`cashflow_usd`}),`, and `,_jsx(`code`,{children:`pnl`}),` together to understand both execution and current exposure.`]})]})}),`\n`,_jsx(Accordion,{title:`Best Practices ✅`,icon:`fa-check-circle`,id:`best-practices`,children:_jsxs(`ul`,{children:[_jsx(`li`,{children:`Use this endpoint when you already know which token set you want to evaluate.`}),_jsxs(`li`,{children:[`Compare `,_jsx(`code`,{children:`current_value`}),` with `,_jsx(`code`,{children:`total_invested`}),` and `,_jsx(`code`,{children:`total_sold`}),` to separate realized outcomes from open positions.`]}),_jsx(`li`,{children:`Treat this endpoint as deprecated over time and prefer newer summary/detail flows where they better fit the product.`})]})}),`\n`,_jsx(`br`,{})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Wallet - PnL (Per Token)","description":"Retrieve all-time trading, holdings, cash flow, PnL, and pricing metrics for each specified token in a given wallet.","hidden":false,"metadata":{"title":"Birdeye Data API | Wallet - PnL (Per Token)","description":"Retrieve all-time trading, holdings, cash flow, PnL, and pricing metrics for each specified token in a given wallet.","keywords":["blockchain","data","crypto","trading","birdeye","defi","dex"],"robots":"index"},"openapi":"openapi/data/openapi_docs.json GET /wallet/v2/pnl","keywords":["PnL per token","token profit","wallet token PnL"],"href":"/data-api/wallet-networth-pnl/get-wallet-v2-pnl","hiddenSetByFrontmatter":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"x-metadata":{"released_at":1756252800,"new":true},"tags":["Wallet, Networth \u0026 PnL"],"summary":"Wallet - PnL (Per Token)","description":"Retrieve all-time trading, holdings, cash flow, PnL, and pricing metrics for each specified token in a given wallet.","deprecated":true,"parameters":["4e3d3e19-11f8-4b56-86c8-9d49342451c5","444632df-c7d5-4816-8804-3a0efde8835c","e97d4f76-2e15-4979-81ae-7759ddd6a11d","4fc34a15-c5e5-498b-b249-af60c5988c5b"],"responses":{"200":"a3fc5328-249c-45bc-8cce-ef4e95c7735f","400":"18e5404e-f559-4e77-8d66-68b7f6f0c21d","401":"720364b1-ef1a-45d5-b5d3-a577bddd01c1","403":"46c6221d-4bc4-4deb-ae41-7649edcd888d","429":"5a245952-e00d-4d87-a49e-aae6890a2eb4","500":"cd0f76f7-12da-4fab-b570-2f8b692b1455"},"operationId":"get-wallet-v2-pnl","x-mint":{"href":"/data-api/wallet-networth-pnl/get-wallet-v2-pnl"},"method":"get","type":"path","servers":["a29633aa-fb1b-4a82-9c96-c50c6bdd3087"],"security":["2942e092-189e-477f-bd4b-347ef1cd95ad"],"path":"/wallet/v2/pnl","baseUrlOptions":["https://public-api.birdeye.so"],"title":"Wallet - PnL (Per Token)","codeSamples":[],"requestExampleLanguages":["bash","python","javascript"],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated","prefillPlaygroundWithExample":true,"prefillPlaygroundExamples":[]},"dependencies":{"parameters":{"4e3d3e19-11f8-4b56-86c8-9d49342451c5":{"name":"x-chain","description":"The chain support PNL data.","in":"header","required":false,"schema":{"type":"string","enum":["solana","ethereum","arbitrum","avalanche","bsc","optimism","polygon","base","zksync","monad","hyperevm","mantle","megaeth","robinhood"],"default":"solana","isRequired":false,"description":"The chain support PNL data.","uniqueKey":"","typeLabel":"enum\u003cstring>"}},"444632df-c7d5-4816-8804-3a0efde8835c":{"name":"wallet","description":"The wallet of the account.","in":"query","required":true,"schema":{"type":"string","isRequired":true,"description":"The wallet of the account.","uniqueKey":"","typeLabel":"string"},"examples":{"solana":{"value":"eJpBLoF3bgXpzjxqJRAvMchjEo4EqdAmiQh3ASmEtZT"}}},"e97d4f76-2e15-4979-81ae-7759ddd6a11d":{"name":"token_addresses","description":"List of token address.","in":"query","required":true,"schema":{"type":"string","isRequired":true,"description":"List of token address.","uniqueKey":"","typeLabel":"string"},"examples":{"solana":{"value":"pumpsAkNcb1nZs89Uees3DyRzUGxjqThuzF3A8LVVfn,So11111111111111111111111111111111111111112"}}},"4fc34a15-c5e5-498b-b249-af60c5988c5b":{"name":"pnl_method","description":"PNL calculation method. `wac` (Weighted Average Cost): calculates PNL for each sell against the average cost of the position held at the time of the sell. Buys only re-average the cost of the remaining inventory, and previously realized sell PNL is not affected by later trades. `net_cash` (Net Cash): calculates PNL across the full trade history using the spread between cumulative average sell price and cumulative average buy price. The buy average includes all buys and is not reduced by sells, so later buys can change the reported PNL.","in":"query","required":false,"schema":{"type":"string","enum":["wac","net_cash"],"default":"net_cash","isRequired":false,"description":"PNL calculation method. `wac` (Weighted Average Cost): calculates PNL for each sell against the average cost of the position held at the time of the sell. Buys only re-average the cost of the remaining inventory, and previously realized sell PNL is not affected by later trades. `net_cash` (Net Cash): calculates PNL across the full trade history using the spread between cumulative average sell price and cumulative average buy price. The buy average includes all buys and is not reduced by sells, so later buys can change the reported PNL.","uniqueKey":"","typeLabel":"enum\u003cstring>"},"example":"net_cash"}},"responses":{"a3fc5328-249c-45bc-8cce-ef4e95c7735f":{"description":"JSON object containing a wallet’s PnL per token","content":{"application/json":{"schema":{"type":"object","required":["success","data"],"properties":{"success":{"type":"boolean","description":"Whether the request succeeded.","isRequired":true,"uniqueKey":"success","typeLabel":"boolean"},"data":{"type":"object","properties":{"meta":{"type":"object","description":"Resolved wallet and valuation context for the response.","properties":{"address":{"type":"string","description":"Wallet address whose PnL was requested.","uniqueKey":"data.meta.address","typeLabel":"string"},"currency":{"type":"string","description":"Display currency used for valuation.","uniqueKey":"data.meta.currency","typeLabel":"string"},"holding_check":{"type":"boolean","description":"Whether current holdings were included in the PnL calculation.","uniqueKey":"data.meta.holding_check","typeLabel":"boolean"},"time":{"type":"string","description":"Timestamp of the PnL snapshot.","uniqueKey":"data.meta.time","typeLabel":"string"}},"uniqueKey":"data.meta","typeLabel":"object"},"tokens":{"type":"object","description":"Map keyed by token address to per-token PnL details.","additionalProperties":{"type":"object","additionalProperties":true,"description":"Per-token PnL, position, and trading metrics for one wallet-token pair.","properties":{"symbol":{"type":"string","description":"Token symbol.","uniqueKey":"data.tokens.additionalProperties.symbol","typeLabel":"string"},"decimals":{"type":"integer","description":"Number of token decimals.","uniqueKey":"data.tokens.additionalProperties.decimals","typeLabel":"integer"},"address":{"type":"string","description":"Token mint or contract address.","uniqueKey":"data.tokens.additionalProperties.address","typeLabel":"string"},"counts":{"type":"object","additionalProperties":true,"properties":{"total_buy":{"oneOf":[{"type":"number","description":"Total number of buy trades.","uniqueKey":"data.tokens.additionalProperties.counts.total_buy.oneOf.0","typeLabel":"number"},{"type":"string","description":"Total number of buy trades.","uniqueKey":"data.tokens.additionalProperties.counts.total_buy.oneOf.1","typeLabel":"string"}],"uniqueKey":"data.tokens.additionalProperties.counts.total_buy","typeLabel":"number | string"},"total_sell":{"oneOf":[{"type":"number","description":"Total number of sell trades.","uniqueKey":"data.tokens.additionalProperties.counts.total_sell.oneOf.0","typeLabel":"number"},{"type":"string","description":"Total number of sell trades.","uniqueKey":"data.tokens.additionalProperties.counts.total_sell.oneOf.1","typeLabel":"string"}],"uniqueKey":"data.tokens.additionalProperties.counts.total_sell","typeLabel":"number | string"},"total_trade":{"oneOf":[{"type":"number","description":"Combined total number of buy and sell trades.","uniqueKey":"data.tokens.additionalProperties.counts.total_trade.oneOf.0","typeLabel":"number"},{"type":"string","description":"Combined total number of buy and sell trades.","uniqueKey":"data.tokens.additionalProperties.counts.total_trade.oneOf.1","typeLabel":"string"}],"uniqueKey":"data.tokens.additionalProperties.counts.total_trade","typeLabel":"number | string"},"total_win":{"oneOf":[{"type":"number","description":"Number of realized winning trades or tokens.","uniqueKey":"data.tokens.additionalProperties.counts.total_win.oneOf.0","typeLabel":"number"},{"type":"string","description":"Number of realized winning trades or tokens.","uniqueKey":"data.tokens.additionalProperties.counts.total_win.oneOf.1","typeLabel":"string"}],"uniqueKey":"data.tokens.additionalProperties.counts.total_win","typeLabel":"number | string"},"total_loss":{"oneOf":[{"type":"number","description":"Number of realized losing trades or tokens.","uniqueKey":"data.tokens.additionalProperties.counts.total_loss.oneOf.0","typeLabel":"number"},{"type":"string","description":"Number of realized losing trades or tokens.","uniqueKey":"data.tokens.additionalProperties.counts.total_loss.oneOf.1","typeLabel":"string"}],"uniqueKey":"data.tokens.additionalProperties.counts.total_loss","typeLabel":"number | string"},"win_rate":{"oneOf":[{"type":"number","description":"Winning rate across realized trades or tokens.","uniqueKey":"data.tokens.additionalProperties.counts.win_rate.oneOf.0","typeLabel":"number"},{"type":"string","description":"Winning rate across realized trades or tokens.","uniqueKey":"data.tokens.additionalProperties.counts.win_rate.oneOf.1","typeLabel":"string"}],"uniqueKey":"data.tokens.additionalProperties.counts.win_rate","typeLabel":"number | string"}},"uniqueKey":"data.tokens.additionalProperties.counts","typeLabel":"object"},"quantity":{"type":"object","additionalProperties":true,"properties":{"total_bought_amount":{"oneOf":[{"type":"number","description":"Total token quantity bought.","uniqueKey":"data.tokens.additionalProperties.quantity.total_bought_amount.oneOf.0","typeLabel":"number"},{"type":"string","description":"Total token quantity bought.","uniqueKey":"data.tokens.additionalProperties.quantity.total_bought_amount.oneOf.1","typeLabel":"string"}],"uniqueKey":"data.tokens.additionalProperties.quantity.total_bought_amount","typeLabel":"number | string"},"total_sold_amount":{"oneOf":[{"type":"number","description":"Total token quantity sold.","uniqueKey":"data.tokens.additionalProperties.quantity.total_sold_amount.oneOf.0","typeLabel":"number"},{"type":"string","description":"Total token quantity sold.","uniqueKey":"data.tokens.additionalProperties.quantity.total_sold_amount.oneOf.1","typeLabel":"string"}],"uniqueKey":"data.tokens.additionalProperties.quantity.total_sold_amount","typeLabel":"number | string"},"holding":{"oneOf":[{"type":"number","description":"Current token quantity still held.","uniqueKey":"data.tokens.additionalProperties.quantity.holding.oneOf.0","typeLabel":"number"},{"type":"string","description":"Current token quantity still held.","uniqueKey":"data.tokens.additionalProperties.quantity.holding.oneOf.1","typeLabel":"string"}],"uniqueKey":"data.tokens.additionalProperties.quantity.holding","typeLabel":"number | string"}},"uniqueKey":"data.tokens.additionalProperties.quantity","typeLabel":"object"},"cashflow_usd":{"type":"object","additionalProperties":true,"properties":{"cost_of_quantity_sold":{"oneOf":[{"type":"number","description":"Cost basis in USD for the quantity that has been sold.","uniqueKey":"data.tokens.additionalProperties.cashflow_usd.cost_of_quantity_sold.oneOf.0","typeLabel":"number"},{"type":"string","description":"Cost basis in USD for the quantity that has been sold.","uniqueKey":"data.tokens.additionalProperties.cashflow_usd.cost_of_quantity_sold.oneOf.1","typeLabel":"string"}],"uniqueKey":"data.tokens.additionalProperties.cashflow_usd.cost_of_quantity_sold","typeLabel":"number | string"},"total_invested":{"oneOf":[{"type":"number","description":"Total USD spent on buys.","uniqueKey":"data.tokens.additionalProperties.cashflow_usd.total_invested.oneOf.0","typeLabel":"number"},{"type":"string","description":"Total USD spent on buys.","uniqueKey":"data.tokens.additionalProperties.cashflow_usd.total_invested.oneOf.1","typeLabel":"string"}],"uniqueKey":"data.tokens.additionalProperties.cashflow_usd.total_invested","typeLabel":"number | string"},"total_sold":{"oneOf":[{"type":"number","description":"Total USD received from sells.","uniqueKey":"data.tokens.additionalProperties.cashflow_usd.total_sold.oneOf.0","typeLabel":"number"},{"type":"string","description":"Total USD received from sells.","uniqueKey":"data.tokens.additionalProperties.cashflow_usd.total_sold.oneOf.1","typeLabel":"string"}],"uniqueKey":"data.tokens.additionalProperties.cashflow_usd.total_sold","typeLabel":"number | string"},"current_value":{"oneOf":[{"type":"number","description":"Current USD market value of the remaining position.","uniqueKey":"data.tokens.additionalProperties.cashflow_usd.current_value.oneOf.0","typeLabel":"number"},{"type":"string","description":"Current USD market value of the remaining position.","uniqueKey":"data.tokens.additionalProperties.cashflow_usd.current_value.oneOf.1","typeLabel":"string"}],"uniqueKey":"data.tokens.additionalProperties.cashflow_usd.current_value","typeLabel":"number | string"}},"uniqueKey":"data.tokens.additionalProperties.cashflow_usd","typeLabel":"object"},"pnl":{"type":"object","additionalProperties":true,"properties":{"realized_profit_usd":{"oneOf":[{"type":"number","description":"Realized profit and loss in USD.","uniqueKey":"data.tokens.additionalProperties.pnl.realized_profit_usd.oneOf.0","typeLabel":"number"},{"type":"string","description":"Realized profit and loss in USD.","uniqueKey":"data.tokens.additionalProperties.pnl.realized_profit_usd.oneOf.1","typeLabel":"string"}],"uniqueKey":"data.tokens.additionalProperties.pnl.realized_profit_usd","typeLabel":"number | string"},"realized_profit_percent":{"oneOf":[{"type":"number","description":"Realized profit and loss percentage relative to sold cost basis.","uniqueKey":"data.tokens.additionalProperties.pnl.realized_profit_percent.oneOf.0","typeLabel":"number"},{"type":"string","description":"Realized profit and loss percentage relative to sold cost basis.","uniqueKey":"data.tokens.additionalProperties.pnl.realized_profit_percent.oneOf.1","typeLabel":"string"}],"uniqueKey":"data.tokens.additionalProperties.pnl.realized_profit_percent","typeLabel":"number | string"},"unrealized_usd":{"oneOf":[{"type":"number","description":"Unrealized mark-to-market profit and loss in USD.","uniqueKey":"data.tokens.additionalProperties.pnl.unrealized_usd.oneOf.0","typeLabel":"number"},{"type":"string","description":"Unrealized mark-to-market profit and loss in USD.","uniqueKey":"data.tokens.additionalProperties.pnl.unrealized_usd.oneOf.1","typeLabel":"string"}],"uniqueKey":"data.tokens.additionalProperties.pnl.unrealized_usd","typeLabel":"number | string"},"unrealized_percent":{"oneOf":[{"type":"number","description":"Unrealized mark-to-market profit and loss percentage.","uniqueKey":"data.tokens.additionalProperties.pnl.unrealized_percent.oneOf.0","typeLabel":"number"},{"type":"string","description":"Unrealized mark-to-market profit and loss percentage.","uniqueKey":"data.tokens.additionalProperties.pnl.unrealized_percent.oneOf.1","typeLabel":"string"}],"uniqueKey":"data.tokens.additionalProperties.pnl.unrealized_percent","typeLabel":"number | string"},"total_usd":{"oneOf":[{"type":"number","description":"Combined realized and unrealized profit and loss in USD.","uniqueKey":"data.tokens.additionalProperties.pnl.total_usd.oneOf.0","typeLabel":"number"},{"type":"string","description":"Combined realized and unrealized profit and loss in USD.","uniqueKey":"data.tokens.additionalProperties.pnl.total_usd.oneOf.1","typeLabel":"string"}],"uniqueKey":"data.tokens.additionalProperties.pnl.total_usd","typeLabel":"number | string"},"total_percent":{"oneOf":[{"type":"number","description":"Combined realized and unrealized profit and loss percentage.","uniqueKey":"data.tokens.additionalProperties.pnl.total_percent.oneOf.0","typeLabel":"number"},{"type":"string","description":"Combined realized and unrealized profit and loss percentage.","uniqueKey":"data.tokens.additionalProperties.pnl.total_percent.oneOf.1","typeLabel":"string"}],"uniqueKey":"data.tokens.additionalProperties.pnl.total_percent","typeLabel":"number | string"},"avg_profit_per_trade_usd":{"oneOf":[{"type":"number","description":"Average profit and loss per trade in USD.","uniqueKey":"data.tokens.additionalProperties.pnl.avg_profit_per_trade_usd.oneOf.0","typeLabel":"number"},{"type":"string","description":"Average profit and loss per trade in USD.","uniqueKey":"data.tokens.additionalProperties.pnl.avg_profit_per_trade_usd.oneOf.1","typeLabel":"string"}],"uniqueKey":"data.tokens.additionalProperties.pnl.avg_profit_per_trade_usd","typeLabel":"number | string"}},"uniqueKey":"data.tokens.additionalProperties.pnl","typeLabel":"object"},"pricing":{"type":"object","additionalProperties":true,"properties":{"current_price":{"oneOf":[{"type":"number","description":"Current indexed token price in USD.","uniqueKey":"data.tokens.additionalProperties.pricing.current_price.oneOf.0","typeLabel":"number"},{"type":"null","description":"Current indexed token price in USD.","uniqueKey":"data.tokens.additionalProperties.pricing.current_price.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.tokens.additionalProperties.pricing.current_price","typeLabel":"number | null"},"avg_buy_cost":{"oneOf":[{"type":"number","description":"Average buy cost per token in USD.","uniqueKey":"data.tokens.additionalProperties.pricing.avg_buy_cost.oneOf.0","typeLabel":"number"},{"type":"null","description":"Average buy cost per token in USD.","uniqueKey":"data.tokens.additionalProperties.pricing.avg_buy_cost.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.tokens.additionalProperties.pricing.avg_buy_cost","typeLabel":"number | null"},"avg_sell_cost":{"oneOf":[{"type":"number","description":"Average sell price per token in USD.","uniqueKey":"data.tokens.additionalProperties.pricing.avg_sell_cost.oneOf.0","typeLabel":"number"},{"type":"null","description":"Average sell price per token in USD.","uniqueKey":"data.tokens.additionalProperties.pricing.avg_sell_cost.oneOf.1","typeLabel":"null"}],"uniqueKey":"data.tokens.additionalProperties.pricing.avg_sell_cost","typeLabel":"number | null"}},"uniqueKey":"data.tokens.additionalProperties.pricing","typeLabel":"object"}},"uniqueKey":"data.tokens.additionalProperties","typeLabel":"object"},"uniqueKey":"data.tokens","typeLabel":"object"}},"isRequired":true,"uniqueKey":"data","typeLabel":"object"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Solana":{"title":"Solana","value":{"success":true,"data":{"meta":{"address":"4mwReoK1x668B6KuuSAbGm2tUQULSTHGgTpCa2jUMXtD","currency":"usd","holding_check":false,"time":"2025-08-27T14:06:48.987054346Z"},"tokens":{"So11111111111111111111111111111111111111112":{"symbol":"SOL","decimals":9,"counts":{"total_buy":236570,"total_sell":236570,"total_trade":473140},"quantity":{"total_bought_amount":12092390.76837637,"total_sold_amount":0.00047313999999776897,"holding":0},"cashflow_usd":{"cost_of_quantity_sold":0.07608073802599198,"total_invested":1944451989.1810136,"total_sold":0.07602689546632857,"current_value":0},"pnl":{"realized_profit_usd":-0.00005384255966340998,"realized_profit_percent":-0.0707702909572399,"unrealized_usd":523529777.302561,"unrealized_percent":26.92428407777512,"total_usd":523529777.30250716,"total_percent":26.92428407671888,"avg_profit_per_trade_usd":-2.275967352724774e-10},"pricing":{"current_price":204.09378209627866,"avg_buy_cost":160.79963229984938,"avg_sell_cost":160.6858339322126}},"pumpsAkNcb1nZs89Uees3DyRzUGxjqThuzF3A8LVVfn":{"symbol":"PUMP","decimals":9,"counts":{"total_buy":236570,"total_sell":236570,"total_trade":473140},"quantity":{"total_bought_amount":1.9012623099995465,"total_sold_amount":128820503932.7875,"holding":880839335.5814558},"cashflow_usd":{"cost_of_quantity_sold":5151221341.162621,"total_invested":0.07602689546632857,"total_sold":1944451989.1810136,"current_value":7.5417466875590655},"pnl":{"realized_profit_usd":-0.04732872112474718,"realized_profit_percent":-62.25260262759055,"unrealized_usd":0,"unrealized_percent":0,"total_usd":-0.04732872112474718,"total_percent":-62.25260262759055,"avg_profit_per_trade_usd":-2.0006222735235735e-7},"pricing":{"current_price":8.562000336395786e-9,"avg_buy_cost":0.03998758880690519,"avg_sell_cost":0.015094274046587626}}}}}}},"exampleType":"examples"}},"exampleType":"examples"},"18e5404e-f559-4e77-8d66-68b7f6f0c21d":{"description":"Bad Request","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","uniqueKey":"success","typeLabel":"boolean"},"message":{"type":"string","uniqueKey":"message","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"example":{"success":false,"message":"Bad request"},"examples":{"Example":{"title":"Example","value":{"success":false,"message":"Bad request"}}},"exampleType":"examples"}},"exampleType":"examples"},"720364b1-ef1a-45d5-b5d3-a577bddd01c1":{"description":"Unauthorized. API key is missing or invalid","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","uniqueKey":"success","typeLabel":"boolean"},"message":{"type":"string","uniqueKey":"message","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"example":{"success":false,"message":"Unauthorized"},"examples":{"Example":{"title":"Example","value":{"success":false,"message":"Unauthorized"}}},"exampleType":"examples"}},"exampleType":"examples"},"46c6221d-4bc4-4deb-ae41-7649edcd888d":{"description":"Forbidden. Request is blacklisted or not whitelisted","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","uniqueKey":"success","typeLabel":"boolean"},"message":{"type":"string","uniqueKey":"message","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"example":{"success":false,"message":"Access Denied"},"examples":{"Example":{"title":"Example","value":{"success":false,"message":"Access Denied"}}},"exampleType":"examples"}},"exampleType":"examples"},"5a245952-e00d-4d87-a49e-aae6890a2eb4":{"description":"Too Many Requests. Rate limit reached","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","uniqueKey":"success","typeLabel":"boolean"},"message":{"type":"string","uniqueKey":"message","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"example":{"success":false,"message":"Too many requests"},"examples":{"Example":{"title":"Example","value":{"success":false,"message":"Too many requests"}}},"exampleType":"examples"}},"exampleType":"examples"},"cd0f76f7-12da-4fab-b570-2f8b692b1455":{"description":"Internal Server Error","content":{"application/json":{"schema":{"type":"object","properties":{"success":{"type":"boolean","uniqueKey":"success","typeLabel":"boolean"},"message":{"type":"string","uniqueKey":"message","typeLabel":"string"}},"uniqueKey":"","typeLabel":"object"},"example":{"success":false,"message":"Internal Server Error"},"examples":{"Example":{"title":"Example","value":{"success":false,"message":"Internal Server Error"}}},"exampleType":"examples"}},"exampleType":"examples"}},"security":{"2942e092-189e-477f-bd4b-347ef1cd95ad":{"apiKeyAuth":{"type":"apiKey","in":"header","name":"X-API-KEY","description":"API key for authentication","scopes":[],"schemeName":"apiKeyAuth"}}},"servers":{"a29633aa-fb1b-4a82-9c96-c50c6bdd3087":{"url":"https://public-api.birdeye.so"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"apiKey","in":"header","name":"X-API-KEY","description":"API key for authentication","scopes":[],"schemeName":"apiKeyAuth"},"schema":{"title":"X-API-KEY","type":"string","description":"API key for authentication","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"apiKeyAuth","name":"X-API-KEY"}],"title":"apiKeyAuth"}]},"originalFileLocation":"openapi/data/openapi_docs.json"},"subdomain":"birdeye","siteName":"Birdeye Data","title":"Wallet - PnL (Per Token) - Birdeye Data","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-12-01T07:51:02.618Z","originalFileLocation":"data-api/wallet-networth-pnl/get-wallet-v2-pnl.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Retrieve all-time trading, holdings, cash flow, PnL, and pricing metrics for each specified token in a given wallet.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Birdeye Data\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/birdeye/8d_GaeRlUKE10QqE/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/docs/mintlify-assets/_mintlify/favicons/birdeye/8d_GaeRlUKE10QqE/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/birdeye/8d_GaeRlUKE10QqE/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/birdeye/8d_GaeRlUKE10QqE/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/birdeye/8d_GaeRlUKE10QqE/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/birdeye/8d_GaeRlUKE10QqE/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/birdeye/8d_GaeRlUKE10QqE/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/birdeye/8d_GaeRlUKE10QqE/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/birdeye/8d_GaeRlUKE10QqE/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Wallet - PnL (Per Token) - Birdeye Data\">\u003cmeta data-mint-head property=\"og:description\" content=\"Retrieve all-time trading, holdings, cash flow, PnL, and pricing metrics for each specified token in a given wallet.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Birdeye Data\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://data.birdeye.so/docs/data-api/wallet-networth-pnl/get-wallet-v2-pnl\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://data.birdeye.so/docs/images/Birdeye-Data-API-Docs.png\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Wallet - PnL (Per Token) - Birdeye Data\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Retrieve all-time trading, holdings, cash flow, PnL, and pricing metrics for each specified token in a given wallet.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://data.birdeye.so/docs/images/Birdeye-Data-API-Docs.png\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/docs/mintlify-assets/_mintlify/favicons/birdeye/8d_GaeRlUKE10QqE/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Birdeye Data\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#009661\">\u003clink data-mint-head rel=\"canonical\" href=\"https://data.birdeye.so/docs/data-api/wallet-networth-pnl/get-wallet-v2-pnl\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/docs/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/docs/data-api/wallet-networth-pnl/get-wallet-v2-pnl.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://data.birdeye.so/#organization\",\"name\":\"Birdeye Data\",\"url\":\"https://data.birdeye.so\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/birdeye/avRdMljk5iuSQU-x/images/verticalBlacklogotransparent.png?fit=max\u0026auto=format\u0026n=avRdMljk5iuSQU-x\u0026q=85\u0026s=66c9a20003a9b05e5f02f687c112b12f\"}},{\"@type\":\"WebSite\",\"@id\":\"https://data.birdeye.so/docs#website\",\"name\":\"Birdeye Data\",\"url\":\"https://data.birdeye.so/docs\",\"publisher\":{\"@id\":\"https://data.birdeye.so/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://data.birdeye.so/docs/data-api/wallet-networth-pnl/get-wallet-v2-pnl#webpage\",\"url\":\"https://data.birdeye.so/docs/data-api/wallet-networth-pnl/get-wallet-v2-pnl\",\"name\":\"Wallet - PnL (Per Token)\",\"description\":\"Retrieve all-time trading, holdings, cash flow, PnL, and pricing metrics for each specified token in a given wallet.\",\"dateModified\":\"2026-12-01T07:51:02.618Z\",\"isPartOf\":{\"@id\":\"https://data.birdeye.so/docs#website\"},\"breadcrumb\":{\"@id\":\"https://data.birdeye.so/docs/data-api/wallet-networth-pnl/get-wallet-v2-pnl#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://data.birdeye.so/docs/data-api/wallet-networth-pnl/get-wallet-v2-pnl#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Birdeye Data API\",\"item\":\"https://data.birdeye.so/docs/data-api/price-ohlcv/get-defi-price\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Wallet, Networth \u0026 PnL\",\"item\":\"https://data.birdeye.so/docs/data-api/wallet-networth-pnl\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Wallet - PnL (Per Token)\",\"item\":\"https://data.birdeye.so/docs/data-api/wallet-networth-pnl/get-wallet-v2-pnl\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://data.birdeye.so/docs/data-api/wallet-networth-pnl/get-wallet-v2-pnl#apireference\",\"headline\":\"Wallet - PnL (Per Token)\",\"name\":\"Wallet - PnL (Per Token)\",\"description\":\"Retrieve all-time trading, holdings, cash flow, PnL, and pricing metrics for each specified token in a given wallet.\",\"url\":\"https://data.birdeye.so/docs/data-api/wallet-networth-pnl/get-wallet-v2-pnl\",\"mainEntityOfPage\":{\"@id\":\"https://data.birdeye.so/docs/data-api/wallet-networth-pnl/get-wallet-v2-pnl#webpage\"},\"image\":\"https://data.birdeye.so/docs/images/Birdeye-Data-API-Docs.png\",\"dateModified\":\"2026-12-01T07:51:02.618Z\",\"keywords\":\"PnL per token, token profit, wallet token PnL\",\"publisher\":{\"@id\":\"https://data.birdeye.so/#organization\"},\"isPartOf\":{\"@id\":\"https://data.birdeye.so/docs#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Birdeye Data\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Birdeye Data\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/docs/data-api/wallet-networth-pnl/get-wallet-v2-pnl.md","siteName":"Birdeye Data","nav":{"global":null,"tabs":[{"tab":"Welcome","pages":[{"title":"Welcome","href":"/getting-started"}]},{"tab":"API Reference","icon":"gear-api","groups":[{"group":"Birdeye Data API","pages":[{"group":"Price \u0026 OHLCV","root":{"title":"Price and OHLCV API","deprecated":false,"hidden":false,"sidebarTitle":"Price and OHLCV","href":"/data-api/price-ohlcv"},"pages":[{"title":"Price","hidden":false,"openapi":"openapi/data/openapi_docs.json GET /defi/price","href":"/data-api/price-ohlcv/get-defi-price"},{"title":"Price - Multiple (GET)","hidden":false,"openapi":"openapi/data/openapi_docs.json GET /defi/multi_price","sidebarTitle":"Price - Multiple","href":"/data-api/price-ohlcv/get-defi-multi-price"},{"title":"Price - Multiple (POST)","hidden":false,"openapi":"openapi/data/openapi_docs.json POST /defi/multi_price","sidebarTitle":"Price - Multiple ","href":"/data-api/price-ohlcv/post-defi-multi-price"},{"title":"OHLCV V3","hidden":false,"openapi":"openapi/data/openapi_docs.json GET /defi/v3/ohlcv","href":"/data-api/price-ohlcv/get-defi-v3-ohlcv"},{"title":"OHLCV V3 - Pair","hidden":false,"openapi":"openapi/data/openapi_docs.json GET /defi/v3/ohlcv/pair","href":"/data-api/price-ohlcv/get-defi-v3-ohlcv-pair"},{"title":"OHLCV","hidden":false,"openapi":"openapi/data/openapi_docs.json GET /defi/ohlcv","href":"/data-api/price-ohlcv/get-defi-ohlcv"},{"title":"OHLCV - Pair","hidden":false,"openapi":"openapi/data/openapi_docs.json GET /defi/ohlcv/pair","href":"/data-api/price-ohlcv/get-defi-ohlcv-pair"},{"title":"OHLCV - Base/Quote","hidden":false,"openapi":"openapi/data/openapi_docs.json GET /defi/ohlcv/base_quote","href":"/data-api/price-ohlcv/get-defi-ohlcv-base-quote"},{"title":"Price - Historical","hidden":false,"openapi":"openapi/data/openapi_docs.json GET /defi/history_price","href":"/data-api/price-ohlcv/get-defi-history-price"},{"title":"Price - Historical by unix time","hidden":false,"openapi":"openapi/data/openapi_docs.json GET /defi/historical_price_unix","href":"/data-api/price-ohlcv/get-defi-historical-price-unix"},{"title":"Price Volume - Single","hidden":false,"openapi":"openapi/data/openapi_docs.json GET /defi/price_volume/single","href":"/data-api/price-ohlcv/get-defi-price-volume-single"},{"title":"Price Volume - Multi","hidden":false,"openapi":"openapi/data/openapi_docs.json POST /defi/price_volume/multi","href":"/data-api/price-ohlcv/post-defi-price-volume-multi"},{"title":"Liquidity OHLC - Pair","hidden":false,"openapi":"openapi/data/openapi_docs.json GET /defi/v3/liquidity/ohlc/pair","href":"/data-api/price-ohlcv/get-defi-v3-liquidity-ohlc-pair"},{"title":"Liquidity OHLC - Token","hidden":false,"openapi":"openapi/data/openapi_docs.json GET /defi/v3/liquidity/ohlc/token","sidebarTitle":"Liquidity OHLC - Token","href":"/data-api/price-ohlcv/get-defi-v3-liquidity-ohlc-token"},{"title":"Liquidity History - Token","hidden":false,"openapi":"openapi/data/openapi_docs.json GET /defi/v3/liquidity/history/token","href":"/data-api/price-ohlcv/get-defi-v3-liquidity-history-token"},{"title":"Liquidity History - Pair","hidden":false,"openapi":"openapi/data/openapi_docs.json GET /defi/v3/liquidity/history/pair","href":"/data-api/price-ohlcv/get-defi-v3-liquidity-history-pair"},{"title":"Liquidity Latest - Token","hidden":false,"openapi":"openapi/data/openapi_docs.json POST /defi/v3/liquidity/latest/token","href":"/data-api/price-ohlcv/post-defi-v3-liquidity-latest-token"}]},{"group":"Stats \u0026 Market Data","root":{"title":"Token Stats and Market Data API","deprecated":false,"hidden":false,"sidebarTitle":"Stats and Market Data","href":"/data-api/stats/index"},"pages":[{"title":"Token - Overview","hidden":false,"openapi":"openapi/data/openapi_docs.json GET /defi/token_overview","href":"/data-api/stats/get-defi-token-overview"},{"title":"Token - Metadata (Single)","hidden":false,"openapi":"openapi/data/openapi_docs.json GET /defi/v3/token/meta-data/single","href":"/data-api/stats/get-defi-v3-token-meta-data-single"},{"title":"Token - Metadata (Multiple)","hidden":false,"openapi":"openapi/data/openapi_docs.json GET /defi/v3/token/meta-data/multiple","href":"/data-api/stats/get-defi-v3-token-meta-data-multiple"},{"title":"Token - Market Data (Single)","hidden":false,"openapi":"openapi/data/openapi_docs.json GET /defi/v3/token/market-data","href":"/data-api/stats/get-defi-v3-token-market-data"},{"title":"Token - Market Data (Multiple)","hidden":false,"openapi":"openapi/data/openapi_docs.json GET /defi/v3/token/market-data/multiple","href":"/data-api/stats/get-defi-v3-token-market-data-multiple"},{"title":"Token - Trade Data (Single)","hidden":false,"openapi":"openapi/data/openapi_docs.json GET /defi/v3/token/trade-data/single","href":"/data-api/stats/get-defi-v3-token-trade-data-single"},{"title":"Token - Trade Data (Multiple)","hidden":false,"openapi":"openapi/data/openapi_docs.json GET /defi/v3/token/trade-data/multiple","href":"/data-api/stats/get-defi-v3-token-trade-data-multiple"},{"title":"Token - Liquidity (Single)","hidden":false,"openapi":"openapi/data/openapi_docs.json GET /defi/v3/token/exit-liquidity","href":"/data-api/stats/get-defi-v3-token-exit-liquidity"},{"title":"Token - Liquidity (Multiple)","hidden":false,"openapi":"openapi/data/openapi_docs.json GET /defi/v3/token/exit-liquidity/multiple","href":"/data-api/stats/get-defi-v3-token-exit-liquidity-multiple"},{"title":"Pair - Pair Overview (Single)","hidden":false,"openapi":"openapi/data/openapi_docs.json GET /defi/v3/pair/overview/single","href":"/data-api/stats/get-defi-v3-pair-overview-single"},{"title":"Pair - Pair Overview (Multiple)","hidden":false,"openapi":"openapi/data/openapi_docs.json GET /defi/v3/pair/overview/multiple","href":"/data-api/stats/get-defi-v3-pair-overview-multiple"},{"title":"Price stats (Single)","hidden":false,"openapi":"openapi/data/openapi_docs.json GET /defi/v3/price/stats/single","href":"/data-api/stats/get-defi-v3-price-stats-single"},{"title":"Price stats (Multiple)","hidden":false,"openapi":"openapi/data/openapi_docs.json POST /defi/v3/price/stats/multiple","href":"/data-api/stats/post-defi-v3-price-stats-multiple"}]},{"group":"Token/Market List","root":{"title":"Token and Market List API","deprecated":false,"hidden":false,"sidebarTitle":"Token \u0026 Market list","href":"/data-api/tokenmarket-list/index"},"pages":[{"title":"Token - List (V3)","hidden":false,"openapi":"openapi/data/openapi_docs.json GET /defi/v3/token/list","href":"/data-api/tokenmarket-list/get-defi-v3-token-list"},{"title":"Token - List (V3) Scroll","hidden":false,"openapi":"openapi/data/openapi_docs.json GET /defi/v3/token/list/scroll","href":"/data-api/tokenmarket-list/get-defi-v3-token-list-scroll"},{"title":"Token - List (V1)","hidden":false,"openapi":"openapi/data/openapi_docs.json GET /defi/tokenlist","href":"/data-api/tokenmarket-list/get-defi-tokenlist"},{"title":"Token - New listing","hidden":false,"openapi":"openapi/data/openapi_docs.json GET /defi/v2/tokens/new_listing","href":"/data-api/tokenmarket-list/get-defi-v2-tokens-new-listing"},{"title":"Token - All Market List","hidden":false,"openapi":"openapi/data/openapi_docs.json GET /defi/v2/markets","href":"/data-api/tokenmarket-list/get-defi-v2-markets"}]},{"group":"Transactions","root":{"title":"Transactions API","deprecated":false,"hidden":false,"sidebarTitle":"Transactions","href":"/data-api/transactions/index"},"pages":[{"title":"Trades - Token (V3)","hidden":false,"openapi":"openapi/data/openapi_docs.json GET /defi/v3/token/txs","href":"/data-api/transactions/get-defi-v3-token-txs"},{"title":"Trades - All (V3)","hidden":false,"openapi":"openapi/data/openapi_docs.json GET /defi/v3/txs","href":"/data-api/transactions/get-defi-v3-txs"},{"title":"Trades - Recent (V3)","hidden":false,"openapi":"openapi/data/openapi_docs.json GET /defi/v3/txs/recent","href":"/data-api/transactions/get-defi-v3-txs-recent"},{"title":"Trades - Token","hidden":false,"openapi":"openapi/data/openapi_docs.json GET /defi/txs/token","href":"/data-api/transactions/get-defi-txs-token"},{"title":"Trades - Pair","hidden":false,"openapi":"openapi/data/openapi_docs.json GET /defi/txs/pair","href":"/data-api/transactions/get-defi-txs-pair"},{"title":"Trades - Token Seek By Time","hidden":false,"openapi":"openapi/data/openapi_docs.json GET /defi/txs/token/seek_by_time","href":"/data-api/transactions/get-defi-txs-token-seek-by-time"},{"title":"Trades - Pair Seek By Time","hidden":false,"openapi":"openapi/data/openapi_docs.json GET /defi/txs/pair/seek_by_time","sidebarTitle":"Pair Trades by Time","href":"/data-api/transactions/get-defi-txs-pair-seek-by-time"},{"title":"Trader - Trades Seek By Time","hidden":false,"openapi":"openapi/data/openapi_docs.json GET /trader/txs/seek_by_time","sidebarTitle":"Trader Trades by Time","href":"/data-api/transactions/get-trader-txs-seek-by-time"},{"title":"Trades - Token Filtered By Volume (V3)","hidden":false,"openapi":"openapi/data/openapi_docs.json GET /defi/v3/token/txs-by-volume","sidebarTitle":"Token Trades by Volume","href":"/data-api/transactions/get-defi-v3-token-txs-by-volume"},{"title":"Token - Mint/Burn","hidden":false,"openapi":"openapi/data/openapi_docs.json GET /defi/v3/token/mint-burn-txs","href":"/data-api/transactions/get-defi-v3-token-mint-burn-txs"}]},{"group":"Wallet, Networth \u0026 PnL","root":{"title":"Wallet, Networth \u0026 PnL","deprecated":false,"hidden":false,"sidebarTitle":"Wallet Net Worth and PnL API","href":"/data-api/wallet-networth-pnl/index"},"pages":[{"title":"Wallet - Portfolio (V2)","hidden":false,"openapi":"openapi/data/openapi_docs.json GET /wallet/v2/current-net-worth","sidebarTitle":"Wallet - Portfolio (V2)","href":"/data-api/wallet-networth-pnl/get-wallet-v2-current-net-worth"},{"title":"Wallet - Net Worth Chart","hidden":false,"openapi":"openapi/data/openapi_docs.json GET /wallet/v2/net-worth","sidebarTitle":"Wallet - Net Worth Chart","href":"/data-api/wallet-networth-pnl/get-wallet-v2-net-worth"},{"title":"Wallet - Current Net Worth Summary (Multiple)","hidden":false,"openapi":"openapi/data/openapi_docs.json POST /wallet/v2/net-worth-summary/multiple","href":"/data-api/wallet-networth-pnl/post-wallet-v2-net-worth-summary-multiple"},{"title":"Wallet - Net Worth Details","hidden":false,"openapi":"openapi/data/openapi_docs.json GET /wallet/v2/net-worth-details","href":"/data-api/wallet-networth-pnl/get-wallet-v2-net-worth-details"},{"title":"Wallet - PnL","hidden":false,"openapi":"openapi/data/openapi_docs.json GET /wallet/v2/pnl/summary","href":"/data-api/wallet-networth-pnl/get-wallet-v2-pnl-summary"},{"title":"Wallet - PnL Details","description":"Retrieve a wallet's overall PnL and trading statistics, along with aggregated PnL and trading details for each token.","hidden":false,"openapi":"openapi/data/openapi_docs.json POST /wallet/v2/pnl/details","href":"/data-api/wallet-networth-pnl/post-wallet-v2-pnl-details"},{"title":"Wallet - PnL (Per Token)","hidden":false,"openapi":"openapi/data/openapi_docs.json GET /wallet/v2/pnl","href":"/data-api/wallet-networth-pnl/get-wallet-v2-pnl"},{"title":"Wallet - PnL (Per Wallet)","hidden":false,"openapi":"openapi/data/openapi_docs.json GET /wallet/v2/pnl/multiple","description":"Retrieve all-time PnL and trading metrics for each specified wallet for a given token.","href":"/data-api/wallet-networth-pnl/get-wallet-v2-pnl-multiple"},{"title":"Wallet - First Tx Funded","hidden":false,"openapi":"openapi/data/openapi_docs.json POST /wallet/v2/tx/first-funded","href":"/data-api/wallet-networth-pnl/post-wallet-v2-tx-first-funded"},{"title":"Wallet - Leaderboard","hidden":false,"openapi":"openapi/data/openapi_docs.json GET /wallet/v2/leaderboard","href":"/data-api/wallet-networth-pnl/get-wallet-v2-leaderboard"},{"title":"Token - Top traders","hidden":false,"openapi":"openapi/data/openapi_docs.json GET /defi/v2/tokens/top_traders","href":"/data-api/wallet-networth-pnl/get-defi-v2-tokens-top-traders"},{"title":"Trader - Gainers/Losers","hidden":false,"openapi":"openapi/data/openapi_docs.json GET /trader/gainers-losers","href":"/data-api/wallet-networth-pnl/get-trader-gainers-losers"},{"title":"Wallet Supported Networks","hidden":false,"openapi":"openapi/data/openapi_docs.json GET /v1/wallet/list_supported_chain","href":"/data-api/wallet-networth-pnl/get-v1-wallet-list-supported-chain"},{"title":"Wallet - Transaction History (Beta)","hidden":false,"openapi":"openapi/data/openapi_docs.json GET /v1/wallet/tx_list","href":"/data-api/wallet-networth-pnl/get-v1-wallet-tx-list"},{"title":"Wallet Portfolio (Beta)","hidden":false,"openapi":"openapi/data/openapi_docs.json GET /v1/wallet/token_list","href":"/data-api/wallet-networth-pnl/get-v1-wallet-token-list"},{"title":"Wallet - PnL Chart","hidden":false,"openapi":"openapi/data/openapi_docs.json GET /wallet/v2/pnl/chart","href":"/data-api/wallet-networth-pnl/get-wallet-v2-pnl-chart"},{"title":"Wallet - Funded by","hidden":false,"openapi":"openapi/data/openapi_docs.json GET /wallet/v2/funded-by","href":"/data-api/wallet-networth-pnl/get-wallet-v2-funded-by"}]},{"group":"Balance \u0026 Transfer","root":{"title":"Wallet Balance and Transfer API","deprecated":false,"hidden":false,"sidebarTitle":"Wallet Balance and Transfer","href":"/data-api/balance-transfer/index"},"pages":[{"title":"Wallet - Balance Change","hidden":false,"openapi":"openapi/data/openapi_docs.json GET /wallet/v2/balance-change","href":"/data-api/balance-transfer/get-wallet-v2-balance-change"},{"title":"Wallet - Tokens Balance","hidden":false,"openapi":"openapi/data/openapi_docs.json POST /wallet/v2/token-balance","href":"/data-api/balance-transfer/post-wallet-v2-token-balance"},{"title":"Token - Transfer List","hidden":false,"openapi":"openapi/data/openapi_docs.json POST /token/v1/transfer","href":"/data-api/balance-transfer/post-token-v1-transfer"},{"title":"Token - Transfer Total","hidden":false,"openapi":"openapi/data/openapi_docs.json POST /token/v1/transfer/total","href":"/data-api/balance-transfer/post-token-v1-transfer-total"},{"title":"Wallet - Transfer","hidden":false,"openapi":"openapi/data/openapi_docs.json POST /wallet/v2/transfer","href":"/data-api/balance-transfer/post-wallet-v2-transfer"},{"title":"Wallet - Transfer total","hidden":false,"openapi":"openapi/data/openapi_docs.json POST /wallet/v2/transfer/total","href":"/data-api/balance-transfer/post-wallet-v2-transfer-total"},{"title":"Wallet - Token Balance (Beta)","hidden":false,"openapi":"openapi/data/openapi_docs.json GET /v1/wallet/token_balance","href":"/data-api/balance-transfer/get-v1-wallet-token-balance"}]},{"group":"Holder","root":{"title":"Token Holder API","deprecated":false,"hidden":false,"href":"/data-api/holder/index"},"pages":[{"title":"Token - Holder","hidden":false,"openapi":"openapi/data/openapi_docs.json GET /defi/v3/token/holder","href":"/data-api/holder/get-defi-v3-token-holder"},{"title":"Token - Holder (Batch)","hidden":false,"openapi":"openapi/data/openapi_docs.json POST /token/v1/holder/batch","href":"/data-api/holder/post-token-v1-holder-batch"},{"title":"Token - Holder Distribution","hidden":false,"openapi":"openapi/data/openapi_docs.json GET /holder/v1/distribution","href":"/data-api/holder/get-holder-v1-distribution"},{"title":"Token - Holder Profile","hidden":false,"openapi":"openapi/data/openapi_docs.json GET /token/v1/holder-profile","href":"/data-api/holder/get-token-v1-holder-profile"},{"title":"Token - Holder Positions","hidden":false,"openapi":"openapi/data/openapi_docs.json GET /token/v1/holder-positions","href":"/data-api/holder/get-token-v1-holder-positions"},{"title":"Token - Holder Chart","hidden":false,"openapi":"openapi/data/openapi_docs.json GET /token/v1/holder/chart","href":"/data-api/holder/get-token-v1-holder-chart"},{"title":"Token - Tag Holdings Chart","hidden":false,"openapi":"openapi/data/openapi_docs.json GET /token/v1/chart/tag-holdings","href":"/data-api/holder/get-token-v1-chart-tag-holdings"},{"title":"Token - First Buyers","hidden":false,"openapi":"openapi/data/openapi_docs.json GET /token/v1/first-buyers","href":"/data-api/holder/get-token-v1-first-buyers"},{"title":"Token - Wallet Tags Tracker","hidden":false,"openapi":"openapi/data/openapi_docs.json GET /token/v1/wallet-tags-tracker","href":"/data-api/holder/get-token-v1-wallet-tags-tracker"},{"title":"Token - Wallet Tags Tracker Details","hidden":false,"openapi":"openapi/data/openapi_docs.json GET /token/v1/wallet-tags-tracker/details","href":"/data-api/holder/get-token-v1-wallet-tags-tracker-details"}]},{"group":"Alltime \u0026 History","root":{"title":"Alltime \u0026 History","deprecated":false,"hidden":false,"href":"/data-api/alltime-history/index"},"pages":[{"title":"All Time Trades (Single)","hidden":false,"openapi":"openapi/data/openapi_docs.json GET /defi/v3/all-time/trades/single","href":"/data-api/alltime-history/get-defi-v3-all-time-trades-single"},{"title":"All Time Trades (Multiple)","hidden":false,"openapi":"openapi/data/openapi_docs.json POST /defi/v3/all-time/trades/multiple","href":"/data-api/alltime-history/post-defi-v3-all-time-trades-multiple"}]},{"group":"Blockchain","root":{"title":"Blockchain Data API","deprecated":false,"hidden":false,"sidebarTitle":"Blockchain","href":"/data-api/blockchain/index"},"pages":[{"title":"Trades - Latest Block Number","hidden":false,"openapi":"openapi/data/openapi_docs.json GET /defi/v3/txs/latest-block","href":"/data-api/blockchain/get-defi-v3-txs-latest-block"},{"title":"Supported Networks (API)","hidden":false,"openapi":"openapi/data/openapi_docs.json GET /defi/networks","sidebarTitle":"Supported Networks","href":"/data-api/blockchain/get-defi-networks"}]},{"group":"Creation \u0026 Trending","root":{"title":"Token Creation and Trending API","deprecated":false,"hidden":false,"sidebarTitle":"Creation and Trending","href":"/data-api/creation-trending/index"},"pages":[{"title":"Token - Creation Token Info","hidden":false,"openapi":"openapi/data/openapi_docs.json GET /defi/token_creation_info","href":"/data-api/creation-trending/get-defi-token-creation-info"},{"title":"Token - Trending List","hidden":false,"openapi":"openapi/data/openapi_docs.json GET /defi/token_trending","href":"/data-api/creation-trending/get-defi-token-trending"}]},{"group":"Meme","root":{"title":"Meme Token API","deprecated":false,"hidden":false,"sidebarTitle":"Meme","href":"/data-api/meme/index"},"pages":[{"title":"Meme Token Detail - Single","hidden":false,"openapi":"openapi/data/openapi_docs.json GET /defi/v3/token/meme/detail/single","href":"/data-api/meme/get-defi-v3-token-meme-detail-single"},{"title":"Meme Token - List","hidden":false,"openapi":"openapi/data/openapi_docs.json GET /defi/v3/token/meme/list","href":"/data-api/meme/get-defi-v3-token-meme-list"}]},{"group":"Security","root":{"title":"Token Security API","deprecated":false,"hidden":false,"href":"/data-api/security/index"},"pages":[{"title":"Token - Security","hidden":false,"openapi":"openapi/data/openapi_docs.json GET /defi/token_security","href":"/data-api/security/get-defi-token-security"}]},{"group":"Search \u0026 Utils","root":{"title":"Search and Utility API","hidden":false,"sidebarTitle":"Search and Utils","href":"/data-api/search-utils/index"},"pages":[{"title":"Search - Token, market Data","hidden":false,"openapi":"openapi/data/openapi_docs.json GET /defi/v3/search","href":"/data-api/search-utils/get-defi-v3-search"},{"title":"Utils - Credits Usage of Current Account","hidden":false,"openapi":"openapi/data/openapi_docs.json GET /utils/v1/credits","sidebarTitle":"Utils - Credits Usage","href":"/data-api/search-utils/get-utils-v1-credits"}]},{"group":"Smart Money","root":{"title":"Smart Money API","hidden":false,"sidebarTitle":"Smart Money","href":"/data-api/smart-money/index"},"pages":[{"title":"Smart Money - Token List","hidden":false,"openapi":"openapi/data/openapi_docs.json GET /smart-money/v1/token/list","href":"/data-api/smart-money/get-smart-money-v1-token-list"},{"title":"Token Money Flow","hidden":false,"openapi":"openapi/data/openapi_docs.json POST /defi/v3/token/money-flow","href":"/data-api/smart-money/post-defi-v3-token-money-flow"}]},{"group":"Global Fees Paid","root":{"title":"Global Fees Paid API","hidden":false,"sidebarTitle":"Global Fees Paid","href":"/data-api/global-fees-paid/index"},"pages":[{"title":"Token - Fee (Single)","hidden":false,"openapi":"openapi/data/openapi_docs.json GET /defi/v3/token/fee/single","href":"/data-api/global-fees-paid/get-defi-v3-token-fee-single"},{"title":"Token - Fee (Multiple)","hidden":false,"openapi":"openapi/data/openapi_docs.json GET /defi/v3/token/fee/multiple","href":"/data-api/global-fees-paid/get-defi-v3-token-fee-multiple"}]},{"group":"DEX \u0026 Protocol","root":{"title":"DEX \u0026 Protocol API","hidden":false,"sidebarTitle":"DEX \u0026 Protocol","href":"/data-api/dex-protocol/index"},"pages":[{"title":"Blockchain Market Metrics","hidden":false,"openapi":"openapi/data/openapi_docs.json GET /market/v1/blockchain-metrics","href":"/data-api/dex-protocol/get-market-v1-blockchain-metrics"}]},{"group":"Wallet Identity","root":{"title":"Wallet Identity API","hidden":false,"sidebarTitle":"Wallet Identity","href":"/data-api/wallet-identity/index"},"pages":[{"title":"Wallet Identity - Single","hidden":false,"openapi":"openapi/data/openapi_docs.json GET /identity/v1/single","sidebarTitle":"Identity (Single)","href":"/data-api/wallet-identity/get-identity-v1-single"},{"title":"Wallet Identity - Multiple","hidden":false,"openapi":"openapi/data/openapi_docs.json POST /identity/v1/multiple","sidebarTitle":"Identity (Multiple)","href":"/data-api/wallet-identity/post-identity-v1-multiple"},{"title":"Wallet Identity - Domains","hidden":false,"openapi":"openapi/data/openapi_docs.json GET /identity/v1/domains","sidebarTitle":"Identity - Domains","href":"/data-api/wallet-identity/get-identity-v1-domains"}]}]},{"group":"Blockchain Data API","root":{"title":"Blockchain Data API Overview","hidden":false,"sidebarTitle":"Overview","href":"/blockchain-api/index"},"pages":[{"group":"Account","root":{"title":"Account API","hidden":false,"sidebarTitle":"Account","href":"/blockchain-api/account/index"},"pages":[{"title":"Blockchain - Account Detail","hidden":false,"openapi":"openapi/blockchain/openapi_blockchain_docs.json GET /blockchain/v1/account/detail","sidebarTitle":"Account Detail","href":"/blockchain-api/account/get-blockchain-v1-account-detail"},{"title":"Blockchain - Multiple Account Details","hidden":false,"openapi":"openapi/blockchain/openapi_blockchain_docs.json POST /blockchain/v1/account/detail/multiple","sidebarTitle":"Account Details (Multiple)","href":"/blockchain-api/account/post-blockchain-v1-account-detail-multiple"},{"title":"Blockchain - Token Accounts","hidden":false,"openapi":"openapi/blockchain/openapi_blockchain_docs.json GET /blockchain/v1/account/token-accounts","sidebarTitle":"Token Accounts","href":"/blockchain-api/account/get-blockchain-v1-account-token-accounts"}]},{"group":"Token","root":{"title":"Token API","hidden":false,"sidebarTitle":"Token","href":"/blockchain-api/token/index"},"pages":[{"title":"Blockchain - Token Metadata","hidden":false,"openapi":"openapi/blockchain/openapi_blockchain_docs.json GET /blockchain/v1/token/metadata","sidebarTitle":"Token Metadata","href":"/blockchain-api/token/get-blockchain-v1-token-metadata"},{"title":"Blockchain - Multiple Token Metadata","hidden":false,"openapi":"openapi/blockchain/openapi_blockchain_docs.json POST /blockchain/v1/token/metadata/multiple","sidebarTitle":"Token Metadata (Multiple)","href":"/blockchain-api/token/post-blockchain-v1-token-metadata-multiple"}]},{"group":"Transaction","root":{"title":"Transaction API","hidden":false,"sidebarTitle":"Transaction","href":"/blockchain-api/transaction/index"},"pages":[{"title":"Blockchain - Transaction Detail","hidden":false,"openapi":"openapi/blockchain/openapi_blockchain_docs.json GET /blockchain/v1/transaction/detail","sidebarTitle":"Transaction Detail","href":"/blockchain-api/transaction/get-blockchain-v1-transaction-detail"}]}]}]},{"tab":"Perps","icon":"chart-candlestick","pages":[{"title":"Perps","href":"/perps-api"}]},{"tab":"WebSockets","icon":"signal-stream","pages":[{"title":"WebSockets","href":"/websockets/subscribe-price-ohlcv"}]},{"tab":"Use Cases","icon":"briefcase","pages":[{"title":"Use Cases","href":"/use-cases/overview"}]},{"tab":"Agents","icon":"user-robot","pages":[{"title":"Agents","href":"/agents/overview"}]},{"tab":"Changelog","icon":"font-awesome-logo-full","pages":[{"title":"Changelog","href":"/changelog"}]}]},"basePath":"","title":"Wallet - PnL (Per Token) - Birdeye Data","deploymentId":"dpl_BsHU5ynwUyfZMwoLvGC66duJuw65","buildId":"dpl_BsHU5ynwUyfZMwoLvGC66duJuw65","dynamics":["10e4515597","c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["BannerMarkdown-CkHZoIpP.js","dist-B9NA4YFQ.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js","OpenApiReferenceProvider-C8ktwDU8.js","snippetPresets-T_OU6iFp.js","utils-ZwMhYBEy.js","style-to-object-BY3JEAdk.js","utils-Bkq2iFgu.js","v4-DIgz8zy6.js","addTypeLabelsToSchema-BL9fiH8n.js","conditional-requirements-CFM0id0Q.js","cloneDeep-CmgCbVBT.js","_Uint8Array-Ai_0D4xE.js","isObject-FP1Yky1u.js","ApiExamples-DFGM09p_.js","usePlaygroundInputsStore-DkwJlKUE.js","shallow-BHRrfnLS.js","isEqual-BJ_QXy06.js","CodeSnippets-DIweseYm.js","CodeSnippet-8p36p4M7.js","use-playground-group-access-B8gEWau8.js","Page-Wf3pSVXf.js","api-description-markdown-BmnQ9fAd.js","DynamicMarkdown-BYqxB8Iw.js","SectionHeading-D-hNGwRE.js","MethodPill-CLLk3435.js","getPastedJson-CniQ58Cw.js","Check2Icon-C_Ntbivk.js","axios-CsQoIw0U.js","Markdown-DiXm32Ac.js","AssistantPageLink-C28i5dBV.js"]}