{
"success": false,
"error": {
"code": "INVALID_PARAM",
"message": "use pair_address; see /api/v1/pairs?token_address=X to discover pools"
}
}
{
"success": false,
"error": {
"code": "INVALID_PARAM",
"message": "use pair_address; see /api/v1/pairs?token_address=X to discover pools"
}
}
{
"success": false,
"error": {
"code": "INVALID_PARAM",
"message": "use pair_address; see /api/v1/pairs?token_address=X to discover pools"
}
}
Wallet PnL (v2)
Batch positions by (wallet, mint) pairs
Fetch many (wallet, mint) positions in one call. De-dups internally but aligns output to the original input order (duplicates echo the same object). realized_breakdown always present. Uncached. 1–200 pairs; empty → 400, >200 → 400.
{
"success": false,
"error": {
"code": "INVALID_PARAM",
"message": "use pair_address; see /api/v1/pairs?token_address=X to discover pools"
}
}
{
"success": false,
"error": {
"code": "INVALID_PARAM",
"message": "use pair_address; see /api/v1/pairs?token_address=X to discover pools"
}
}
{
"success": false,
"error": {
"code": "INVALID_PARAM",
"message": "use pair_address; see /api/v1/pairs?token_address=X to discover pools"
}
}
Authorizations
ApiKeyHeaderBearerAuthApiKeyQuery
X-API-Key
string
header
required
Preferred for the swap endpoints (/swaps/*, /stats/*, /trending, /pool-events).
Query Parameters
pnl_mode
enum<string>
default:adjusted
PnL accounting mode. strict (FIFO) and adjusted (weighted-avg cost) are realized-PnL figures; raw is net cash-flow (Σ sells − Σ buys), not realized PnL. Unknown values fall back to adjusted.
Available options:
raw,
strict,
adjusted
Body
application/json
pairs
object[]
required
Required array length: 1 - 200 elements
Show child attributes
Response
Batch positions
pnl_mode
string
count
integer
Equals input pairs length.
positions
(object | null)[]
Aligned to input order; null where no position exists.
A single (wallet, mint) cost-basis position. All *_sol fields are already SOL (lamports/1e9). avg_cost_per_token and any spot price are lamports per atomic token unit. first_trade_ts/last_trade_ts are epoch milliseconds.
Show child attributes
reconciled
boolean
true only when every item was checked against on-chain holdings.
reconciliation_source
enum<string>
live when every item was checked against on-chain holdings; partial when at least one could not be (reconciled is then false). Each item also carries its own pair.
Available options:
live,
partial
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Dexploit","description":"Real-time and historical Solana DEX data: swap streams, swap-event OHLCV candles, token intel, wallet tagging, and pump.fun lifecycle events. Built for dApp teams, dashboards, and data builders who'd rather skip the parsing tax.","colors":{"primary":"#FFFFFF","light":"#FFFFFF","dark":"#0A0A0A"},"logo":{"light":"https://mintcdn.com/dexploit/a5GAVzvWfEir-z2b/logo/light.png?fit=max\u0026auto=format\u0026n=a5GAVzvWfEir-z2b\u0026q=85\u0026s=bef8ae40e01a89b5583761caf0837c64","dark":"https://mintcdn.com/dexploit/a5GAVzvWfEir-z2b/logo/dark.png?fit=max\u0026auto=format\u0026n=a5GAVzvWfEir-z2b\u0026q=85\u0026s=61d4cb5001d9d7abefe456f508ae5325"},"favicon":"https://mintcdn.com/dexploit/a5GAVzvWfEir-z2b/favicon.ico?fit=max\u0026auto=format\u0026n=a5GAVzvWfEir-z2b\u0026q=85\u0026s=1a4ab3b4e7bd681e851fd29109b22ef9","navbar":{"links":[{"href":"https://www.dexploit.dev/contact","label":"Support"}],"primary":{"type":"button","label":"Get API Key","href":"https://www.dexploit.dev/dashboard"}},"footer":{"socials":{"x":"https://x.com/DexploitDev","discord":"https://discord.gg/GX7qapPZ8d","github":"https://github.com/DexploitV1"}},"seo":{"metatags":{"keywords":"solana, dex, defi, ohlcv, candles, pumpfun, pumpswap, raydium, meteora, websocket, grpc, api, real-time, swap stream, token intel, wallet tagging, screener, mev, trading, solana data, solana api, pumpfun api, raydium api"},"indexing":"all"},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"metadata":{"timestamp":false},"styling":{"latex":false},"navigation":{"global":{"anchors":[{"anchor":"Dashboard","icon":"gauge","href":"https://www.dexploit.dev/dashboard"},{"anchor":"GitHub Examples","icon":"github","href":"https://github.com/DexploitV1/Dexploit-Examples"},{"anchor":"Status","icon":"heart-pulse","href":"https://www.dexploit.dev/status"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"dexploit","hasAudioNarration":false,"actualSubdomain":"dexploit","customDomains":["docs.dexploit.dev"],"gitSource":{"type":"github","owner":"1tzkaos","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":"","_id":"6b10c2359ffae5051c4056ed"},"feedback":{"thumbs":false},"entitlements":{},"buildId":"6aff16d679c49b441874de33","clientVersion":"0.0.4453","searchFilterCounts":[{"language":"default","tag":"API reference","count":85},{"language":"default","tag":"Guides","count":18},{"language":"default","tag":"Tokens","count":18},{"language":"default","tag":"Wallet PnL (v2)","count":14},{"language":"default","tag":"Concepts","count":8},{"language":"default","tag":"Stats \u0026 trends","count":8},{"language":"default","tag":"Wallet portfolio","count":7},{"language":"default","tag":"Swaps","count":6},{"language":"default","tag":"Webstreams","count":5},{"language":"default","tag":"Leaderboards \u0026 KOLs","count":5}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","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":"control","enabled":true,"payload":{"type":"string","value":"control"},"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":false},"customCss":[]}
{"page":{"pagePath":"api-reference/wallet-pnl-v2/batch-positions-by-wallet-mint-pairs","slug":"/api-reference/wallet-pnl-v2/batch-positions-by-wallet-mint-pairs","pageMetadata":{"title":"Batch positions by (wallet, mint) pairs","description":"Fetch many (wallet, mint) positions in one call. De-dups internally but aligns output to the **original** input order (duplicates echo the same object). `realized_breakdown` always present. Uncached. 1–200 pairs; empty → 400, >200 → 400.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v2/pnl/positions/batch","href":"/api-reference/wallet-pnl-v2/batch-positions-by-wallet-mint-pairs","autogeneratedByOpenApi":true},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx, jsxs: _jsxs} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n code: \"code\",\n p: \"p\",\n strong: \"strong\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsxs(_components.p, {\n children: [\"Fetch many (wallet, mint) positions in one call. De-dups internally but aligns output to the \", _jsx(_components.strong, {\n children: \"original\"\n }), \" input order (duplicates echo the same object). \", _jsx(_components.code, {\n children: \"realized_breakdown\"\n }), \" always present. Uncached. 1–200 pairs; empty → 400, >200 → 400.\"]\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}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){return _jsx(_Fragment,{})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Batch positions by (wallet, mint) pairs","description":"Fetch many (wallet, mint) positions in one call. De-dups internally but aligns output to the **original** input order (duplicates echo the same object). `realized_breakdown` always present. Uncached. 1–200 pairs; empty → 400, >200 → 400.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v2/pnl/positions/batch","href":"/api-reference/wallet-pnl-v2/batch-positions-by-wallet-mint-pairs","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"summary":"Batch positions by (wallet, mint) pairs","description":"Fetch many (wallet, mint) positions in one call. De-dups internally but aligns output to the **original** input order (duplicates echo the same object). `realized_breakdown` always present. Uncached. 1–200 pairs; empty → 400, >200 → 400.","operationId":"postPnlV2PositionsBatch","tags":["Wallet PnL (v2)"],"parameters":["d674252a-18ae-4918-9e71-6f2aba93ee95"],"requestBody":"7f4b5dbc-b63d-4a6b-927b-d1bdffe66291","responses":{"200":"3994b864-e734-4322-8170-a31a8928d980","400":"ae1f0c01-21eb-401e-9378-ed958d1f571c","401":"99deee16-d818-448a-a49f-8ef3cf106bad","429":"a6f85cf3-c1c4-4d8e-a253-009572e3d70a"},"method":"post","type":"path","servers":["c30a2ac4-d6b5-4dc5-b08d-16ecfa1c420c"],"security":["bf5cf0ff-0910-457e-8e7f-4ee2770ce7e2","86047c1f-7b0b-4684-88af-1e4394297f2b","fb48ce27-c853-4bbe-816a-77b763c1e52b"],"path":"/v2/pnl/positions/batch","baseUrlOptions":["https://api.dexploit.dev"],"title":"Batch positions by (wallet, mint) pairs","codeSamples":[],"requiredOnlyExamples":false,"requestExampleType":"generated","responseExampleType":"generated"},"dependencies":{"parameters":{"d674252a-18ae-4918-9e71-6f2aba93ee95":{"name":"pnl_mode","in":"query","required":false,"schema":{"type":"string","enum":["raw","strict","adjusted"],"default":"adjusted","isRequired":false,"description":"PnL accounting mode. `strict` (FIFO) and `adjusted` (weighted-avg cost) are realized-PnL figures; `raw` is **net cash-flow** (Σ sells − Σ buys), not realized PnL. Unknown values fall back to `adjusted`.","uniqueKey":"","typeLabel":"enum\u003cstring>"},"description":"PnL accounting mode. `strict` (FIFO) and `adjusted` (weighted-avg cost) are realized-PnL figures; `raw` is **net cash-flow** (Σ sells − Σ buys), not realized PnL. Unknown values fall back to `adjusted`."}},"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"pairs":{"type":"array","minItems":1,"maxItems":200,"items":{"type":"object","properties":{"wallet":{"type":"string","uniqueKey":"pairs.items.[INDEX].wallet","typeLabel":"string"},"mint":{"type":"string","uniqueKey":"pairs.items.[INDEX].mint","typeLabel":"string"}},"uniqueKey":"pairs.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"pairs","typeLabel":"object[]"}},"required":["pairs"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"pairs":[{"wallet":"\u003cstring>","mint":"\u003cstring>"}]}}},"exampleType":"generated"}},"exampleType":"generated"},"responses":{"3994b864-e734-4322-8170-a31a8928d980":{"description":"Batch positions","content":{"application/json":{"schema":{"type":"object","properties":{"pnl_mode":{"type":"string","uniqueKey":"pnl_mode","typeLabel":"string"},"count":{"type":"integer","description":"Equals input pairs length.","uniqueKey":"count","typeLabel":"integer"},"positions":{"type":"array","items":{"oneOf":[{"type":"object","description":"A single (wallet, mint) cost-basis position. All `*_sol` fields are already SOL (lamports/1e9). `avg_cost_per_token` and any spot price are lamports per **atomic** token unit. `first_trade_ts`/`last_trade_ts` are epoch **milliseconds**.","properties":{"mint":{"type":"string","description":"Token mint (omitted on token-keyed variants where `wallet` is present instead).","uniqueKey":"positions.items.[INDEX].oneOf.0.mint","typeLabel":"string"},"balance_atomic":{"type":"integer","description":"Current open balance in atomic token units (int64).","uniqueKey":"positions.items.[INDEX].oneOf.0.balance_atomic","typeLabel":"integer"},"avg_cost_per_token":{"type":"number","description":"Average cost in lamports per atomic token unit.","uniqueKey":"positions.items.[INDEX].oneOf.0.avg_cost_per_token","typeLabel":"number"},"cost_basis_sol":{"type":"number","uniqueKey":"positions.items.[INDEX].oneOf.0.cost_basis_sol","typeLabel":"number"},"realized_sol":{"type":"number","description":"Realized PnL in SOL for the selected `pnl_mode`.","uniqueKey":"positions.items.[INDEX].oneOf.0.realized_sol","typeLabel":"number"},"unrealized_sol":{"oneOf":[{"type":"number","description":"Read-time spot unrealized PnL in SOL. `null` for null-priced mints.","uniqueKey":"positions.items.[INDEX].oneOf.0.unrealized_sol.oneOf.0","typeLabel":"number"},{"type":"null","description":"Read-time spot unrealized PnL in SOL. `null` for null-priced mints.","uniqueKey":"positions.items.[INDEX].oneOf.0.unrealized_sol.oneOf.1","typeLabel":"null"}],"uniqueKey":"positions.items.[INDEX].oneOf.0.unrealized_sol","typeLabel":"number | null"},"current_value_sol":{"oneOf":[{"type":"number","description":"Read-time spot value of the open balance, in SOL. `null` when unpriced.","uniqueKey":"positions.items.[INDEX].oneOf.0.current_value_sol.oneOf.0","typeLabel":"number"},{"type":"null","description":"Read-time spot value of the open balance, in SOL. `null` when unpriced.","uniqueKey":"positions.items.[INDEX].oneOf.0.current_value_sol.oneOf.1","typeLabel":"null"}],"uniqueKey":"positions.items.[INDEX].oneOf.0.current_value_sol","typeLabel":"number | null"},"total_buys_sol":{"type":"number","uniqueKey":"positions.items.[INDEX].oneOf.0.total_buys_sol","typeLabel":"number"},"total_sells_sol":{"type":"number","uniqueKey":"positions.items.[INDEX].oneOf.0.total_sells_sol","typeLabel":"number"},"total_buy_count":{"type":"integer","uniqueKey":"positions.items.[INDEX].oneOf.0.total_buy_count","typeLabel":"integer"},"total_sell_count":{"type":"integer","uniqueKey":"positions.items.[INDEX].oneOf.0.total_sell_count","typeLabel":"integer"},"largest_buy_sol":{"type":"number","uniqueKey":"positions.items.[INDEX].oneOf.0.largest_buy_sol","typeLabel":"number"},"largest_sell_sol":{"type":"number","uniqueKey":"positions.items.[INDEX].oneOf.0.largest_sell_sol","typeLabel":"number"},"fastest_flip_seconds":{"type":"integer","description":"Shortest buy→sell round-trip in seconds (sentinel 0 = no flip).","uniqueKey":"positions.items.[INDEX].oneOf.0.fastest_flip_seconds","typeLabel":"integer"},"longest_hold_seconds":{"type":"integer","uniqueKey":"positions.items.[INDEX].oneOf.0.longest_hold_seconds","typeLabel":"integer"},"first_trade_ts":{"type":"integer","description":"Epoch milliseconds of the first trade in this position.","uniqueKey":"positions.items.[INDEX].oneOf.0.first_trade_ts","typeLabel":"integer"},"last_trade_ts":{"type":"integer","description":"Epoch milliseconds of the most recent trade.","uniqueKey":"positions.items.[INDEX].oneOf.0.last_trade_ts","typeLabel":"integer"},"is_arbitrageur":{"type":"boolean","description":"Whether this (wallet, mint) was tagged as habitual cross-venue arbitrage.","uniqueKey":"positions.items.[INDEX].oneOf.0.is_arbitrageur","typeLabel":"boolean"},"tags":{"type":"array","items":{"type":"string","uniqueKey":"positions.items.[INDEX].oneOf.0.tags.items.[INDEX]","typeLabel":"string"},"description":"Inline per-(wallet, mint) wallet tags.","uniqueKey":"positions.items.[INDEX].oneOf.0.tags","typeLabel":"string[]"},"realized_usd":{"oneOf":[{"type":"number","description":"Realized PnL in USD via Dexploit's SOL/USD rate.","uniqueKey":"positions.items.[INDEX].oneOf.0.realized_usd.oneOf.0","typeLabel":"number"},{"type":"null","description":"Realized PnL in USD via Dexploit's SOL/USD rate.","uniqueKey":"positions.items.[INDEX].oneOf.0.realized_usd.oneOf.1","typeLabel":"null"}],"uniqueKey":"positions.items.[INDEX].oneOf.0.realized_usd","typeLabel":"number | null"},"unrealized_usd":{"oneOf":[{"type":"number","uniqueKey":"positions.items.[INDEX].oneOf.0.unrealized_usd.oneOf.0","typeLabel":"number"},{"type":"null","uniqueKey":"positions.items.[INDEX].oneOf.0.unrealized_usd.oneOf.1","typeLabel":"null"}],"uniqueKey":"positions.items.[INDEX].oneOf.0.unrealized_usd","typeLabel":"number | null"},"current_value_usd":{"oneOf":[{"type":"number","uniqueKey":"positions.items.[INDEX].oneOf.0.current_value_usd.oneOf.0","typeLabel":"number"},{"type":"null","uniqueKey":"positions.items.[INDEX].oneOf.0.current_value_usd.oneOf.1","typeLabel":"null"}],"uniqueKey":"positions.items.[INDEX].oneOf.0.current_value_usd","typeLabel":"number | null"},"cost_basis_usd":{"oneOf":[{"type":"number","uniqueKey":"positions.items.[INDEX].oneOf.0.cost_basis_usd.oneOf.0","typeLabel":"number"},{"type":"null","uniqueKey":"positions.items.[INDEX].oneOf.0.cost_basis_usd.oneOf.1","typeLabel":"null"}],"uniqueKey":"positions.items.[INDEX].oneOf.0.cost_basis_usd","typeLabel":"number | null"},"realized_breakdown":{"type":"object","description":"Only present on glass-box endpoints (single-token, batch, traders) or when `breakdown=1`.","properties":{"raw":{"type":"number","description":"Net cash-flow in SOL: Σ(SOL received from sells) − Σ(SOL spent on buys). **Not realized PnL** — it ignores cost basis and counts every buy (including zero-token buys), so it diverges from `strict`/`adjusted` whenever a position still holds open lots.","uniqueKey":"positions.items.[INDEX].oneOf.0.realized_breakdown.raw","typeLabel":"number"},"strict":{"type":"number","description":"Realized PnL in SOL under strict FIFO lot matching (`proceeds − matched_cost` on the matched portion of each sell).","uniqueKey":"positions.items.[INDEX].oneOf.0.realized_breakdown.strict","typeLabel":"number"},"adjusted":{"type":"number","description":"Realized PnL in SOL under weighted-average cost basis (`proceeds − avg_cost × sell_qty`). The default `pnl_mode`.","uniqueKey":"positions.items.[INDEX].oneOf.0.realized_breakdown.adjusted","typeLabel":"number"}},"uniqueKey":"positions.items.[INDEX].oneOf.0.realized_breakdown","typeLabel":"object"},"reconciled":{"type":"boolean","description":"Whether this position was checked against on-chain holdings. `false` means the stored position was served as it is.","uniqueKey":"positions.items.[INDEX].oneOf.0.reconciled","typeLabel":"boolean"},"reconciliation_source":{"type":"string","enum":["live","unavailable"],"description":"Where the on-chain holdings came from: `live` (read at request time), or `unavailable` when this position was not checked.","uniqueKey":"positions.items.[INDEX].oneOf.0.reconciliation_source","typeLabel":"enum\u003cstring>"}},"uniqueKey":"positions.items.[INDEX].oneOf.0","typeLabel":"object"},{"type":"null","uniqueKey":"positions.items.[INDEX].oneOf.1","typeLabel":"null"}],"uniqueKey":"positions.items.[INDEX]","typeLabel":"object | null"},"description":"Aligned to input order; `null` where no position exists.","uniqueKey":"positions","typeLabel":"(object | null)[]"},"reconciled":{"type":"boolean","description":"`true` only when every item was checked against on-chain holdings.","uniqueKey":"reconciled","typeLabel":"boolean"},"reconciliation_source":{"type":"string","enum":["live","partial"],"description":"`live` when every item was checked against on-chain holdings; `partial` when at least one could not be (`reconciled` is then `false`). Each item also carries its own pair.","uniqueKey":"reconciliation_source","typeLabel":"enum\u003cstring>"}},"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"pnl_mode":"\u003cstring>","count":123,"positions":[{"mint":"\u003cstring>","balance_atomic":123,"avg_cost_per_token":123,"cost_basis_sol":123,"realized_sol":123,"unrealized_sol":123,"current_value_sol":123,"total_buys_sol":123,"total_sells_sol":123,"total_buy_count":123,"total_sell_count":123,"largest_buy_sol":123,"largest_sell_sol":123,"fastest_flip_seconds":123,"longest_hold_seconds":123,"first_trade_ts":123,"last_trade_ts":123,"is_arbitrageur":true,"tags":["\u003cstring>"],"realized_usd":123,"unrealized_usd":123,"current_value_usd":123,"cost_basis_usd":123,"realized_breakdown":{"raw":123,"strict":123,"adjusted":123},"reconciled":true,"reconciliation_source":"live"}],"reconciled":true,"reconciliation_source":"live"}}},"exampleType":"generated"}},"exampleType":"generated"},"ae1f0c01-21eb-401e-9378-ed958d1f571c":{"description":"Invalid parameter or malformed body","content":{"application/json":{"schema":{"type":"object","required":["success","error"],"properties":{"success":{"type":"boolean","enum":[false],"isRequired":true,"uniqueKey":"success","typeLabel":"enum\u003cboolean>"},"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","example":"INVALID_PARAM","description":"One of `UNAUTHORIZED` (401), `FORBIDDEN` (403), `RATE_LIMIT_EXCEEDED` (429), `RATE_LIMITED` (429, from the edge: more than 500 requests per second on one key, or the authentication-endpoint throttle), `INVALID_PARAM` (400), `MISSING_PARAM` (400), `NOT_FOUND` (404), `METHOD_NOT_ALLOWED` (405), `UNAVAILABLE` (503), `GATEWAY_TIMEOUT` (504) or `INTERNAL` (500). See Quotas \u0026 errors for what each means.","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","example":"use pair_address; see /api/v1/pairs?token_address=X to discover pools","description":"Human-readable detail. A 5xx message is generic: it never carries the internal cause.","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"description":"The error body of every REST endpoint: `success` is always `false`, and `error` is an object. Branch on `error.code`; `error.message` is for humans and is not a stable format.","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"success":false,"error":{"code":"INVALID_PARAM","message":"use pair_address; see /api/v1/pairs?token_address=X to discover pools"}}}},"exampleType":"generated"}},"exampleType":"generated"},"99deee16-d818-448a-a49f-8ef3cf106bad":{"description":"Missing or invalid API key","content":{"application/json":{"schema":{"type":"object","required":["success","error"],"properties":{"success":{"type":"boolean","enum":[false],"isRequired":true,"uniqueKey":"success","typeLabel":"enum\u003cboolean>"},"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","example":"INVALID_PARAM","description":"One of `UNAUTHORIZED` (401), `FORBIDDEN` (403), `RATE_LIMIT_EXCEEDED` (429), `RATE_LIMITED` (429, from the edge: more than 500 requests per second on one key, or the authentication-endpoint throttle), `INVALID_PARAM` (400), `MISSING_PARAM` (400), `NOT_FOUND` (404), `METHOD_NOT_ALLOWED` (405), `UNAVAILABLE` (503), `GATEWAY_TIMEOUT` (504) or `INTERNAL` (500). See Quotas \u0026 errors for what each means.","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","example":"use pair_address; see /api/v1/pairs?token_address=X to discover pools","description":"Human-readable detail. A 5xx message is generic: it never carries the internal cause.","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"description":"The error body of every REST endpoint: `success` is always `false`, and `error` is an object. Branch on `error.code`; `error.message` is for humans and is not a stable format.","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"success":false,"error":{"code":"INVALID_PARAM","message":"use pair_address; see /api/v1/pairs?token_address=X to discover pools"}}}},"exampleType":"generated"}},"exampleType":"generated"},"a6f85cf3-c1c4-4d8e-a253-009572e3d70a":{"description":"Rate limit exceeded","content":{"application/json":{"schema":{"type":"object","required":["success","error"],"properties":{"success":{"type":"boolean","enum":[false],"isRequired":true,"uniqueKey":"success","typeLabel":"enum\u003cboolean>"},"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","example":"INVALID_PARAM","description":"One of `UNAUTHORIZED` (401), `FORBIDDEN` (403), `RATE_LIMIT_EXCEEDED` (429), `RATE_LIMITED` (429, from the edge: more than 500 requests per second on one key, or the authentication-endpoint throttle), `INVALID_PARAM` (400), `MISSING_PARAM` (400), `NOT_FOUND` (404), `METHOD_NOT_ALLOWED` (405), `UNAVAILABLE` (503), `GATEWAY_TIMEOUT` (504) or `INTERNAL` (500). See Quotas \u0026 errors for what each means.","isRequired":true,"uniqueKey":"error.code","typeLabel":"string"},"message":{"type":"string","example":"use pair_address; see /api/v1/pairs?token_address=X to discover pools","description":"Human-readable detail. A 5xx message is generic: it never carries the internal cause.","isRequired":true,"uniqueKey":"error.message","typeLabel":"string"}},"isRequired":true,"uniqueKey":"error","typeLabel":"object"}},"description":"The error body of every REST endpoint: `success` is always `false`, and `error` is an object. Branch on `error.code`; `error.message` is for humans and is not a stable format.","uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"success":false,"error":{"code":"INVALID_PARAM","message":"use pair_address; see /api/v1/pairs?token_address=X to discover pools"}}}},"exampleType":"generated"}},"exampleType":"generated"}},"security":{"bf5cf0ff-0910-457e-8e7f-4ee2770ce7e2":{"ApiKeyHeader":{"type":"apiKey","in":"header","name":"X-API-Key","description":"Preferred for the swap endpoints (`/swaps/*`, `/stats/*`, `/trending`, `/pool-events`).","scopes":[],"schemeName":"ApiKeyHeader"}},"86047c1f-7b0b-4684-88af-1e4394297f2b":{"BearerAuth":{"type":"http","scheme":"bearer","description":"Required by the OHLCV endpoints (`/api/v1/*`) and accepted by every other endpoint. Send `Authorization: Bearer ohlcv_live_sk_\u003cyour_key>`.","scopes":[],"schemeName":"BearerAuth"}},"fb48ce27-c853-4bbe-816a-77b763c1e52b":{"ApiKeyQuery":{"type":"apiKey","in":"query","name":"api_key","description":"Browser-friendly alternative to the Bearer header — accepted by every endpoint and required for WebSocket from the browser.","scopes":[],"schemeName":"ApiKeyQuery"}}},"servers":{"c30a2ac4-d6b5-4dc5-b08d-16ecfa1c420c":{"url":"https://api.dexploit.dev","description":"Production"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"apiKey","in":"header","name":"X-API-Key","description":"Preferred for the swap endpoints (`/swaps/*`, `/stats/*`, `/trending`, `/pool-events`).","scopes":[],"schemeName":"ApiKeyHeader"},"schema":{"title":"X-API-Key","type":"string","description":"Preferred for the swap endpoints (`/swaps/*`, `/stats/*`, `/trending`, `/pool-events`).","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"ApiKeyHeader","name":"X-API-Key"}],"title":"ApiKeyHeader"},{"schemes":[{"scheme":{"type":"http","scheme":"bearer","description":"Required by the OHLCV endpoints (`/api/v1/*`) and accepted by every other endpoint. Send `Authorization: Bearer ohlcv_live_sk_\u003cyour_key>`.","scopes":[],"schemeName":"BearerAuth"},"schema":{"title":"Bearer Auth","type":"string","isRequired":true,"description":"Required by the OHLCV endpoints (`/api/v1/*`) and accepted by every other endpoint. Send `Authorization: Bearer ohlcv_live_sk_\u003cyour_key>`.","format":"bearer","typeLabel":"string\u003cbearer>","deprecated":false},"schemeName":"BearerAuth","name":"Authorization"}],"title":"BearerAuth"},{"schemes":[{"scheme":{"type":"apiKey","in":"query","name":"api_key","description":"Browser-friendly alternative to the Bearer header — accepted by every endpoint and required for WebSocket from the browser.","scopes":[],"schemeName":"ApiKeyQuery"},"schema":{"title":"api_key","type":"string","description":"Browser-friendly alternative to the Bearer header — accepted by every endpoint and required for WebSocket from the browser.","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"ApiKeyQuery","name":"api_key"}],"title":"ApiKeyQuery"}]},"originalFileLocation":"api-reference/openapi.json"},"subdomain":"dexploit","siteName":"Dexploit","title":"Batch positions by (wallet, mint) pairs - Dexploit","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-19T15:33:48.725Z","originalFileLocation":"api-reference/wallet-pnl-v2/batch-positions-by-wallet-mint-pairs.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=\"Fetch many (wallet, mint) positions in one call. De-dups internally but aligns output to the original input order (duplicates echo the same object). realized_breakdown always present. Uncached. 1–200 pairs; empty → 400, \u0026gt;200 → 400.\">\u003cmeta data-mint-head name=\"keywords\" content=\"solana, dex, defi, ohlcv, candles, pumpfun, pumpswap, raydium, meteora, websocket, grpc, api, real-time, swap stream, token intel, wallet tagging, screener, mev, trading, solana data, solana api, pumpfun api, raydium api\">\u003cmeta data-mint-head name=\"application-name\" content=\"Dexploit\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/dexploit/_uI79AZXXY-sCQiS/_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=\"/mintlify-assets/_mintlify/favicons/dexploit/_uI79AZXXY-sCQiS/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/dexploit/_uI79AZXXY-sCQiS/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/dexploit/_uI79AZXXY-sCQiS/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/dexploit/_uI79AZXXY-sCQiS/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/dexploit/_uI79AZXXY-sCQiS/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/dexploit/_uI79AZXXY-sCQiS/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/dexploit/_uI79AZXXY-sCQiS/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/dexploit/_uI79AZXXY-sCQiS/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Batch positions by (wallet, mint) pairs - Dexploit\">\u003cmeta data-mint-head property=\"og:description\" content=\"Fetch many (wallet, mint) positions in one call. De-dups internally but aligns output to the original input order (duplicates echo the same object). realized_breakdown always present. Uncached. 1–200 pairs; empty → 400, \u0026gt;200 → 400.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Dexploit\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.dexploit.dev/api-reference/wallet-pnl-v2/batch-positions-by-wallet-mint-pairs\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://dexploit.mintlify.site/_mintlify/api/og/v2?division=Wallet+PnL+%28v2%29\u0026amp;title=Batch+positions+by+%28wallet%2C+mint%29+pairs\u0026amp;description=Fetch+many+%28wallet%2C+mint%29+positions+in+one+call.+De-dups+internally+but+aligns+output+to+the+**original**+input+order+%28duplicates+echo+the+same+object%29.+%60realiz\u0026amp;theme=f6f2519bc2c8be188d72a998\u0026amp;signature=42a9a35b119c7feec0c0b70e5df103ce9bb0367fd04ed8a523eb15b2298ade6c\">\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=\"Batch positions by (wallet, mint) pairs - Dexploit\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Fetch many (wallet, mint) positions in one call. De-dups internally but aligns output to the original input order (duplicates echo the same object). realized_breakdown always present. Uncached. 1–200 pairs; empty → 400, \u0026gt;200 → 400.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://dexploit.mintlify.site/_mintlify/api/og/v2?division=Wallet+PnL+%28v2%29\u0026amp;title=Batch+positions+by+%28wallet%2C+mint%29+pairs\u0026amp;description=Fetch+many+%28wallet%2C+mint%29+positions+in+one+call.+De-dups+internally+but+aligns+output+to+the+**original**+input+order+%28duplicates+echo+the+same+object%29.+%60realiz\u0026amp;theme=f6f2519bc2c8be188d72a998\u0026amp;signature=42a9a35b119c7feec0c0b70e5df103ce9bb0367fd04ed8a523eb15b2298ade6c\">\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=\"/mintlify-assets/_mintlify/favicons/dexploit/_uI79AZXXY-sCQiS/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Dexploit\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#FFFFFF\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.dexploit.dev/api-reference/wallet-pnl-v2/batch-positions-by-wallet-mint-pairs\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-reference/wallet-pnl-v2/batch-positions-by-wallet-mint-pairs.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.dexploit.dev/#organization\",\"name\":\"Dexploit\",\"url\":\"https://docs.dexploit.dev\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/dexploit/a5GAVzvWfEir-z2b/logo/light.png?fit=max\u0026auto=format\u0026n=a5GAVzvWfEir-z2b\u0026q=85\u0026s=bef8ae40e01a89b5583761caf0837c64\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.dexploit.dev#website\",\"name\":\"Dexploit\",\"url\":\"https://docs.dexploit.dev\",\"publisher\":{\"@id\":\"https://docs.dexploit.dev/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.dexploit.dev/api-reference/wallet-pnl-v2/batch-positions-by-wallet-mint-pairs#webpage\",\"url\":\"https://docs.dexploit.dev/api-reference/wallet-pnl-v2/batch-positions-by-wallet-mint-pairs\",\"name\":\"Batch positions by (wallet, mint) pairs\",\"description\":\"Fetch many (wallet, mint) positions in one call. De-dups internally but aligns output to the original input order (duplicates echo the same object). realized_breakdown always present. Uncached. 1–200 pairs; empty → 400, >200 → 400.\",\"dateModified\":\"2026-11-19T15:33:48.725Z\",\"isPartOf\":{\"@id\":\"https://docs.dexploit.dev#website\"},\"breadcrumb\":{\"@id\":\"https://docs.dexploit.dev/api-reference/wallet-pnl-v2/batch-positions-by-wallet-mint-pairs#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.dexploit.dev/api-reference/wallet-pnl-v2/batch-positions-by-wallet-mint-pairs#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Wallet PnL (v2)\",\"item\":\"https://docs.dexploit.dev/api-reference/wallet-pnl-v2/wallet-cost-basis-pnl-summary\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Batch positions by (wallet, mint) pairs\",\"item\":\"https://docs.dexploit.dev/api-reference/wallet-pnl-v2/batch-positions-by-wallet-mint-pairs\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://docs.dexploit.dev/api-reference/wallet-pnl-v2/batch-positions-by-wallet-mint-pairs#apireference\",\"headline\":\"Batch positions by (wallet, mint) pairs\",\"name\":\"Batch positions by (wallet, mint) pairs\",\"description\":\"Fetch many (wallet, mint) positions in one call. De-dups internally but aligns output to the original input order (duplicates echo the same object). realized_breakdown always present. Uncached. 1–200 pairs; empty → 400, >200 → 400.\",\"url\":\"https://docs.dexploit.dev/api-reference/wallet-pnl-v2/batch-positions-by-wallet-mint-pairs\",\"mainEntityOfPage\":{\"@id\":\"https://docs.dexploit.dev/api-reference/wallet-pnl-v2/batch-positions-by-wallet-mint-pairs#webpage\"},\"dateModified\":\"2026-11-19T15:33:48.725Z\",\"publisher\":{\"@id\":\"https://docs.dexploit.dev/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.dexploit.dev#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Dexploit\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Dexploit\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/api-reference/wallet-pnl-v2/batch-positions-by-wallet-mint-pairs.md","siteName":"Dexploit","nav":{"global":{"anchors":[{"anchor":"Dashboard","icon":"gauge","href":"https://www.dexploit.dev/dashboard"},{"anchor":"GitHub Examples","icon":"github","href":"https://github.com/DexploitV1/Dexploit-Examples"},{"anchor":"Status","icon":"heart-pulse","href":"https://www.dexploit.dev/status"}]},"tabs":[{"tab":"Guides","pages":[{"title":"Guides","href":""}]},{"tab":"API reference","groups":[{"group":"Pairs","pages":[{"title":"List pools (pairs)","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/pairs","href":"/api-reference/pairs/list-pools-pairs"}]},{"group":"Candles (OHLCV)","pages":[{"title":"Historical candles for a pool","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/candles","href":"/api-reference/candles-ohlcv/historical-candles-for-a-pool"},{"title":"Most recent candles for a pool","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/candles/latest","href":"/api-reference/candles-ohlcv/most-recent-candles-for-a-pool"}]},{"group":"Swaps","pages":[{"title":"Latest swaps","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /swaps","href":"/api-reference/swaps/latest-swaps"},{"title":"Swaps in a time or slot range","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /swaps/range","href":"/api-reference/swaps/swaps-in-a-time-or-slot-range"},{"title":"Whale swaps (above threshold)","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /swaps/whale","href":"/api-reference/swaps/whale-swaps-above-threshold"},{"title":"Swaps of one transaction, by signature","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /swaps/{signature}","href":"/api-reference/swaps/swaps-of-one-transaction-by-signature"},{"title":"Swap history for a trader (with lifetime stats)","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /swaps/trader/{wallet}","href":"/api-reference/swaps/swap-history-for-a-trader-with-lifetime-stats"},{"title":"Swap history for a token (with lifetime stats)","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /swaps/token/{mint}","href":"/api-reference/swaps/swap-history-for-a-token-with-lifetime-stats"}]},{"group":"Stats \u0026 trends","pages":[{"title":"Global lifetime stats","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /stats/global","href":"/api-reference/stats-\u0026-trends/global-lifetime-stats"},{"title":"Stats for a trader","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /stats/trader/{wallet}","href":"/api-reference/stats-\u0026-trends/stats-for-a-trader"},{"title":"Stats for a token (across pools)","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /stats/token/{mint}","href":"/api-reference/stats-\u0026-trends/stats-for-a-token-across-pools"},{"title":"Batch stats for many tokens","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /stats/tokens","href":"/api-reference/stats-\u0026-trends/batch-stats-for-many-tokens"},{"title":"Trending tokens","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /trending","href":"/api-reference/stats-\u0026-trends/trending-tokens"},{"title":"Top price movers","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/top-movers","href":"/api-reference/stats-\u0026-trends/top-price-movers"},{"title":"List supported DEX protocols","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/protocols","href":"/api-reference/stats-\u0026-trends/list-supported-dex-protocols"},{"title":"Aggregate platform stats","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /api/v1/stats","href":"/api-reference/stats-\u0026-trends/aggregate-platform-stats"}]},{"group":"Tokens","pages":[{"title":"Batch token metadata","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /tokens","href":"/api-reference/tokens/batch-token-metadata"},{"title":"Single-token metadata","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /tokens/{mint}","href":"/api-reference/tokens/single-token-metadata"},{"title":"On-chain audit flags","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /tokens/{mint}/audit","href":"/api-reference/tokens/on-chain-audit-flags"},{"title":"Token intel — dashboard summary","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /tokens/{mint}/intel","href":"/api-reference/tokens/token-intel-—-dashboard-summary"},{"title":"Token holders (paginated)","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /tokens/{mint}/holders","href":"/api-reference/tokens/token-holders-paginated"},{"title":"Top 20 holders","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /tokens/{mint}/holders/top","href":"/api-reference/tokens/top-20-holders"},{"title":"Snipers holding this mint","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /tokens/{mint}/snipers","href":"/api-reference/tokens/snipers-holding-this-mint"},{"title":"Insiders holding this mint","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /tokens/{mint}/insiders","href":"/api-reference/tokens/insiders-holding-this-mint"},{"title":"Smart-money wallets holding this mint","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /tokens/{mint}/smart-money","href":"/api-reference/tokens/smart-money-wallets-holding-this-mint"},{"title":"Whale wallets holding this mint","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /tokens/{mint}/whales","href":"/api-reference/tokens/whale-wallets-holding-this-mint"},{"title":"Token risk score (glass-box)","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /tokens/{mint}/risk","href":"/api-reference/tokens/token-risk-score-glass-box"},{"title":"Token all-time-high price","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /tokens/{mint}/ath","href":"/api-reference/tokens/token-all-time-high-price"},{"title":"Bundler wallets for a mint","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /tokens/{mint}/bundlers","href":"/api-reference/tokens/bundler-wallets-for-a-mint"},{"title":"Newest tokens by creation time","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /tokens/latest","href":"/api-reference/tokens/newest-tokens-by-creation-time"},{"title":"Newest tokens (Solana-Tracker alias)","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /tokens/multi/all","href":"/api-reference/tokens/newest-tokens-solana-tracker-alias"},{"title":"Pump.fun tokens close to graduation","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /tokens/multi/graduating","href":"/api-reference/tokens/pumpfun-tokens-close-to-graduation"},{"title":"Pump.fun tokens that graduated","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /tokens/multi/graduated","href":"/api-reference/tokens/pumpfun-tokens-that-graduated"},{"title":"Batched token lookup","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /tokens/multi","href":"/api-reference/tokens/batched-token-lookup"}]},{"group":"Price","pages":[{"title":"Batched price lookup","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /price/multi","href":"/api-reference/price/batched-price-lookup"}]},{"group":"Charts \u0026 price history","pages":[{"title":"Historical price series for a token","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /price/history","href":"/api-reference/price/historical-price-series-for-a-token"},{"title":"Price at-or-before a timestamp","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /price/history/timestamp","href":"/api-reference/price/price-at-or-before-a-timestamp"},{"title":"Aggregated OHLCV over an arbitrary range","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /price/history/range","href":"/api-reference/price/aggregated-ohlcv-over-an-arbitrary-range"},{"title":"Chart-ready candle series with market cap","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /chart/{token}","href":"/api-reference/price/chart-ready-candle-series-with-market-cap"}]},{"group":"Time-series charts","pages":[{"title":"Holder-count time series for a token","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /holders/chart/{token}","href":"/api-reference/time-series-charts/holder-count-time-series-for-a-token"},{"title":"Sniper-count time series for a token","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /snipers/chart/{token}","href":"/api-reference/time-series-charts/sniper-count-time-series-for-a-token"},{"title":"Insider-count time series for a token","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /insiders/chart/{token}","href":"/api-reference/time-series-charts/insider-count-time-series-for-a-token"},{"title":"Bundler-count time series for a token","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /bundlers/chart/{token}","href":"/api-reference/time-series-charts/bundler-count-time-series-for-a-token"},{"title":"Combined actor time series (holders, snipers, insiders, dev)","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /tokens/{mint}/actor-chart","href":"/api-reference/time-series-charts/combined-actor-time-series-holders-snipers-insiders-dev"}]},{"group":"Wallet portfolio","pages":[{"title":"On-chain holdings with cost-basis overlay","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /wallets/{w}/holdings","href":"/api-reference/wallet-portfolio/on-chain-holdings-with-cost-basis-overlay"},{"title":"Fast FIFO-derived holdings","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /wallets/{w}/holdings/basic","href":"/api-reference/wallet-portfolio/fast-fifo-derived-holdings"},{"title":"Wallet trade history with per-trade PnL","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /wallets/{w}/trades","href":"/api-reference/wallet-portfolio/wallet-trade-history-with-per-trade-pnl"},{"title":"Daily portfolio value chart","deprecated":true,"version":null,"openapi":"/api-reference/openapi.json get /wallets/{w}/chart","href":"/api-reference/wallet-portfolio/daily-portfolio-value-chart"},{"title":"FIFO realized and unrealized PnL","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /wallets/{w}/pnl/basic","href":"/api-reference/wallet-portfolio/fifo-realized-and-unrealized-pnl"},{"title":"Native SOL balance","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /wallets/{w}/sol-balance","href":"/api-reference/wallet-portfolio/native-sol-balance"},{"title":"Aggregate wallet trading statistics","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /wallets/{w}/stats","href":"/api-reference/wallet-portfolio/aggregate-wallet-trading-statistics"}]},{"group":"Account","pages":[{"title":"RPS-tier usage snapshot","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /credits","href":"/api-reference/account/rps-tier-usage-snapshot"},{"title":"Current subscription status","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /subscription","href":"/api-reference/account/current-subscription-status"}]},{"group":"Wallet intel","pages":[{"title":"Wallet classification tags","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /wallets/{wallet}/tags","href":"/api-reference/wallet-intel/wallet-classification-tags"},{"title":"Per-tag count of holders for a token","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /tokens/{mint}/wallet-tag-counts","href":"/api-reference/wallet-intel/per-tag-count-of-holders-for-a-token"},{"title":"Tokens deployed by a wallet","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /deployer/{wallet}","href":"/api-reference/wallet-intel/tokens-deployed-by-a-wallet"}]},{"group":"Screener","pages":[{"title":"Filter tokens (screener)","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /screener","href":"/api-reference/screener/filter-tokens-screener"},{"title":"Flat query-string screener alias","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /search","href":"/api-reference/screener/flat-query-string-screener-alias"},{"title":"Known CEX wallets","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /exchange-traders","href":"/api-reference/screener/known-cex-wallets"},{"title":"Bot-tagged wallets","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /bot-traders","href":"/api-reference/screener/bot-tagged-wallets"}]},{"group":"Wallet PnL (v2)","pages":[{"title":"Wallet cost-basis PnL summary","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v2/pnl/wallets/{wallet}","href":"/api-reference/wallet-pnl-v2/wallet-cost-basis-pnl-summary"},{"title":"List a wallet's positions","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v2/pnl/wallets/{wallet}/positions","href":"/api-reference/wallet-pnl-v2/list-a-wallets-positions"},{"title":"Single (wallet, token) position","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v2/pnl/wallets/{wallet}/tokens/{token}","href":"/api-reference/wallet-pnl-v2/single-wallet-token-position"},{"title":"Daily PnL history series","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v2/pnl/wallets/{wallet}/history","href":"/api-reference/wallet-pnl-v2/daily-pnl-history-series"},{"title":"PnL chart + summary header","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v2/pnl/wallets/{wallet}/chart","href":"/api-reference/wallet-pnl-v2/pnl-chart-+-summary-header"},{"title":"Streaks, drawdown \u0026 best/worst day","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v2/pnl/wallets/{wallet}/performance","href":"/api-reference/wallet-pnl-v2/streaks-drawdown-\u0026-bestworst-day"},{"title":"Standout positions","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v2/pnl/wallets/{wallet}/highlights","href":"/api-reference/wallet-pnl-v2/standout-positions"},{"title":"Concentration \u0026 exposure risk","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v2/pnl/wallets/{wallet}/risk","href":"/api-reference/wallet-pnl-v2/concentration-\u0026-exposure-risk"},{"title":"Token first buyers","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v2/pnl/tokens/{token}/first-buyers","href":"/api-reference/wallet-pnl-v2/token-first-buyers"},{"title":"Token traders by realized PnL","description":"Traders of a token ranked by realized PnL (mode-selected, full breakdown included). `total` is the true total under LIMIT. `platform` and `dex` are accepted but ignored — each adds an entry to `warnings`. Cached 30s.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v2/pnl/tokens/{token}/traders","href":"/api-reference/wallet-pnl-v2/token-traders-by-realized-pnl"},{"title":"Batch positions by (wallet, mint) pairs","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v2/pnl/positions/batch","href":"/api-reference/wallet-pnl-v2/batch-positions-by-wallet-mint-pairs"},{"title":"Batch positions for one wallet across mints","description":"Positions for one wallet across many mints (`WHERE wallet=? AND mint IN(...)`). Aligned to the input `mints` (`null` for missing). `realized_breakdown` always present. 1–100 mints; empty → 400, >100 → 400.","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v2/pnl/wallets/{wallet}/positions/batch","href":"/api-reference/wallet-pnl-v2/batch-positions-for-one-wallet-across-mints"},{"title":"Batch positions for one token across wallets","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v2/pnl/tokens/{token}/positions/batch","href":"/api-reference/wallet-pnl-v2/batch-positions-for-one-token-across-wallets"},{"title":"Batch wallet PnL summaries","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json post /v2/pnl/wallets/batch","href":"/api-reference/wallet-pnl-v2/batch-wallet-pnl-summaries"}]},{"group":"Leaderboards \u0026 KOLs","pages":[{"title":"Top wallets by realized PnL","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v2/pnl/leaderboard/top","href":"/api-reference/leaderboards-\u0026-kols/top-wallets-by-realized-pnl"},{"title":"All-time KOL leaderboard","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v2/pnl/leaderboard/kols","href":"/api-reference/leaderboards-\u0026-kols/all-time-kol-leaderboard"},{"title":"KOL leaderboard, window-filtered","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v2/pnl/leaderboard/kols/period","href":"/api-reference/leaderboards-\u0026-kols/kol-leaderboard-window-filtered"},{"title":"KOL realized-PnL heatmap calendar","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v2/pnl/leaderboard/kols/calendar","href":"/api-reference/leaderboards-\u0026-kols/kol-realized-pnl-heatmap-calendar"},{"title":"Top KOLs on a single day","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /v2/pnl/leaderboard/kols/date","href":"/api-reference/leaderboards-\u0026-kols/top-kols-on-a-single-day"}]},{"group":"Pool events","pages":[{"title":"LP and burn events for a token","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /pool-events","href":"/api-reference/pool-events/lp-and-burn-events-for-a-token"}]},{"group":"Rugs","pages":[{"title":"Recent rugs (all venues)","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /rugs","href":"/api-reference/rugs/recent-rugs-all-venues"},{"title":"Rug history for one mint","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /tokens/{mint}/rugs","href":"/api-reference/rugs/rug-history-for-one-mint"}]},{"group":"Pump lifecycle","pages":[{"title":"Pump.fun token lifecycle events","deprecated":null,"version":null,"openapi":"/api-reference/openapi.json get /pump-lifecycle","href":"/api-reference/pump-lifecycle/pumpfun-token-lifecycle-events"}]},{"group":"GraphQL","pages":[{"title":"GraphQL","href":"/api-reference/graphql"}]}]},{"tab":"Webstreams","pages":[{"title":"Webstreams","href":"/streaming/websocket"}]}]},"basePath":"","title":"Batch positions by (wallet, mint) pairs - Dexploit","deploymentId":"dpl_BLZw3QngerHodH9E8mGgC4v752y3","buildId":"dpl_BLZw3QngerHodH9E8mGgC4v752y3","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-CaRkHcld.js","snippetPresets-CbOVSLWB.js","utils-cjri0g4r.js","style-to-object-BY3JEAdk.js","utils-DINdUa17.js","v4-DIgz8zy6.js","addTypeLabelsToSchema-B6z-PJGf.js","conditional-requirements-CFM0id0Q.js","cloneDeep-BldndzCM.js","_Uint8Array-BFUkDgJK.js","isObject-FP1Yky1u.js","ApiExamples-gah5G0c1.js","usePlaygroundInputsStore-DMbftGRK.js","shallow-BPuQ-dV8.js","isEqual-Du6c450V.js","CodeSnippets-BSVM0Ibi.js","CodeSnippet-BtGQRZnK.js","use-playground-group-access-98JyaSW7.js","Page-DuvGhd6e.js","api-description-markdown-ja0XM5Ae.js","DynamicMarkdown-DgKZ4_wp.js","SectionHeading-S4Jc_qPe.js","MethodPill-HIsDH_bI.js","getPastedJson-BKEmMYEO.js","Check2Icon-CRFAnWm9.js","axios-CsQoIw0U.js","Markdown-CexXCNoj.js","AssistantPageLink-C2AZnMAs.js","dist-CjxLTLs9.js","lib-DMeTj1gb.js","lib-B8HbPgcC.js","katex-Dbtb6Wk7.js","html-void-elements-mCSPHezU.js","marked.esm-CZWythHk.js"]}