Supports pagination for viewing large transaction sets
Required
currency: Specify the currency for price values
Optional
shareToken OR portfolioId: Provide one of these to identify the portfolio.
shareToken: Get this from your CoinStats portfolio page by clicking “Share”
portfolioId: Any of your portfolios from GET /portfolio/list
If neither is provided, returns transactions from all your portfolios
page & limit: Control the number of transactions per page
coinId: Filter transactions for a specific coin
types: Filter by one or more comma-separated transaction types, for example balance or deposit,withdraw. The full list of supported values is available via GET /portfolio/transactions/types.
passcode: Passcode for accessing protected portfolio data (can be passed in header or query parameter)
hideUnidentifiedCoins: Set to true to hide transactions of unidentified coins. Defaults to false.
excludeDetectedSpam: Set to true to leave out wallet transactions the CoinStats spam check flagged. Defaults to false.
API key required to access the endpoints. Generate one from your dashboard at https://openapi.coinstats.app and pass it in the X-API-KEY request header. Never expose your key in client-side code.
When true, leaves out transactions that the CoinStats spam check flagged during sync, such as tokens airdropped to many wallets or transfers larger than the coin can exist. A lookup by txId always returns the transaction. Accepted values: true, false, 1, 0. Defaults to false.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"CoinStats PublicAPI","colors":{"primary":"#FF9332","light":"#FFB347","dark":"#EA5237"},"logo":{"light":"https://mintcdn.com/dev-c758229b/t8KX4os34x2U4jMV/api-docs/assets/light.svg?fit=max\u0026auto=format\u0026n=t8KX4os34x2U4jMV\u0026q=85\u0026s=420a1f730c8e4b41b5d12614976160c3","dark":"https://mintcdn.com/dev-c758229b/t8KX4os34x2U4jMV/api-docs/assets/dark.svg?fit=max\u0026auto=format\u0026n=t8KX4os34x2U4jMV\u0026q=85\u0026s=64ead17e5af2338361e658ff70aad94d","href":"https://coinstats.app/api-docs"},"favicon":"https://mintcdn.com/dev-c758229b/t8KX4os34x2U4jMV/api-docs/assets/favicon.svg?fit=max\u0026auto=format\u0026n=t8KX4os34x2U4jMV\u0026q=85\u0026s=08c1eec7f131f92e2d261ec6ea0e5018","api":{"playground":{"proxy":false}},"navbar":{"links":[{"href":"https://help.coinstats.app/en/articles/12002063","label":"Support"}],"primary":{"type":"button","label":"Dashboard","href":"https://openapi.coinstats.app"}},"footer":{"socials":{"website":"https://coinstats.app","github":"https://github.com/CoinStatsHQ","x":"https://x.com/coinstats"},"links":[{"header":"Support \u0026 Help","items":[{"label":"Help Center","href":"https://help.coinstats.app/en/articles/12002063"}]},{"header":"Contact","items":[{"label":"Telegram API Support","href":"https://t.me/+JPUMD1QAMTNmNGQy"},{"label":"Email Support","href":"mailto:api.support@coinstats.app"}]}]},"seo":{"metatags":{"canonical":"https://coinstats.app","description":"Unified crypto data API — wallets, markets, DeFi, and portfolios across 120+ blockchains through a single integration.","author":"CoinStats","language":"en","robots":"index, follow","og:type":"website","og:site_name":"CoinStats API Documentation","og:image":"https://static.coinstats.app/z/coinstats_open_api.png","og:locale":"en_US","twitter:card":"summary_large_image","twitter:site":"@coinstats","twitter:creator":"@coinstats","twitter:image":"https://static.coinstats.app/z/coinstats_open_api.png","apple-mobile-web-app-title":"CoinStats API","application-name":"CoinStats API Documentation","theme-color":"#FF9332"},"indexing":"all"},"integrations":{"ga4":{"measurementId":"G-34DH4BL5B9"}},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"styling":{"latex":true},"navigation":{"global":{"anchors":[{"anchor":"Api Keys","icon":"key","href":"https://openapi.coinstats.app"},{"anchor":"CoinStats","icon":"globe","href":"https://coinstats.app"},{"anchor":"Telegram API Support","icon":"telegram","href":"https://t.me/+JPUMD1QAMTNmNGQy"},{"anchor":"X","icon":"x-twitter","href":"https://x.com/coinstats"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"dev-c758229b","hasAudioNarration":false,"actualSubdomain":"dev-c758229b","customDomains":["coinstats.app"],"gitSource":{"type":"github","owner":"coinstatshq","repo":"coinstats-public-api-v2","deployBranch":"main","contentDirectory":"mintlify-docs","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6ae46b0aab76b29675b189eb","collectionId":"93e6776b-1b0d-4a41-8db1-8221d0eaa3d9","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6ae46b0aab76b29675b189eb"},"feedback":{"edits":true,"thumbs":true,"issues":true},"entitlements":{"AI_CHAT":{"status":"ENABLED"},"WEB_MCP":{"status":"ENABLED"},"NARRATION":{"status":"ENABLED"}},"buildId":"6ae46b0aab76b29675b189eb","clientVersion":"0.0.4043","searchFilterCounts":[{"language":"default","tag":"API reference","count":111},{"language":"default","tag":"Wallets \u0026 Portfolios","count":45},{"language":"default","tag":"Market Data","count":35},{"language":"default","tag":"Prediction Markets","count":31},{"language":"default","tag":"Home","count":22},{"language":"default","tag":"User Portfolio","count":18},{"language":"default","tag":"Wallet Data","count":16},{"language":"default","tag":"Coins \u0026 Prices","count":12},{"language":"default","tag":"NFTs","count":12},{"language":"default","tag":"Traders","count":10}]},"assistantConfig":{},"basePath":"/api-docs","hasChatPermissions":true,"hasWebMcpPermissions":true,"toggles":[],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"api-docs/openapi/get-portfolio-transactions","slug":"/api-docs/openapi/get-portfolio-transactions","pageMetadata":{"title":"Get Portfolio Transactions","description":"Get a detailed history of all transactions in your portfolio","deprecated":null,"version":null,"sidebarTitle":"Get portfolio transactions","og:title":"Get Portfolio Transactions","openapi":"/api-docs/api-reference/openapi.json get /v1/portfolio/transactions","href":"/api-docs/openapi/get-portfolio-transactions","autogeneratedByOpenApi":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: \"Get a detailed history of all transactions in your portfolio\"\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 _components={a:`a`,li:`li`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{Accordion,AccordionGroup,Note}=_components;if(!Accordion)_missingMdxReference(`Accordion`,true);if(!AccordionGroup)_missingMdxReference(`AccordionGroup`,true);if(!Note)_missingMdxReference(`Note`,true);return _jsxs(_Fragment,{children:[_jsxs(Note,{children:[_jsx(_components.strong,{children:`4`}),` credits per request`]}),`\n`,_jsx(`hr`,{}),`\n`,_jsxs(AccordionGroup,{children:[_jsx(Accordion,{title:`You will get`,id:`you-will-get`,children:_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Complete list of buy/sell operations`}),`\n`,_jsx(_components.li,{children:`Transaction dates and amounts`}),`\n`,_jsx(_components.li,{children:`Price information at time of transaction`}),`\n`,_jsx(_components.li,{children:`Supports pagination for viewing large transaction sets`}),`\n`]})}),_jsx(Accordion,{title:`Required`,id:`required`,children:_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`currency: Specify the currency for price values`}),`\n`]})}),_jsx(Accordion,{title:`Optional`,id:`optional`,children:_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`shareToken OR portfolioId: Provide one of these to identify the portfolio.`,`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`shareToken: Get this from your CoinStats portfolio page by clicking “Share”`}),`\n`,_jsx(_components.li,{children:`portfolioId: Any of your portfolios from GET /portfolio/list`}),`\n`]}),`\n`]}),`\n`,_jsx(_components.li,{children:`If neither is provided, returns transactions from all your portfolios`}),`\n`,_jsx(_components.li,{children:`page \u0026 limit: Control the number of transactions per page`}),`\n`,_jsx(_components.li,{children:`coinId: Filter transactions for a specific coin`}),`\n`,_jsxs(_components.li,{children:[`types: Filter by one or more comma-separated transaction types, for example balance or deposit,withdraw. The full list of supported values is available via GET `,_jsx(_components.a,{href:`/openapi/get-portfolio-transaction-types`,children:`/portfolio/transactions/types`}),`.`]}),`\n`,_jsx(_components.li,{children:`passcode: Passcode for accessing protected portfolio data (can be passed in header or query parameter)`}),`\n`,_jsx(_components.li,{children:`hideUnidentifiedCoins: Set to true to hide transactions of unidentified coins. Defaults to false.`}),`\n`,_jsx(_components.li,{children:`excludeDetectedSpam: Set to true to leave out wallet transactions the CoinStats spam check flagged. Defaults to false.`}),`\n`]})})]})]})}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":"Get Portfolio Transactions","description":"Get a detailed history of all transactions in your portfolio","deprecated":null,"version":null,"sidebarTitle":"Get portfolio transactions","og:title":"Get Portfolio Transactions","openapi":"/api-docs/api-reference/openapi.json get /v1/portfolio/transactions","href":"/api-docs/openapi/get-portfolio-transactions","autogeneratedByOpenApi":true}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[],"codeExamples":{}},"jsLinks":[],"openApiReferenceData":{"operation":{"operationId":"get-portfolio-transactions","parameters":["7678986c-18fa-41fc-9fd8-ab2ba2de354f","cfd2b358-0158-4f5d-a937-c33caa7f4619","0aacd7b4-ebdf-472c-aff7-f266450ca4fe","8ccb0f00-4153-4b9f-9643-c13f3c7e3bc4","06250bd7-1b8a-4dbf-8291-00ca942e998c","705b8bd0-44f6-46ef-ab3d-6a5bb46428e4","50166c5c-8121-45b7-9e2f-d50ab83a49f2","0b26d2d7-5013-4a6c-bc35-ea2d15ca06b6","80311705-190b-4a00-b277-af35c7c71345","5c684bab-75c9-4d2c-835a-1f0ae284942c"],"responses":{"200":"52de50bc-b5a9-4aeb-97b9-3a5e3b4ceb10","400":"62231af4-30ea-43a5-a071-66dfda458777","401":"e80fb9d5-8486-4b31-9a84-289a826a02d9","403":"7de50acc-9e8c-463d-86dd-6d101c41ffd4","404":"c7c57e70-e5ed-4ae7-bc16-a12718a73f43","409":"09420c2f-cbfa-4d25-82c4-300ccf332368","429":"3756d889-40ea-460e-8cb8-a803ccd6113e","503":"76446ea4-ddc3-4a86-8866-680fb56c3de0"},"security":["3bbe3c00-65b9-4561-a587-a3d97c823fdb"],"summary":"Get a detailed history of all transactions in your portfolio","tags":["User Portfolio"],"x-mint":{"content":"\u003cNote>**4** credits per request\u003c/Note>\u003chr/>\n \u003cAccordionGroup>\n\u003cAccordion title=\"You will get\">\n- Complete list of buy/sell operations\n- Transaction dates and amounts\n- Price information at time of transaction\n- Supports pagination for viewing large transaction sets\n\u003c/Accordion>\n\u003cAccordion title=\"Required\">\n- currency: Specify the currency for price values\n\u003c/Accordion>\n\u003cAccordion title=\"Optional\">\n- shareToken OR portfolioId: Provide one of these to identify the portfolio.\n - shareToken: Get this from your CoinStats portfolio page by clicking \"Share\"\n - portfolioId: Any of your portfolios from GET /portfolio/list\n- If neither is provided, returns transactions from all your portfolios\n- page \u0026 limit: Control the number of transactions per page\n- coinId: Filter transactions for a specific coin\n- types: Filter by one or more comma-separated transaction types, for example balance or deposit,withdraw. The full list of supported values is available via GET [/portfolio/transactions/types](/openapi/get-portfolio-transaction-types).\n- passcode: Passcode for accessing protected portfolio data (can be passed in header or query parameter)\n- hideUnidentifiedCoins: Set to true to hide transactions of unidentified coins. Defaults to false.\n- excludeDetectedSpam: Set to true to leave out wallet transactions the CoinStats spam check flagged. Defaults to false.\n\u003c/Accordion>\n\u003c/AccordionGroup>","metadata":{"title":"Get Portfolio Transactions","description":"Get a detailed history of all transactions in your portfolio","og:title":"Get Portfolio Transactions"},"href":"/openapi/get-portfolio-transactions"},"x-codeSamples":[{"lang":"curl","label":"cURL","source":"curl --request GET \\\n --url 'https://api.coinstats.app/v1/portfolio/transactions?currency=USD' \\\n --header 'X-API-KEY: \u003capi-key>'"},{"lang":"python","label":"Python","source":"import requests\n\nurl = \"https://api.coinstats.app/v1/portfolio/transactions?currency=USD\"\n\nheaders = {\"X-API-KEY\": \"\u003capi-key>\"}\n\nresponse = requests.request(\"GET\", url, headers=headers)\n\nprint(response.json())"},{"lang":"javascript","label":"JavaScript","source":"const options = {method: 'GET', headers: {'X-API-KEY': '\u003capi-key>'}};\n\nfetch('https://api.coinstats.app/v1/portfolio/transactions?currency=USD', options)\n .then((response) => response.json())\n .then((response) => console.log(response))\n .catch((err) => console.error(err));"},{"lang":"php","label":"PHP","source":"\u003c?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n CURLOPT_URL => \"https://api.coinstats.app/v1/portfolio/transactions?currency=USD\",\n CURLOPT_RETURNTRANSFER => true,\n CURLOPT_CUSTOMREQUEST => \"GET\",\n CURLOPT_HTTPHEADER => [\n \"X-API-KEY: \u003capi-key>\"\n ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n echo \"cURL Error #:\" . $err;\n} else {\n echo $response;\n}"},{"lang":"go","label":"Go","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"io\"\n\t\"net/http\"\n)\n\nfunc main() {\n\n\turl := \"https://api.coinstats.app/v1/portfolio/transactions?currency=USD\"\n\n\treq, _ := http.NewRequest(\"GET\", url, nil)\n\n\treq.Header.Add(\"X-API-KEY\", \"\u003capi-key>\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := io.ReadAll(res.Body)\n\n\tfmt.Println(string(body))\n}"},{"lang":"java","label":"Java","source":"HttpResponse\u003cString> response = Unirest.get(\"https://api.coinstats.app/v1/portfolio/transactions?currency=USD\")\n .header(\"X-API-KEY\", \"\u003capi-key>\")\n .asString();"}],"method":"get","type":"path","servers":["e476816d-4626-4813-b199-a541d98947c0"],"path":"/v1/portfolio/transactions","baseUrlOptions":["https://api.coinstats.app"],"title":"Get a detailed history of all transactions in your portfolio","description":"Get a detailed history of all transactions in your portfolio","codeSamples":[{"label":"cURL","lang":"curl","source":"curl --request GET \\\n --url 'https://api.coinstats.app/v1/portfolio/transactions?currency=USD' \\\n --header 'X-API-KEY: \u003capi-key>'"},{"label":"Python","lang":"python","source":"import requests\n\nurl = \"https://api.coinstats.app/v1/portfolio/transactions?currency=USD\"\n\nheaders = {\"X-API-KEY\": \"\u003capi-key>\"}\n\nresponse = requests.request(\"GET\", url, headers=headers)\n\nprint(response.json())"},{"label":"JavaScript","lang":"javascript","source":"const options = {method: 'GET', headers: {'X-API-KEY': '\u003capi-key>'}};\n\nfetch('https://api.coinstats.app/v1/portfolio/transactions?currency=USD', options)\n .then((response) => response.json())\n .then((response) => console.log(response))\n .catch((err) => console.error(err));"},{"label":"PHP","lang":"php","source":"\u003c?php\n\n$curl = curl_init();\n\ncurl_setopt_array($curl, [\n CURLOPT_URL => \"https://api.coinstats.app/v1/portfolio/transactions?currency=USD\",\n CURLOPT_RETURNTRANSFER => true,\n CURLOPT_CUSTOMREQUEST => \"GET\",\n CURLOPT_HTTPHEADER => [\n \"X-API-KEY: \u003capi-key>\"\n ],\n]);\n\n$response = curl_exec($curl);\n$err = curl_error($curl);\n\ncurl_close($curl);\n\nif ($err) {\n echo \"cURL Error #:\" . $err;\n} else {\n echo $response;\n}"},{"label":"Go","lang":"go","source":"package main\n\nimport (\n\t\"fmt\"\n\t\"io\"\n\t\"net/http\"\n)\n\nfunc main() {\n\n\turl := \"https://api.coinstats.app/v1/portfolio/transactions?currency=USD\"\n\n\treq, _ := http.NewRequest(\"GET\", url, nil)\n\n\treq.Header.Add(\"X-API-KEY\", \"\u003capi-key>\")\n\n\tres, _ := http.DefaultClient.Do(req)\n\n\tdefer res.Body.Close()\n\tbody, _ := io.ReadAll(res.Body)\n\n\tfmt.Println(string(body))\n}"},{"label":"Java","lang":"java","source":"HttpResponse\u003cString> response = Unirest.get(\"https://api.coinstats.app/v1/portfolio/transactions?currency=USD\")\n .header(\"X-API-KEY\", \"\u003capi-key>\")\n .asString();"}],"requiredOnlyExamples":false,"requestExampleType":"codeSamples","responseExampleType":"generated","disableProxy":true},"dependencies":{"parameters":{"7678986c-18fa-41fc-9fd8-ab2ba2de354f":{"name":"sharetoken","required":false,"in":"header","description":"[Get Share Token](/sharetoken)","schema":{"type":"string","isRequired":false,"description":"[Get Share Token](/sharetoken)","uniqueKey":"","typeLabel":"string"}},"cfd2b358-0158-4f5d-a937-c33caa7f4619":{"name":"passcode","required":false,"in":"header","description":"Passcode for accessing protected portfolio data","schema":{"example":"123456","type":"string","isRequired":false,"description":"Passcode for accessing protected portfolio data","uniqueKey":"","typeLabel":"string"}},"0aacd7b4-ebdf-472c-aff7-f266450ca4fe":{"name":"page","required":false,"in":"query","description":"Page number to retrieve (1-based indexing)","schema":{"type":"number","example":1,"isRequired":false,"description":"Page number to retrieve (1-based indexing)","uniqueKey":"","typeLabel":"number"}},"8ccb0f00-4153-4b9f-9643-c13f3c7e3bc4":{"name":"limit","required":false,"in":"query","description":"Number of items to return per page","schema":{"type":"number","example":20,"isRequired":false,"description":"Number of items to return per page","uniqueKey":"","typeLabel":"number"}},"06250bd7-1b8a-4dbf-8291-00ca942e998c":{"name":"currency","required":true,"in":"query","description":"The fiat currency to return values in","schema":{"type":"string","example":"USD","isRequired":true,"description":"The fiat currency to return values in","uniqueKey":"","typeLabel":"string"}},"705b8bd0-44f6-46ef-ab3d-6a5bb46428e4":{"name":"coinId","required":false,"in":"query","description":"Coin ID to filter transactions for a specific coin","schema":{"example":"bitcoin","type":"string","isRequired":false,"description":"Coin ID to filter transactions for a specific coin","uniqueKey":"","typeLabel":"string"}},"50166c5c-8121-45b7-9e2f-d50ab83a49f2":{"name":"types","required":false,"in":"query","description":"Comma-separated transaction types to filter by. The full list of supported values is available via GET [/portfolio/transactions/types](/openapi/get-portfolio-transaction-types).","schema":{"example":"balance","type":"string","isRequired":false,"description":"Comma-separated transaction types to filter by. The full list of supported values is available via GET [/portfolio/transactions/types](/openapi/get-portfolio-transaction-types).","uniqueKey":"","typeLabel":"string"}},"0b26d2d7-5013-4a6c-bc35-ea2d15ca06b6":{"name":"hideUnidentifiedCoins","required":false,"in":"query","description":"When true, hides transactions of unidentified coins. Accepted values: true, false, 1, 0. Defaults to false.","schema":{"default":false,"example":true,"type":"boolean","isRequired":false,"description":"When true, hides transactions of unidentified coins. Accepted values: true, false, 1, 0. Defaults to false.","uniqueKey":"","typeLabel":"boolean"}},"80311705-190b-4a00-b277-af35c7c71345":{"name":"excludeDetectedSpam","required":false,"in":"query","description":"When true, leaves out transactions that the CoinStats spam check flagged during sync, such as tokens airdropped to many wallets or transfers larger than the coin can exist. A lookup by txId always returns the transaction. Accepted values: true, false, 1, 0. Defaults to false.","schema":{"default":false,"example":true,"type":"boolean","isRequired":false,"description":"When true, leaves out transactions that the CoinStats spam check flagged during sync, such as tokens airdropped to many wallets or transfers larger than the coin can exist. A lookup by txId always returns the transaction. Accepted values: true, false, 1, 0. Defaults to false.","uniqueKey":"","typeLabel":"boolean"}},"5c684bab-75c9-4d2c-835a-1f0ae284942c":{"name":"portfolioId","required":false,"in":"query","description":"Portfolio ID from GET /portfolio/list (any of your portfolios). Omit to aggregate all your portfolios.","schema":{"example":"abc123def456","type":"string","isRequired":false,"description":"Portfolio ID from GET /portfolio/list (any of your portfolios). Omit to aggregate all your portfolios.","uniqueKey":"","typeLabel":"string"}}},"responses":{"52de50bc-b5a9-4aeb-97b9-3a5e3b4ceb10":{"description":"Transactions","content":{"application/json":{"schema":{"type":"object","properties":{"data":{"description":"Array of transaction items","type":"array","items":{"type":"object","properties":{"transactionType":{"type":"string","description":"Display type of the transaction (e.g., Sent, Received, Swap, Roll In). The full list of supported types is available via GET [/portfolio/transactions/types](/openapi/get-portfolio-transaction-types) — this field matches its `name` values.","example":"Roll In","isRequired":true,"uniqueKey":"data.items.[INDEX].transactionType","typeLabel":"string"},"date":{"type":"string","description":"ISO 8601 timestamp of when the transaction occurred","example":"2025-08-28T08:35:50.384Z","isRequired":true,"uniqueKey":"data.items.[INDEX].date","typeLabel":"string"},"profitLoss":{"type":"object","description":"Profit and loss information for the transaction","required":["profit","profitPercent","currentValue"],"properties":{"profit":{"type":"number","description":"Profit or loss amount in USD (positive for profit, negative for loss)","example":-0.21637050600000052,"isRequired":true,"uniqueKey":"data.items.[INDEX].profitLoss.profit","typeLabel":"number"},"profitPercent":{"type":"number","description":"Profit or loss percentage (positive for profit, negative for loss)","example":-3.5658153241650377,"isRequired":true,"uniqueKey":"data.items.[INDEX].profitLoss.profitPercent","typeLabel":"number"},"currentValue":{"type":"number","description":"Current market value of the position in USD","example":5.851540654,"isRequired":true,"uniqueKey":"data.items.[INDEX].profitLoss.currentValue","typeLabel":"number"}},"isRequired":true,"uniqueKey":"data.items.[INDEX].profitLoss","typeLabel":"object"},"fee":{"type":"object","description":"Transaction fee information","required":["coin","count","totalWorth","price"],"properties":{"coin":{"type":"object","description":"Information about the coin used for transaction fees","required":["rank","identifier","symbol","name","icon","priceChange24h","priceChange1h","priceChange7d","priceChange1m","volume"],"properties":{"rank":{"type":"number","example":2,"description":"Market rank of the coin","isRequired":true,"uniqueKey":"data.items.[INDEX].fee.coin.rank","typeLabel":"number"},"identifier":{"type":"string","example":"ethereum","description":"Unique identifier for the coin","isRequired":true,"uniqueKey":"data.items.[INDEX].fee.coin.identifier","typeLabel":"string"},"symbol":{"type":"string","example":"ETH","description":"Trading symbol of the coin","isRequired":true,"uniqueKey":"data.items.[INDEX].fee.coin.symbol","typeLabel":"string"},"name":{"type":"string","description":"Full name of the coin","example":"Ethereum","isRequired":true,"uniqueKey":"data.items.[INDEX].fee.coin.name","typeLabel":"string"},"icon":{"type":"string","example":"https://static.coinstats.app/coins/1650455629727.png","description":"URL to the coin icon image","isRequired":true,"uniqueKey":"data.items.[INDEX].fee.coin.icon","typeLabel":"string"},"priceChange24h":{"type":"number","example":-5.74,"description":"Price change percentage in the last 24 hours","isRequired":true,"uniqueKey":"data.items.[INDEX].fee.coin.priceChange24h","typeLabel":"number"},"priceChange1h":{"type":"number","example":0.1,"description":"Price change percentage in the last 1 hour","isRequired":true,"uniqueKey":"data.items.[INDEX].fee.coin.priceChange1h","typeLabel":"number"},"priceChange7d":{"type":"number","example":1.12,"description":"Price change percentage in the last 7 days","isRequired":true,"uniqueKey":"data.items.[INDEX].fee.coin.priceChange7d","typeLabel":"number"},"priceChange1m":{"type":"number","example":8.42,"description":"Price change percentage in the last 1 month","isRequired":true,"uniqueKey":"data.items.[INDEX].fee.coin.priceChange1m","typeLabel":"number"},"volume":{"type":"number","example":61315198931.43572,"description":"Trading volume in the last 24 hours (USD)","isRequired":true,"uniqueKey":"data.items.[INDEX].fee.coin.volume","typeLabel":"number"},"isFake":{"type":"boolean","example":false,"description":"Whether the coin is identified as fake","uniqueKey":"data.items.[INDEX].fee.coin.isFake","typeLabel":"boolean"},"isFiat":{"type":"boolean","example":false,"description":"Whether the coin is a fiat currency","uniqueKey":"data.items.[INDEX].fee.coin.isFiat","typeLabel":"boolean"}},"isRequired":true,"uniqueKey":"data.items.[INDEX].fee.coin","typeLabel":"object"},"count":{"type":"number","description":"Amount of fee paid","example":0.001,"isRequired":true,"uniqueKey":"data.items.[INDEX].fee.count","typeLabel":"number"},"totalWorth":{"type":"number","description":"Total worth of the fee in USD","example":25.5,"isRequired":true,"uniqueKey":"data.items.[INDEX].fee.totalWorth","typeLabel":"number"},"price":{"type":"number","description":"Price per unit of the fee coin in USD","example":25500,"isRequired":true,"uniqueKey":"data.items.[INDEX].fee.price","typeLabel":"number"},"toAddress":{"type":"string","description":"Destination address for the fee transaction","example":"0x42382d7853beb8d0ec968de4184a6a3c89cf6b5f","uniqueKey":"data.items.[INDEX].fee.toAddress","typeLabel":"string"},"fromAddress":{"type":"string","description":"Source address for the fee transaction","example":"0x8ac77cbf06b44ec918e4ed99698e83a0be222e0e","uniqueKey":"data.items.[INDEX].fee.fromAddress","typeLabel":"string"}},"isRequired":true,"uniqueKey":"data.items.[INDEX].fee","typeLabel":"object"},"portfolioInfo":{"type":"object","description":"Information about the portfolio where the transaction occurred","required":["name","icon"],"properties":{"name":{"type":"string","description":"Name of the portfolio or exchange where the transaction occurred","example":"KuCoin Spot","isRequired":true,"uniqueKey":"data.items.[INDEX].portfolioInfo.name","typeLabel":"string"},"icon":{"type":"string","description":"URL to the portfolio or exchange icon","example":"https://static.coinstats.app/portfolio_images/kucoin_dark.png","isRequired":true,"uniqueKey":"data.items.[INDEX].portfolioInfo.icon","typeLabel":"string"}},"isRequired":true,"uniqueKey":"data.items.[INDEX].portfolioInfo","typeLabel":"object"},"coinData":{"type":"object","description":"Main coin data for the transaction (optional for some transaction types)","required":["identifier","count","symbol","totalWorth","currentValue"],"properties":{"identifier":{"type":"string","description":"Unique identifier for the coin in the transaction","example":"pepe","isRequired":true,"uniqueKey":"data.items.[INDEX].coinData.identifier","typeLabel":"string"},"count":{"type":"number","description":"Amount of coins involved in the transaction (can be negative)","example":596062,"isRequired":true,"uniqueKey":"data.items.[INDEX].coinData.count","typeLabel":"number"},"symbol":{"type":"string","description":"Trading symbol of the coin","example":"PEPE","isRequired":true,"uniqueKey":"data.items.[INDEX].coinData.symbol","typeLabel":"string"},"totalWorth":{"type":"number","description":"Total worth of the coins at transaction time in USD","example":6.06791116,"isRequired":true,"uniqueKey":"data.items.[INDEX].coinData.totalWorth","typeLabel":"number"},"currentValue":{"type":"number","description":"Current market value of the coins in USD","example":5.851540654,"isRequired":true,"uniqueKey":"data.items.[INDEX].coinData.currentValue","typeLabel":"number"}},"uniqueKey":"data.items.[INDEX].coinData","typeLabel":"object"},"transfers":{"description":"List of transfers involved in the transaction (e.g., coins received/sent)","type":"array","items":{"type":"object","properties":{"transferType":{"type":"string","description":"Type of transfer operation","example":"Received","enum":["Received","Sent"],"isRequired":true,"uniqueKey":"data.items.[INDEX].transfers.items.[INDEX].transferType","typeLabel":"enum\u003cstring>"},"items":{"description":"List of items involved in the transfer","type":"array","items":{"type":"object","properties":{"coin":{"type":"object","description":"Information about the coin being transferred","required":["rank","identifier","symbol","name","icon","priceChange24h","priceChange1h","priceChange7d","priceChange1m","volume"],"properties":{"rank":{"type":"number","example":2,"description":"Market rank of the coin","isRequired":true,"uniqueKey":"data.items.[INDEX].transfers.items.[INDEX].\\items.items.[INDEX].coin.rank","typeLabel":"number"},"identifier":{"type":"string","example":"ethereum","description":"Unique identifier for the coin","isRequired":true,"uniqueKey":"data.items.[INDEX].transfers.items.[INDEX].\\items.items.[INDEX].coin.identifier","typeLabel":"string"},"symbol":{"type":"string","example":"ETH","description":"Trading symbol of the coin","isRequired":true,"uniqueKey":"data.items.[INDEX].transfers.items.[INDEX].\\items.items.[INDEX].coin.symbol","typeLabel":"string"},"name":{"type":"string","description":"Full name of the coin","example":"Ethereum","isRequired":true,"uniqueKey":"data.items.[INDEX].transfers.items.[INDEX].\\items.items.[INDEX].coin.name","typeLabel":"string"},"icon":{"type":"string","example":"https://static.coinstats.app/coins/1650455629727.png","description":"URL to the coin icon image","isRequired":true,"uniqueKey":"data.items.[INDEX].transfers.items.[INDEX].\\items.items.[INDEX].coin.icon","typeLabel":"string"},"priceChange24h":{"type":"number","example":-5.74,"description":"Price change percentage in the last 24 hours","isRequired":true,"uniqueKey":"data.items.[INDEX].transfers.items.[INDEX].\\items.items.[INDEX].coin.priceChange24h","typeLabel":"number"},"priceChange1h":{"type":"number","example":0.1,"description":"Price change percentage in the last 1 hour","isRequired":true,"uniqueKey":"data.items.[INDEX].transfers.items.[INDEX].\\items.items.[INDEX].coin.priceChange1h","typeLabel":"number"},"priceChange7d":{"type":"number","example":1.12,"description":"Price change percentage in the last 7 days","isRequired":true,"uniqueKey":"data.items.[INDEX].transfers.items.[INDEX].\\items.items.[INDEX].coin.priceChange7d","typeLabel":"number"},"priceChange1m":{"type":"number","example":8.42,"description":"Price change percentage in the last 1 month","isRequired":true,"uniqueKey":"data.items.[INDEX].transfers.items.[INDEX].\\items.items.[INDEX].coin.priceChange1m","typeLabel":"number"},"volume":{"type":"number","example":61315198931.43572,"description":"Trading volume in the last 24 hours (USD)","isRequired":true,"uniqueKey":"data.items.[INDEX].transfers.items.[INDEX].\\items.items.[INDEX].coin.volume","typeLabel":"number"},"isFake":{"type":"boolean","example":false,"description":"Whether the coin is identified as fake","uniqueKey":"data.items.[INDEX].transfers.items.[INDEX].\\items.items.[INDEX].coin.isFake","typeLabel":"boolean"},"isFiat":{"type":"boolean","example":false,"description":"Whether the coin is a fiat currency","uniqueKey":"data.items.[INDEX].transfers.items.[INDEX].\\items.items.[INDEX].coin.isFiat","typeLabel":"boolean"}},"isRequired":true,"uniqueKey":"data.items.[INDEX].transfers.items.[INDEX].\\items.items.[INDEX].coin","typeLabel":"object"},"count":{"type":"number","description":"Amount of coins transferred (can be negative for outgoing transfers)","example":-0.00000544,"uniqueKey":"data.items.[INDEX].transfers.items.[INDEX].\\items.items.[INDEX].count","typeLabel":"number"},"toAddress":{"type":"string","description":"Destination wallet address","example":"0x42382d7853beb8d0ec968de4184a6a3c89cf6b5f","uniqueKey":"data.items.[INDEX].transfers.items.[INDEX].\\items.items.[INDEX].toAddress","typeLabel":"string"},"fromAddress":{"type":"string","description":"Source wallet address","example":"0x8ac77cbf06b44ec918e4ed99698e83a0be222e0e","uniqueKey":"data.items.[INDEX].transfers.items.[INDEX].\\items.items.[INDEX].fromAddress","typeLabel":"string"},"totalWorth":{"type":"number","description":"Total worth of the transferred amount in USD","example":0.0000054389555199999995,"uniqueKey":"data.items.[INDEX].transfers.items.[INDEX].\\items.items.[INDEX].totalWorth","typeLabel":"number"},"price":{"type":"number","description":"Price per unit of the coin in USD at the time of transfer","example":0.999808,"uniqueKey":"data.items.[INDEX].transfers.items.[INDEX].\\items.items.[INDEX].price","typeLabel":"number"}},"required":["coin"],"uniqueKey":"data.items.[INDEX].transfers.items.[INDEX].\\items.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"data.items.[INDEX].transfers.items.[INDEX].\\items","typeLabel":"object[]"}},"required":["transferType","items"],"uniqueKey":"data.items.[INDEX].transfers.items.[INDEX]","typeLabel":"object"},"uniqueKey":"data.items.[INDEX].transfers","typeLabel":"object[]"},"note":{"type":"object","description":"Transaction Notes","required":["name","icon"],"properties":{"name":{"type":"string","description":"Name of the portfolio or exchange where the transaction occurred","example":"KuCoin Spot","isRequired":true,"uniqueKey":"data.items.[INDEX].note.name","typeLabel":"string"},"icon":{"type":"string","description":"URL to the portfolio or exchange icon","example":"https://static.coinstats.app/portfolio_images/kucoin_dark.png","isRequired":true,"uniqueKey":"data.items.[INDEX].note.icon","typeLabel":"string"}},"uniqueKey":"data.items.[INDEX].note","typeLabel":"object"}},"required":["transactionType","date","profitLoss","fee","portfolioInfo"],"uniqueKey":"data.items.[INDEX]","typeLabel":"object"},"isRequired":true,"uniqueKey":"data","typeLabel":"object[]"},"meta":{"type":"object","description":"Pagination metadata","required":["page","limit"],"properties":{"page":{"type":"number","description":"The current page number","example":1,"isRequired":true,"uniqueKey":"meta.page","typeLabel":"number"},"limit":{"type":"number","description":"The number of items per page","example":10,"isRequired":true,"uniqueKey":"meta.limit","typeLabel":"number"}},"isRequired":true,"uniqueKey":"meta","typeLabel":"object"}},"required":["data","meta"],"uniqueKey":"","typeLabel":"object"},"examples":{"Example":{"title":"Example","value":{"data":[{"transactionType":"Roll In","date":"2025-08-28T08:35:50.384Z","profitLoss":{"profit":-0.21637050600000052,"profitPercent":-3.5658153241650377,"currentValue":5.851540654},"fee":{"coin":{"rank":2,"identifier":"ethereum","symbol":"ETH","name":"Ethereum","icon":"https://static.coinstats.app/coins/1650455629727.png","priceChange24h":-5.74,"priceChange1h":0.1,"priceChange7d":1.12,"priceChange1m":8.42,"volume":61315198931.43572,"isFake":false,"isFiat":false},"count":0.001,"totalWorth":25.5,"price":25500,"toAddress":"0x42382d7853beb8d0ec968de4184a6a3c89cf6b5f","fromAddress":"0x8ac77cbf06b44ec918e4ed99698e83a0be222e0e"},"portfolioInfo":{"name":"KuCoin Spot","icon":"https://static.coinstats.app/portfolio_images/kucoin_dark.png"},"coinData":{"identifier":"pepe","count":596062,"symbol":"PEPE","totalWorth":6.06791116,"currentValue":5.851540654},"transfers":[{"transferType":"Received","items":[{"coin":{"rank":2,"identifier":"ethereum","symbol":"ETH","name":"Ethereum","icon":"https://static.coinstats.app/coins/1650455629727.png","priceChange24h":-5.74,"priceChange1h":0.1,"priceChange7d":1.12,"priceChange1m":8.42,"volume":61315198931.43572,"isFake":false,"isFiat":false},"count":-0.00000544,"toAddress":"0x42382d7853beb8d0ec968de4184a6a3c89cf6b5f","fromAddress":"0x8ac77cbf06b44ec918e4ed99698e83a0be222e0e","totalWorth":0.0000054389555199999995,"price":0.999808}]}],"note":{"name":"KuCoin Spot","icon":"https://static.coinstats.app/portfolio_images/kucoin_dark.png"}}],"meta":{"page":1,"limit":10}}}},"exampleType":"generated"}},"exampleType":"generated"},"62231af4-30ea-43a5-a071-66dfda458777":{"description":"Bad Request","content":{"application/json":{"example":{"statusCode":400,"message":"Bad Request","requestId":"11111111-2222-3333-4444-555555555555","path":"\u003crequested-endpoint>"},"examples":{"Example":{"title":"Example","value":{"statusCode":400,"message":"Bad Request","requestId":"11111111-2222-3333-4444-555555555555","path":"\u003crequested-endpoint>"}}},"exampleType":"examples"}},"exampleType":"examples"},"e80fb9d5-8486-4b31-9a84-289a826a02d9":{"description":"Unauthorized","content":{"application/json":{"example":{"statusCode":401,"message":"Unauthorized","requestId":"11111111-2222-3333-4444-555555555555","path":"\u003crequested-endpoint>"},"examples":{"Example":{"title":"Example","value":{"statusCode":401,"message":"Unauthorized","requestId":"11111111-2222-3333-4444-555555555555","path":"\u003crequested-endpoint>"}}},"exampleType":"examples"}},"exampleType":"examples"},"7de50acc-9e8c-463d-86dd-6d101c41ffd4":{"description":"Forbidden","content":{"application/json":{"example":{"statusCode":403,"message":"Forbidden","requestId":"11111111-2222-3333-4444-555555555555","path":"\u003crequested-endpoint>"},"examples":{"Example":{"title":"Example","value":{"statusCode":403,"message":"Forbidden","requestId":"11111111-2222-3333-4444-555555555555","path":"\u003crequested-endpoint>"}}},"exampleType":"examples"}},"exampleType":"examples"},"c7c57e70-e5ed-4ae7-bc16-a12718a73f43":{"description":"Not Found","content":{"application/json":{"example":{"statusCode":404,"message":"Not Found","requestId":"11111111-2222-3333-4444-555555555555","path":"\u003crequested-endpoint>"},"examples":{"Example":{"title":"Example","value":{"statusCode":404,"message":"Not Found","requestId":"11111111-2222-3333-4444-555555555555","path":"\u003crequested-endpoint>"}}},"exampleType":"examples"}},"exampleType":"examples"},"09420c2f-cbfa-4d25-82c4-300ccf332368":{"description":"Conflict (for some endpoints)","content":{"application/json":{"example":{"statusCode":409,"message":"Transactions not synced","requestId":"11111111-2222-3333-4444-555555555555","path":"\u003crequested-endpoint>"},"examples":{"Example":{"title":"Example","value":{"statusCode":409,"message":"Transactions not synced","requestId":"11111111-2222-3333-4444-555555555555","path":"\u003crequested-endpoint>"}}},"exampleType":"examples"}},"exampleType":"examples"},"3756d889-40ea-460e-8cb8-a803ccd6113e":{"description":"Too Many Requests","content":{"application/json":{"example":{"statusCode":429,"message":"Rate limit exceeded","requestId":"11111111-2222-3333-4444-555555555555","path":"\u003crequested-endpoint>"},"examples":{"Example":{"title":"Example","value":{"statusCode":429,"message":"Rate limit exceeded","requestId":"11111111-2222-3333-4444-555555555555","path":"\u003crequested-endpoint>"}}},"exampleType":"examples"}},"exampleType":"examples"},"76446ea4-ddc3-4a86-8866-680fb56c3de0":{"description":"Service Unavailable","content":{"application/json":{"example":{"statusCode":503,"message":"Service Unavailable. Please Contact Support"},"examples":{"Example":{"title":"Example","value":{"statusCode":503,"message":"Service Unavailable. Please Contact Support"}}},"exampleType":"examples"}},"exampleType":"examples"}},"security":{"3bbe3c00-65b9-4561-a587-a3d97c823fdb":{"X-API-KEY":{"type":"apiKey","in":"header","name":"X-API-KEY","description":"API key required to access the endpoints. Generate one from your dashboard at https://openapi.coinstats.app and pass it in the `X-API-KEY` request header. Never expose your key in client-side code.","scopes":[],"schemeName":"X-API-KEY"}}},"servers":{"e476816d-4626-4813-b199-a541d98947c0":{"url":"https://api.coinstats.app"}},"processedSecurityOptions":[{"schemes":[{"scheme":{"type":"apiKey","in":"header","name":"X-API-KEY","description":"API key required to access the endpoints. Generate one from your dashboard at https://openapi.coinstats.app and pass it in the `X-API-KEY` request header. Never expose your key in client-side code.","scopes":[],"schemeName":"X-API-KEY"},"schema":{"title":"X-API-KEY","type":"string","description":"API key required to access the endpoints. Generate one from your dashboard at https://openapi.coinstats.app and pass it in the `X-API-KEY` request header. Never expose your key in client-side code.","isRequired":true,"typeLabel":"string","deprecated":false},"schemeName":"X-API-KEY","name":"X-API-KEY"}],"title":"X-API-KEY"}]},"originalFileLocation":"api-docs/api-reference/openapi.json"},"subdomain":"dev-c758229b","siteName":"CoinStats PublicAPI","title":"Get Portfolio Transactions","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-30T10:01:54.573Z","originalFileLocation":"api-docs/openapi/get-portfolio-transactions.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=\"Get a detailed history of all transactions in your portfolio\">\u003cmeta data-mint-head name=\"application-name\" content=\"CoinStats PublicAPI\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003cmeta data-mint-head name=\"robots\" content=\"index, follow\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/dev-c758229b/xCGASWQYDIemCUkO/_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/dev-c758229b/xCGASWQYDIemCUkO/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/dev-c758229b/xCGASWQYDIemCUkO/_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/dev-c758229b/xCGASWQYDIemCUkO/_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/dev-c758229b/xCGASWQYDIemCUkO/_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/dev-c758229b/xCGASWQYDIemCUkO/_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/dev-c758229b/xCGASWQYDIemCUkO/_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/dev-c758229b/xCGASWQYDIemCUkO/_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/dev-c758229b/xCGASWQYDIemCUkO/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Get Portfolio Transactions\">\u003cmeta data-mint-head property=\"og:description\" content=\"Get a detailed history of all transactions in your portfolio\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"CoinStats API Documentation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://coinstats.app/api-docs/openapi/get-portfolio-transactions\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://static.coinstats.app/z/coinstats_open_api.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=\"Get Portfolio Transactions\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Get a detailed history of all transactions in your portfolio\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://static.coinstats.app/z/coinstats_open_api.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=\"/mintlify-assets/_mintlify/favicons/dev-c758229b/xCGASWQYDIemCUkO/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"CoinStats API\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#FF9332\">\u003cmeta data-mint-head name=\"og:locale\" content=\"en_US\">\u003cmeta data-mint-head name=\"author\" content=\"CoinStats\">\u003cmeta data-mint-head name=\"language\" content=\"en\">\u003cmeta data-mint-head name=\"twitter:creator\" content=\"@coinstats\">\u003cmeta data-mint-head name=\"application-name\" content=\"CoinStats API Documentation\">\u003cmeta data-mint-head name=\"theme-color\" content=\"#FF9332\">\u003clink data-mint-head rel=\"canonical\" href=\"https://coinstats.app/api-docs/openapi/get-portfolio-transactions\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api-docs/openapi/get-portfolio-transactions.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://coinstats.app/#organization\",\"name\":\"CoinStats PublicAPI\",\"url\":\"https://coinstats.app\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/dev-c758229b/t8KX4os34x2U4jMV/api-docs/assets/light.svg?fit=max\u0026auto=format\u0026n=t8KX4os34x2U4jMV\u0026q=85\u0026s=420a1f730c8e4b41b5d12614976160c3\"}},{\"@type\":\"WebSite\",\"@id\":\"https://coinstats.app#website\",\"name\":\"CoinStats PublicAPI\",\"url\":\"https://coinstats.app\",\"publisher\":{\"@id\":\"https://coinstats.app/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://coinstats.app/api-docs/openapi/get-portfolio-transactions#webpage\",\"url\":\"https://coinstats.app/api-docs/openapi/get-portfolio-transactions\",\"name\":\"Get Portfolio Transactions\",\"description\":\"Get a detailed history of all transactions in your portfolio\",\"dateModified\":\"2026-10-30T10:01:54.573Z\",\"isPartOf\":{\"@id\":\"https://coinstats.app#website\"},\"breadcrumb\":{\"@id\":\"https://coinstats.app/api-docs/openapi/get-portfolio-transactions#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://coinstats.app/api-docs/openapi/get-portfolio-transactions#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Wallets \u0026 Portfolios\",\"item\":\"https://coinstats.app/api-docs/openapi/get-blockchains\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"User Portfolio\",\"item\":\"https://coinstats.app/api-docs/openapi/get-portfolio-list\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Get Portfolio Transactions\",\"item\":\"https://coinstats.app/api-docs/openapi/get-portfolio-transactions\"}]},{\"@type\":[\"TechArticle\",\"APIReference\"],\"@id\":\"https://coinstats.app/api-docs/openapi/get-portfolio-transactions#apireference\",\"headline\":\"Get Portfolio Transactions\",\"name\":\"Get Portfolio Transactions\",\"description\":\"Get a detailed history of all transactions in your portfolio\",\"url\":\"https://coinstats.app/api-docs/openapi/get-portfolio-transactions\",\"mainEntityOfPage\":{\"@id\":\"https://coinstats.app/api-docs/openapi/get-portfolio-transactions#webpage\"},\"image\":\"https://static.coinstats.app/z/coinstats_open_api.png\",\"dateModified\":\"2026-10-30T10:01:54.573Z\",\"publisher\":{\"@id\":\"https://coinstats.app/#organization\"},\"isPartOf\":{\"@id\":\"https://coinstats.app#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"CoinStats PublicAPI\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"CoinStats PublicAPI","nav":{"global":{"anchors":[{"anchor":"Api Keys","icon":"key","href":"https://openapi.coinstats.app"},{"anchor":"CoinStats","icon":"globe","href":"https://coinstats.app"},{"anchor":"Telegram API Support","icon":"telegram","href":"https://t.me/+JPUMD1QAMTNmNGQy"},{"anchor":"X","icon":"x-twitter","href":"https://x.com/coinstats"}]},"tabs":[{"tab":"Home","icon":"house","pages":[{"title":"Home","href":"/api-docs"}]},{"tab":"API reference","icon":"code","pages":[{"title":"API Reference","href":"/api-docs/api-reference/introduction"},{"group":"Market Data","pages":[{"group":"Coins \u0026 Prices","icon":"coins","expanded":false,"pages":[{"title":"Get Coins","deprecated":null,"version":null,"sidebarTitle":"Get coins","openapi":"/api-docs/api-reference/openapi.json get /v1/coins","href":"/api-docs/openapi/get-coins"},{"title":"Get Coin By Id","deprecated":null,"version":null,"sidebarTitle":"Get coin by id","openapi":"/api-docs/api-reference/openapi.json get /v1/coins/{coinId}","href":"/api-docs/openapi/get-coin-by-id"},{"title":"Get Coin Chart By Id","deprecated":null,"version":null,"sidebarTitle":"Get coin chart by id","openapi":"/api-docs/api-reference/openapi.json get /v1/coins/{coinId}/charts","href":"/api-docs/openapi/get-coin-chart-by-id"},{"title":"Get Coins Charts","deprecated":null,"version":null,"sidebarTitle":"Get coins charts","openapi":"/api-docs/api-reference/openapi.json get /v1/coins/charts","href":"/api-docs/openapi/get-coins-charts"},{"title":"Get Coin Avg Price","deprecated":null,"version":null,"sidebarTitle":"Get coin avg price","openapi":"/api-docs/api-reference/openapi.json get /v1/coins/price/avg","href":"/api-docs/openapi/get-coin-avg-price"},{"title":"Get Coin Exchange Price","deprecated":null,"version":null,"sidebarTitle":"Get coin exchange price","openapi":"/api-docs/api-reference/openapi.json get /v1/coins/price/exchange","href":"/api-docs/openapi/get-coin-exchange-price"},{"title":"Get Ohlcv Candles","deprecated":null,"version":null,"sidebarTitle":"Get ohlcv candles","openapi":"/api-docs/api-reference/openapi.json get /v1/ohlcv/candles","href":"/api-docs/openapi/get-ohlcv-candles"},{"title":"Get Ticker Exchanges","deprecated":null,"version":null,"sidebarTitle":"Get ticker exchanges","openapi":"/api-docs/api-reference/openapi.json get /v1/tickers/exchanges","href":"/api-docs/openapi/get-ticker-exchanges"},{"title":"Get Ticker Markets","deprecated":null,"version":null,"sidebarTitle":"Get ticker markets","openapi":"/api-docs/api-reference/openapi.json get /v1/tickers/markets","href":"/api-docs/openapi/get-ticker-markets"},{"title":"Get Fiat Currencies","deprecated":null,"version":null,"sidebarTitle":"Get fiat currencies","openapi":"/api-docs/api-reference/openapi.json get /v1/fiats","href":"/api-docs/openapi/get-fiat-currencies"},{"title":"Get Market Cap","deprecated":null,"version":null,"sidebarTitle":"Get market cap","openapi":"/api-docs/api-reference/openapi.json get /v1/markets","href":"/api-docs/openapi/get-market-cap"},{"title":"Get Currencies","deprecated":null,"version":null,"sidebarTitle":"Get currencies","openapi":"/api-docs/api-reference/openapi.json get /v1/currencies","href":"/api-docs/openapi/get-currencies"}]},{"group":"Real-world Assets","icon":"landmark","expanded":false,"pages":[{"title":"Get Rwa Overview","deprecated":null,"version":null,"sidebarTitle":"Get rwa overview","openapi":"/api-docs/api-reference/openapi.json get /v1/rwa/overview","href":"/api-docs/openapi/get-rwa-overview"},{"title":"Get Rwa Assets","deprecated":null,"version":null,"sidebarTitle":"Get rwa assets","openapi":"/api-docs/api-reference/openapi.json get /v1/rwa/assets","href":"/api-docs/openapi/get-rwa-assets"},{"title":"Get Rwa History","deprecated":null,"version":null,"sidebarTitle":"Get rwa history","openapi":"/api-docs/api-reference/openapi.json get /v1/rwa/history","href":"/api-docs/openapi/get-rwa-history"},{"title":"Get Rwa Asset","deprecated":null,"version":null,"sidebarTitle":"Get rwa asset","openapi":"/api-docs/api-reference/openapi.json get /v1/rwa/assets/{rwaId}","href":"/api-docs/openapi/get-rwa-asset"},{"title":"Get Rwa Tokens","deprecated":null,"version":null,"sidebarTitle":"Get rwa tokens","openapi":"/api-docs/api-reference/openapi.json get /v1/rwa/assets/{rwaId}/tokens","href":"/api-docs/openapi/get-rwa-tokens"},{"title":"Get Rwa Markets","deprecated":null,"version":null,"sidebarTitle":"Get rwa markets","openapi":"/api-docs/api-reference/openapi.json get /v1/rwa/assets/{rwaId}/markets","href":"/api-docs/openapi/get-rwa-markets"},{"title":"Get Rwa Asset History","deprecated":null,"version":null,"sidebarTitle":"Get rwa asset history","openapi":"/api-docs/api-reference/openapi.json get /v1/rwa/assets/{rwaId}/history","href":"/api-docs/openapi/get-rwa-asset-history"}]},{"group":"Market Insights","icon":"lightbulb","expanded":false,"pages":[{"title":"Btc Dominance","deprecated":null,"version":null,"sidebarTitle":"Btc dominance","openapi":"/api-docs/api-reference/openapi.json get /v1/insights/btc-dominance","href":"/api-docs/openapi/btc-dominance"},{"title":"Fear And Greed","deprecated":null,"version":null,"sidebarTitle":"Fear and greed","openapi":"/api-docs/api-reference/openapi.json get /v1/insights/fear-and-greed","href":"/api-docs/openapi/fear-and-greed"},{"title":"Fear And Greed Chart","deprecated":null,"version":null,"sidebarTitle":"Fear and greed chart","openapi":"/api-docs/api-reference/openapi.json get /v1/insights/fear-and-greed/chart","href":"/api-docs/openapi/fear-and-greed-chart"},{"title":"Rainbow Chart","deprecated":null,"version":null,"sidebarTitle":"Rainbow chart","openapi":"/api-docs/api-reference/openapi.json get /v1/insights/rainbow-chart/{coinId}","href":"/api-docs/openapi/rainbow-chart"}]},{"group":"News","icon":"newspaper","expanded":false,"pages":[{"title":"Get News Sources","deprecated":null,"version":null,"sidebarTitle":"Get news sources","openapi":"/api-docs/api-reference/openapi.json get /v1/news/sources","href":"/api-docs/openapi/get-news-sources"},{"title":"Get News","deprecated":null,"version":null,"sidebarTitle":"Get news","openapi":"/api-docs/api-reference/openapi.json get /v1/news","href":"/api-docs/openapi/get-news"},{"title":"Get News By Type","deprecated":null,"version":null,"sidebarTitle":"Get news by type","openapi":"/api-docs/api-reference/openapi.json get /v1/news/type/{type}","href":"/api-docs/openapi/get-news-by-type"},{"title":"Get News By Id","deprecated":null,"version":null,"sidebarTitle":"Get news by id","openapi":"/api-docs/api-reference/openapi.json get /v1/news/{id}","href":"/api-docs/openapi/get-news-by-id"}]},{"group":"NFTs","icon":"image","expanded":false,"pages":[{"title":"Get NFT Collection By Address","deprecated":null,"version":null,"sidebarTitle":"Get NFT collection","openapi":"/api-docs/api-reference/openapi.json get /v1/nft/collection/{collectionAddress}","href":"/api-docs/openapi/get-nft-collection-by-address"},{"title":"Get NFT Collection Owners","deprecated":null,"version":null,"sidebarTitle":"Get NFT collection owners","openapi":"/api-docs/api-reference/openapi.json get /v1/nft/collection/{collectionAddress}/owners","href":"/api-docs/openapi/get-nft-collection-owners"},{"title":"Get NFT Collection Assets By Address","deprecated":null,"version":null,"sidebarTitle":"Get NFT collection assets","openapi":"/api-docs/api-reference/openapi.json get /v1/nft/{collectionAddress}/assets","href":"/api-docs/openapi/get-nft-collection-assets-by-address"},{"title":"Get NFT Collection Asset By Token ID","deprecated":null,"version":null,"sidebarTitle":"Get NFT asset by token ID","openapi":"/api-docs/api-reference/openapi.json get /v1/nft/{collectionAddress}/asset/{tokenId}","href":"/api-docs/openapi/get-nft-collection-asset-by-tokenid"},{"title":"Get NFT Tokens Batch","deprecated":null,"version":null,"sidebarTitle":"Get NFTs in batch","openapi":"/api-docs/api-reference/openapi.json post /v1/nft/tokens/batch","href":"/api-docs/openapi/get-nft-tokens-batch"},{"title":"Refresh NFT Asset Metadata","deprecated":null,"version":null,"sidebarTitle":"Refresh NFT metadata","openapi":"/api-docs/api-reference/openapi.json post /v1/nft/{collectionAddress}/asset/{tokenId}/refresh","href":"/api-docs/openapi/refresh-nft-asset-metadata"},{"title":"Get Trending NFTs","deprecated":null,"version":null,"sidebarTitle":"Get trending NFTs","openapi":"/api-docs/api-reference/openapi.json get /v1/nft/trending","href":"/api-docs/openapi/get-trending-nfts"}]},{"group":"Token Risks","icon":"shield-halved","expanded":false,"pages":[{"title":"Token Risks","deprecated":null,"version":null,"sidebarTitle":"Token risks","openapi":"/api-docs/api-reference/openapi.json get /v1/token-risks","href":"/api-docs/openapi/token-risks"}]}]},{"group":"Wallets \u0026 Portfolios","pages":[{"group":"Wallet Data","icon":"wallet","expanded":false,"pages":[{"title":"Get Blockchains","deprecated":null,"version":null,"sidebarTitle":"Get blockchains","openapi":"/api-docs/api-reference/openapi.json get /v1/wallet/blockchains","href":"/api-docs/openapi/get-blockchains"},{"title":"Get Wallet Balance","deprecated":null,"version":null,"sidebarTitle":"Get wallet balance","openapi":"/api-docs/api-reference/openapi.json get /v1/wallet/balance","href":"/api-docs/openapi/get-wallet-balance"},{"title":"Get Wallet Balance Many","deprecated":null,"version":null,"sidebarTitle":"Get wallet balance many","openapi":"/api-docs/api-reference/openapi.json get /v1/wallet/balance/many","href":"/api-docs/openapi/get-wallet-balance-many"},{"title":"Transactions Sync","deprecated":null,"version":null,"sidebarTitle":"Transactions sync","openapi":"/api-docs/api-reference/openapi.json patch /v1/wallet/transactions","href":"/api-docs/openapi/transactions-sync"},{"title":"Get Wallet Transactions","deprecated":null,"version":null,"sidebarTitle":"Get wallet transactions","openapi":"/api-docs/api-reference/openapi.json get /v1/wallet/transactions","href":"/api-docs/openapi/get-wallet-transactions"},{"title":"Get Wallet Transaction Types","deprecated":null,"version":null,"sidebarTitle":"Get wallet transaction types","openapi":"/api-docs/api-reference/openapi.json get /v1/wallet/transactions/types","href":"/api-docs/openapi/get-wallet-transaction-types"},{"title":"Get Wallet Sync Status","deprecated":null,"version":null,"sidebarTitle":"Get wallet sync status","openapi":"/api-docs/api-reference/openapi.json get /v1/wallet/status","href":"/api-docs/openapi/get-wallet-sync-status"},{"title":"get wallet profit \u0026 loss","deprecated":null,"version":null,"sidebarTitle":"Get wallet pl","openapi":"/api-docs/api-reference/openapi.json get /v1/wallet/pl","href":"/api-docs/openapi/get-wallet-pl"},{"title":"Get Wallet PnL History","deprecated":null,"version":null,"sidebarTitle":"Get wallet pl history","openapi":"/api-docs/api-reference/openapi.json get /v1/wallet/pl/history","href":"/api-docs/openapi/get-wallet-pl-history"},{"title":"Wallet Chart","deprecated":null,"version":null,"sidebarTitle":"Wallet chart","openapi":"/api-docs/api-reference/openapi.json get /v1/wallet/chart","href":"/api-docs/openapi/wallet-chart"},{"title":"Wallet Chart Many","deprecated":null,"version":null,"sidebarTitle":"Wallet chart many","openapi":"/api-docs/api-reference/openapi.json get /v1/wallet/chart/many","href":"/api-docs/openapi/wallet-chart-many"},{"title":"Get Wallet Defi","deprecated":null,"version":null,"sidebarTitle":"Get wallet defi","openapi":"/api-docs/api-reference/openapi.json get /v1/wallet/defi","href":"/api-docs/openapi/get-wallet-defi"}]},{"group":"NFTs","icon":"image","expanded":false,"pages":[{"title":"Get Wallet NFTs","deprecated":null,"version":null,"sidebarTitle":"Get wallet NFTs","openapi":"/api-docs/api-reference/openapi.json get /v1/wallet/nft","href":"/api-docs/openapi/get-wallet-nfts"},{"title":"Get Wallet NFT Collections","deprecated":null,"version":null,"sidebarTitle":"Get wallet NFT collections","openapi":"/api-docs/api-reference/openapi.json get /v1/wallet/nft/collections","href":"/api-docs/openapi/get-wallet-nft-collections"},{"title":"Get Wallet NFT Summary","deprecated":null,"version":null,"sidebarTitle":"Get wallet NFT summary","openapi":"/api-docs/api-reference/openapi.json get /v1/wallet/nft/summary","href":"/api-docs/openapi/get-wallet-nft-summary"},{"title":"Get Wallet NFT Activity","deprecated":null,"version":null,"sidebarTitle":"Get wallet NFT activity","openapi":"/api-docs/api-reference/openapi.json get /v1/wallet/nft/activity","href":"/api-docs/openapi/get-wallet-nft-activity"},{"title":"Get Wallet NFT Holds","deprecated":null,"version":null,"sidebarTitle":"Check wallet NFT holdings","openapi":"/api-docs/api-reference/openapi.json get /v1/wallet/nft/holds","href":"/api-docs/openapi/get-wallet-nft-holds"}]},{"group":"Ordinals \u0026 Runes","icon":"bitcoin-sign","expanded":false,"pages":[{"title":"Get Wallet Ordinals","deprecated":null,"version":null,"sidebarTitle":"Get wallet ordinals","openapi":"/api-docs/api-reference/openapi.json get /v1/wallet/ordinals","href":"/api-docs/openapi/get-wallet-ordinals"},{"title":"Get Wallet Runes","deprecated":null,"version":null,"sidebarTitle":"Get wallet runes","openapi":"/api-docs/api-reference/openapi.json get /v1/wallet/runes","href":"/api-docs/openapi/get-wallet-runes"}]},{"group":"Perpetuals","icon":"arrow-trend-up","expanded":false,"pages":[{"title":"Get Perpetual Positions","deprecated":null,"version":null,"sidebarTitle":"Get perpetual positions","openapi":"/api-docs/api-reference/openapi.json get /v1/portfolio/perpetual/positions","href":"/api-docs/openapi/get-perpetual-positions"},{"title":"Get Perpetual Trades","deprecated":null,"version":null,"sidebarTitle":"Get perpetual trades","openapi":"/api-docs/api-reference/openapi.json get /v1/portfolio/perpetual/trades","href":"/api-docs/openapi/get-perpetual-trades"}]},{"group":"Exchange Connection","icon":"arrow-right-arrow-left","expanded":false,"pages":[{"title":"Get Exchanges","deprecated":null,"version":null,"sidebarTitle":"Get exchanges","openapi":"/api-docs/api-reference/openapi.json get /v1/exchange/support","href":"/api-docs/openapi/get-exchanges"},{"title":"Get Exchange Balance","deprecated":null,"version":null,"sidebarTitle":"Get exchange balance","openapi":"/api-docs/api-reference/openapi.json post /v1/exchange/balance","href":"/api-docs/openapi/get-exchange-balance"},{"title":"Get Exchange Sync Status","deprecated":null,"version":null,"sidebarTitle":"Get exchange sync status","openapi":"/api-docs/api-reference/openapi.json get /v1/exchange/status","href":"/api-docs/openapi/get-exchange-sync-status"},{"title":"Get Exchange Transactions","deprecated":null,"version":null,"sidebarTitle":"Get exchange transactions","openapi":"/api-docs/api-reference/openapi.json get /v1/exchange/transactions","href":"/api-docs/openapi/get-exchange-transactions"},{"title":"Get Exchange Transaction Types","deprecated":null,"version":null,"sidebarTitle":"Get exchange transaction types","openapi":"/api-docs/api-reference/openapi.json get /v1/exchange/transactions/types","href":"/api-docs/openapi/get-exchange-transaction-types"},{"title":"Get Exchange PnL","deprecated":null,"version":null,"sidebarTitle":"Get exchange pl","openapi":"/api-docs/api-reference/openapi.json get /v1/exchange/pl","href":"/api-docs/openapi/get-exchange-pl"},{"title":"Get Exchange PnL History","deprecated":null,"version":null,"sidebarTitle":"Get exchange pl history","openapi":"/api-docs/api-reference/openapi.json get /v1/exchange/pl/history","href":"/api-docs/openapi/get-exchange-pl-history"},{"title":"Get Exchange Chart","deprecated":null,"version":null,"sidebarTitle":"Get exchange chart","openapi":"/api-docs/api-reference/openapi.json get /v1/exchange/chart","href":"/api-docs/openapi/get-exchange-chart"},{"title":"Exchange Sync Status","deprecated":null,"version":null,"sidebarTitle":"Exchange sync status","openapi":"/api-docs/api-reference/openapi.json patch /v1/exchange/sync","href":"/api-docs/openapi/exchange-sync-status"}]},{"group":"User Portfolio","icon":"briefcase","expanded":false,"pages":[{"title":"Get Portfolio List","deprecated":null,"version":null,"sidebarTitle":"Get portfolio list","openapi":"/api-docs/api-reference/openapi.json get /v1/portfolio/list","href":"/api-docs/openapi/get-portfolio-list"},{"title":"Connect Portfolio Wallet","deprecated":null,"version":null,"sidebarTitle":"Connect portfolio wallet","openapi":"/api-docs/api-reference/openapi.json post /v1/portfolio/wallet","href":"/api-docs/openapi/connect-portfolio-wallet"},{"title":"Connect Portfolio Exchange","deprecated":null,"version":null,"sidebarTitle":"Connect portfolio exchange","openapi":"/api-docs/api-reference/openapi.json post /v1/portfolio/exchange","href":"/api-docs/openapi/connect-portfolio-exchange"},{"title":"Get Portfolio Value","deprecated":null,"version":null,"sidebarTitle":"Get portfolio value","openapi":"/api-docs/api-reference/openapi.json get /v1/portfolio/value","href":"/api-docs/openapi/get-portfolio-value"},{"title":"Get Portfolio Coins","deprecated":null,"version":null,"sidebarTitle":"Get portfolio coins","openapi":"/api-docs/api-reference/openapi.json get /v1/portfolio/coins","href":"/api-docs/openapi/get-portfolio-coins"},{"title":"Get Portfolio Chart","deprecated":null,"version":null,"sidebarTitle":"Get portfolio chart","openapi":"/api-docs/api-reference/openapi.json get /v1/portfolio/chart","href":"/api-docs/openapi/get-portfolio-chart"},{"title":"Get Portfolio PnL History","description":"Get a cash-flow-adjusted historical portfolio P\u0026L chart","deprecated":null,"version":null,"sidebarTitle":"Get portfolio pl history","openapi":"/api-docs/api-reference/openapi.json get /v1/portfolio/pl/history","href":"/api-docs/openapi/get-portfolio-pl-history"},{"title":"Get Portfolio Transactions","deprecated":null,"version":null,"sidebarTitle":"Get portfolio transactions","openapi":"/api-docs/api-reference/openapi.json get /v1/portfolio/transactions","href":"/api-docs/openapi/get-portfolio-transactions"},{"title":"Get Portfolio Transaction Types","description":"Get all supported transaction types","deprecated":null,"version":null,"sidebarTitle":"Get portfolio transaction types","openapi":"/api-docs/api-reference/openapi.json get /v1/portfolio/transactions/types","href":"/api-docs/openapi/get-portfolio-transaction-types"},{"title":"Add Portfolio Transaction","deprecated":null,"version":null,"sidebarTitle":"Add portfolio transaction","openapi":"/api-docs/api-reference/openapi.json post /v1/portfolio/transaction","href":"/api-docs/openapi/add-portfolio-transaction"},{"title":"Get Portfolio Defi","deprecated":null,"version":null,"sidebarTitle":"Get portfolio defi","openapi":"/api-docs/api-reference/openapi.json get /v1/portfolio/defi","href":"/api-docs/openapi/get-portfolio-defi"},{"title":"Get Portfolio Snapshot Items","deprecated":null,"version":null,"sidebarTitle":"Get portfolio snapshot items","openapi":"/api-docs/api-reference/openapi.json get /v1/portfolio/snapshot/items","href":"/api-docs/openapi/get-portfolio-snapshot-items"},{"title":"Get Portfolio Sync Status","deprecated":null,"version":null,"sidebarTitle":"Get portfolio sync status","openapi":"/api-docs/api-reference/openapi.json get /v1/portfolio/status","href":"/api-docs/openapi/get-portfolio-sync-status"},{"title":"Sync Portfolio","deprecated":null,"version":null,"sidebarTitle":"Sync portfolio","openapi":"/api-docs/api-reference/openapi.json patch /v1/portfolio/sync","href":"/api-docs/openapi/sync-portfolio"},{"title":"Delete Portfolio","deprecated":null,"version":null,"sidebarTitle":"Delete portfolio","openapi":"/api-docs/api-reference/openapi.json delete /v1/portfolio/{portfolioId}","href":"/api-docs/openapi/delete-portfolio"}]}]},{"group":"Prediction Markets","pages":[{"group":"Markets","icon":"chart-line","expanded":false,"pages":[{"title":"List Markets","deprecated":null,"version":null,"sidebarTitle":"List markets","openapi":"/api-docs/api-reference/openapi.json get /v1/prediction/markets","href":"/api-docs/openapi/list-markets"},{"title":"Trending Markets","deprecated":null,"version":null,"sidebarTitle":"Trending markets","openapi":"/api-docs/api-reference/openapi.json get /v1/prediction/markets/trending","href":"/api-docs/openapi/trending-markets"},{"title":"Get Market","deprecated":null,"version":null,"sidebarTitle":"Get market","openapi":"/api-docs/api-reference/openapi.json get /v1/prediction/markets/{slug}","href":"/api-docs/openapi/get-market"},{"title":"Market Prices","deprecated":null,"version":null,"sidebarTitle":"Market prices","openapi":"/api-docs/api-reference/openapi.json get /v1/prediction/markets/{slug}/prices","href":"/api-docs/openapi/market-prices"},{"title":"Market Orderbook","deprecated":null,"version":null,"sidebarTitle":"Market orderbook","openapi":"/api-docs/api-reference/openapi.json get /v1/prediction/markets/{slug}/orderbook","href":"/api-docs/openapi/market-orderbook"},{"title":"Market Bars","deprecated":null,"version":null,"sidebarTitle":"Market bars","openapi":"/api-docs/api-reference/openapi.json get /v1/prediction/markets/{slug}/bars","href":"/api-docs/openapi/market-bars"},{"title":"Market Price At","deprecated":null,"version":null,"sidebarTitle":"Market price at","openapi":"/api-docs/api-reference/openapi.json get /v1/prediction/markets/{slug}/price-at","href":"/api-docs/openapi/market-price-at"},{"title":"Market Price History","deprecated":null,"version":null,"sidebarTitle":"Market price history","openapi":"/api-docs/api-reference/openapi.json get /v1/prediction/markets/{slug}/price-history","href":"/api-docs/openapi/market-price-history"},{"title":"Market Cross Venue","deprecated":null,"version":null,"sidebarTitle":"Market cross venue","openapi":"/api-docs/api-reference/openapi.json get /v1/prediction/markets/{slug}/cross-venue","href":"/api-docs/openapi/market-cross-venue"}]},{"group":"Events","icon":"calendar-days","expanded":false,"pages":[{"title":"List Events","deprecated":null,"version":null,"sidebarTitle":"List events","openapi":"/api-docs/api-reference/openapi.json get /v1/prediction/events","href":"/api-docs/openapi/list-events"},{"title":"Trending Events","deprecated":null,"version":null,"sidebarTitle":"Trending events","openapi":"/api-docs/api-reference/openapi.json get /v1/prediction/events/trending","href":"/api-docs/openapi/trending-events"},{"title":"Get Event","deprecated":null,"version":null,"sidebarTitle":"Get event","openapi":"/api-docs/api-reference/openapi.json get /v1/prediction/events/{slug}","href":"/api-docs/openapi/get-event"},{"title":"Event Cross Venue","deprecated":null,"version":null,"sidebarTitle":"Event cross venue","openapi":"/api-docs/api-reference/openapi.json get /v1/prediction/events/{slug}/cross-venue","href":"/api-docs/openapi/event-cross-venue"}]},{"group":"Traders","icon":"users","expanded":false,"pages":[{"title":"List Traders","deprecated":null,"version":null,"sidebarTitle":"List traders","openapi":"/api-docs/api-reference/openapi.json get /v1/prediction/traders","href":"/api-docs/openapi/list-traders"},{"title":"Top Traders","deprecated":null,"version":null,"sidebarTitle":"Top traders","openapi":"/api-docs/api-reference/openapi.json get /v1/prediction/traders/top","href":"/api-docs/openapi/top-traders"},{"title":"Get Trader","deprecated":null,"version":null,"sidebarTitle":"Get trader","openapi":"/api-docs/api-reference/openapi.json get /v1/prediction/traders/{address}","href":"/api-docs/openapi/get-trader"},{"title":"Trader Positions","deprecated":null,"version":null,"sidebarTitle":"Trader positions","openapi":"/api-docs/api-reference/openapi.json get /v1/prediction/traders/{address}/positions","href":"/api-docs/openapi/trader-positions"},{"title":"Trader Trades","deprecated":null,"version":null,"sidebarTitle":"Trader trades","openapi":"/api-docs/api-reference/openapi.json get /v1/prediction/traders/{address}/trades","href":"/api-docs/openapi/trader-trades"},{"title":"Trader Activity","deprecated":null,"version":null,"sidebarTitle":"Trader activity","openapi":"/api-docs/api-reference/openapi.json get /v1/prediction/traders/{address}/activity","href":"/api-docs/openapi/trader-activity"},{"title":"Trader Pnl History","deprecated":null,"version":null,"sidebarTitle":"Trader pnl history","openapi":"/api-docs/api-reference/openapi.json get /v1/prediction/traders/{address}/pnl-history","href":"/api-docs/openapi/trader-pnl-history"},{"title":"Trader Category Stats","deprecated":null,"version":null,"sidebarTitle":"Trader category stats","openapi":"/api-docs/api-reference/openapi.json get /v1/prediction/traders/{address}/category-stats","href":"/api-docs/openapi/trader-category-stats"},{"title":"Trader Trade Stats","deprecated":null,"version":null,"sidebarTitle":"Trader trade stats","openapi":"/api-docs/api-reference/openapi.json get /v1/prediction/traders/{address}/trade-stats","href":"/api-docs/openapi/trader-trade-stats"},{"title":"Trader Score","deprecated":null,"version":null,"sidebarTitle":"Trader score","openapi":"/api-docs/api-reference/openapi.json get /v1/prediction/traders/{address}/score","href":"/api-docs/openapi/trader-score"}]},{"group":"Analytics","icon":"chart-pie","expanded":false,"pages":[{"title":"Analytics Overview","deprecated":null,"version":null,"sidebarTitle":"Analytics overview","openapi":"/api-docs/api-reference/openapi.json get /v1/prediction/analytics/overview","href":"/api-docs/openapi/analytics-overview"},{"title":"Analytics Market Signals","deprecated":null,"version":null,"sidebarTitle":"Analytics market signals","openapi":"/api-docs/api-reference/openapi.json get /v1/prediction/analytics/market-signals","href":"/api-docs/openapi/analytics-market-signals"},{"title":"Venue Volume","deprecated":null,"version":null,"sidebarTitle":"Venue volume","openapi":"/api-docs/api-reference/openapi.json get /v1/prediction/volume","href":"/api-docs/openapi/venue-volume"},{"title":"Get Venue Volume","deprecated":null,"version":null,"sidebarTitle":"Get venue volume","openapi":"/api-docs/api-reference/openapi.json get /v1/prediction/volume/{venue}","href":"/api-docs/openapi/get-venue-volume"}]},{"group":"Search","icon":"magnifying-glass","expanded":false,"pages":[{"title":"Search","deprecated":null,"version":null,"sidebarTitle":"Search","openapi":"/api-docs/api-reference/openapi.json get /v1/prediction/search","href":"/api-docs/openapi/search"}]}]},{"group":"Account","pages":[{"group":"Usage","icon":"gauge","expanded":false,"pages":[{"title":"Get Credit Usage","deprecated":null,"version":null,"sidebarTitle":"Get credit usage","openapi":"/api-docs/api-reference/openapi.json get /v1/usage/credits","href":"/api-docs/openapi/get-credit-usage"}]},{"group":"Status","icon":"heart-pulse","expanded":false,"pages":[{"title":"Get Api Status","deprecated":null,"version":null,"sidebarTitle":"Get api status","openapi":"/api-docs/api-reference/openapi.json get /v1/status","href":"/api-docs/openapi/get-api-status"}]}]}]},{"tab":"Changelog","icon":"code-branch","pages":[{"title":"Changelog","href":"/api-docs/changelog"}]}]},"basePath":"","title":"Get Portfolio Transactions","buildId":"dpl_G9nrg4qeJSZtah1Ziwbc2n6WkLch","deploymentId":"dpl_G9nrg4qeJSZtah1Ziwbc2n6WkLch","dynamics":["c2aa737661","2b790eda92","b0f84f53ff","a9bb46feb3"],"chunks":["OpenApiReferenceProvider-B7XKH4J3.js","utils-lOYzL7z-.js","cloneDeep-izs3Hzxb.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","utils-DF6jUUIM.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","addUniqueKeysToSchema-Dpsj5f7C.js","snippetPresets-CYeiDe8v.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","ApiExamples-CUFz1YZ_.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-D8H_iLS4.js","shallow-DdluZBHX.js","getApiPlaygroundDisplay-B9922vev.js","CodeSnippet-CMoRNGYs.js","CodeSnippets-DwyrPHuw.js","Page-DSVu9Ucl.js","getPastedJson-G-zIvlHh.js","icon-B03fnEy0.js","MethodPill-CW7teklc.js","DuplicateIcon-CtO8eekd.js","createIcon-DZTKdM_A.js","DynamicMarkdown-D5M2At0B.js","SectionHeading-C_2NaA2U.js","axios-vUo_bRtp.js","Markdown-D7QRHV3m.js","clsx-D1Z-ELXV.js","lib-DuNMoZ05.js","lib-B8HbPgcC.js","html-void-elements-mCSPHezU.js","dist-lvhuD9Du.js","katex-YMM-FMeD.js","marked.esm-CZWythHk.js","AssistantPageLink-CKfC4ywL.js"]}