Learn how to authenticate with the TradeWatch API using API keys. Generate, reveal, and revoke secret keys to secure your financial data requests.
TradeWatch uses your account’s API keys to authenticate API requests, and if you don’t include a key or if the key is incorrect or outdated, an invalid request or authentication error will be raised.The Developers Dashboard can be used to create, reveal, and revoke secret API keys.
It’s important to safeguard your keys.
Your secret API key has the ability to perform any API call for your account.
Here are some best practices to follow to ensure your keys are secure:
Only give access to those who require it.
Keep the key out of any version control system you may use.
Use a password manager or secrets management service to control key access.
Avoid embedding the secret API key in mobile applications or other locations where it can be accessed.
Enter a name in Key name (or choose the one proposed by system).
Click Create.
Reveal an API secret key
To ensure security, the API secret key is displated once. It’s important to store the key in a safe location to avoid losing it. If the key is lost, it can be revoked and a new key can be generated.
Revoke an API secret key
If your secret key has been compromised, the key should be revoked to prevent any unauthorized API requests. To generate a new key and revoke the old API secret key:
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"TradeWatch.io","colors":{"primary":"#B63592","light":"#B63592","dark":"#B63592"},"logo":{"light":"https://mintcdn.com/tradewatch-22dfcac5/XOk1nmKnW-SwFlWL/logo/logo.png?fit=max\u0026auto=format\u0026n=XOk1nmKnW-SwFlWL\u0026q=85\u0026s=bee65a0b2b204b76406f745e3877c1d9","dark":"https://mintcdn.com/tradewatch-22dfcac5/XOk1nmKnW-SwFlWL/logo/logo.png?fit=max\u0026auto=format\u0026n=XOk1nmKnW-SwFlWL\u0026q=85\u0026s=bee65a0b2b204b76406f745e3877c1d9"},"favicon":"https://mintcdn.com/tradewatch-22dfcac5/SrnjqvhKPGV4QoH-/favicon.ico?fit=max\u0026auto=format\u0026n=SrnjqvhKPGV4QoH-\u0026q=85\u0026s=7c11c7b8a54dbc316b56c8dec13702ab","navbar":{"links":[{"href":"mailto:hello@tradewatch.io","label":"Support"}],"primary":{"type":"button","label":"Dashboard","href":"https://dash.tradewatch.io"}},"footer":{"socials":{"github":"https://github.com/tradewatch-io"}},"seo":{},"integrations":{"clarity":{"projectId":"ifta7jncri"},"posthog":{"apiKey":"phc_nbAPRTvwQGCF3enpuJv2dzAFdg2TreRgeyVuuSq7xVB","apiHost":"https://dash.tradewatch.io/api/gateway"}},"contextual":{"options":["copy","view","chatgpt","claude","perplexity","mcp","cursor","vscode"],"display":"header"},"metadata":{"timestamp":false},"styling":{"latex":true},"navigation":{"global":{"anchors":[{"anchor":"SDKs","icon":"code","href":"/sdks/introduction"},{"anchor":"GitHub","icon":"github","href":"https://github.com/tradewatch-io"},{"anchor":"Status page","icon":"heart-pulse","href":"https://status.tradewatch.io"}]},"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"tradewatch-22dfcac5","hasAudioNarration":false,"actualSubdomain":"tradewatch-22dfcac5","customDomains":["tradewatch.io"],"gitSource":{"type":"github","owner":"tradewatch-io","repo":"mintlify-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"entitlements":{},"buildId":"6ae9444ecb5b4dc42461fb45:success","clientVersion":"0.0.4271","searchFilterCounts":[{"language":"default","tag":"REST API reference","count":51},{"language":"default","tag":"Platform","count":27},{"language":"default","tag":"Stocks","count":16},{"language":"default","tag":"Crypto","count":9},{"language":"default","tag":"Commodities","count":8},{"language":"default","tag":"Currencies","count":8},{"language":"default","tag":"Indices","count":7},{"language":"default","tag":"Symbols","count":6},{"language":"default","tag":"WebSocket API reference","count":6},{"language":"default","tag":"Fundamentals","count":6}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"/docs","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","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":"workos-onboarding","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":"site-roles","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":"assistant-v5","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":"workos-sso-scim","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":"workos-signup","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":"workos-enabled","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":"sso-setup-deadline-banner","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":"wildcard-email-auth","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":"/* latin-ext */\n@font-face {\n font-family: 'Instrument Sans';\n font-style: italic;\n font-weight: 400 700;\n font-stretch: 100%;\n font-display: swap;\n src: url(/docs/_mintlify/assets/fonts/google/s/instrumentsans/v4/pxitypc9vsFDm051Uf6KVwgkfoSbSnNPooZAN0lInHGpCWNu2ZGRu3k.woff2) format('woff2');\n unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;\n}\n/* latin */\n@font-face {\n font-family: 'Instrument Sans';\n font-style: italic;\n font-weight: 400 700;\n font-stretch: 100%;\n font-display: swap;\n src: url(/docs/_mintlify/assets/fonts/google/s/instrumentsans/v4/pxitypc9vsFDm051Uf6KVwgkfoSbSnNPooZAN0lInHGpCWNu15GR.woff2) format('woff2');\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n/* latin-ext */\n@font-face {\n font-family: 'Instrument Sans';\n font-style: normal;\n font-weight: 400 700;\n font-stretch: 100%;\n font-display: swap;\n src: url(/docs/_mintlify/assets/fonts/google/s/instrumentsans/v4/pxiTypc9vsFDm051Uf6KVwgkfoSxQ0GsQv8ToedPibnr0She1YmV.woff2) format('woff2');\n unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;\n}\n/* latin */\n@font-face {\n font-family: 'Instrument Sans';\n font-style: normal;\n font-weight: 400 700;\n font-stretch: 100%;\n font-display: swap;\n src: url(/docs/_mintlify/assets/fonts/google/s/instrumentsans/v4/pxiTypc9vsFDm051Uf6KVwgkfoSxQ0GsQv8ToedPibnr0SZe1Q.woff2) format('woff2');\n unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;\n}\n:root{--font-body: 'Instrument Sans', sans-serif;--font-display: 'Instrument Sans', sans-serif}html,body{font-family:'Instrument Sans', sans-serif!important}body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}img.nav-logo.h-7{height:1rem}h1,h2,h3,h4{font-weight:600;letter-spacing:-0.01em}h1{letter-spacing:-0.02em}p,li{font-weight:400;line-height:1.65}pre{border-radius:0.5rem}code{font-size:0.875em;border-radius:0.25rem}*:focus-visible{outline:2px solid currentColor;outline-offset:2px;border-radius:4px}"}]}
{"page":{"pagePath":"platform/authentication","slug":"/platform/authentication","pageMetadata":{"title":"API Authentication","sidebarTitle":"Authentication","description":"Learn how to authenticate with the TradeWatch API using API keys. Generate, reveal, and revoke secret keys to secure your financial data requests.","href":"/platform/authentication"},"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: \"Learn how to authenticate with the TradeWatch API using API keys. Generate, reveal, and revoke secret keys to secure your financial data requests.\"\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`,ol:`ol`,p:`p`,ul:`ul`,..._provideComponents(),...props.components},{Heading,Warning}=_components;if(!Heading)_missingMdxReference(`Heading`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsx(_components.p,{children:`TradeWatch uses your account’s API keys to authenticate API requests, and if you don’t include a key or if the key is incorrect or outdated, an invalid request or authentication error will be raised.`}),`\n`,_jsx(_components.p,{children:`The Developers Dashboard can be used to create, reveal, and revoke secret API keys.`}),`\n`,_jsx(Warning,{children:_jsx(_components.p,{children:`It’s important to safeguard your keys.`})}),`\n`,_jsx(_components.p,{children:`Your secret API key has the ability to perform any API call for your account.\nHere are some best practices to follow to ensure your keys are secure:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Only give access to those who require it.`}),`\n`,_jsx(_components.li,{children:`Keep the key out of any version control system you may use.`}),`\n`,_jsx(_components.li,{children:`Use a password manager or secrets management service to control key access.`}),`\n`,_jsx(_components.li,{children:`Avoid embedding the secret API key in mobile applications or other locations where it can be accessed.`}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`create-a-new-api-secret-key`,children:`Create a new API secret key`}),`\n`,_jsx(_components.p,{children:`To create a new API secret key in the Dashboard:`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[`Open the `,_jsx(_components.a,{href:`https://dash.tradewatch.io/api-keys`,children:`API keys`}),` page.`]}),`\n`,_jsx(_components.li,{children:`Click Create API Key.`}),`\n`,_jsx(_components.li,{children:`Enter a name in Key name (or choose the one proposed by system).`}),`\n`,_jsx(_components.li,{children:`Click Create.`}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`reveal-an-api-secret-key`,children:`Reveal an API secret key`}),`\n`,_jsx(_components.p,{children:`To ensure security, the API secret key is displated once. It’s important to store the key in a safe location to avoid losing it. If the key is lost, it can be revoked and a new key can be generated.`}),`\n`,_jsx(Heading,{level:`2`,id:`revoke-an-api-secret-key`,children:`Revoke an API secret key`}),`\n`,_jsx(_components.p,{children:`If your secret key has been compromised, the key should be revoked to prevent any unauthorized API requests. To generate a new key and revoke the old API secret key:`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[`Open the `,_jsx(_components.a,{href:`https://dash.tradewatch.io/api-keys`,children:`API keys`}),` page.`]}),`\n`,_jsx(_components.li,{children:`Click the trash icon next to the secret key.`}),`\n`,_jsx(_components.li,{children:`Enter the API key name in the text input field`}),`\n`,_jsx(_components.li,{children:`Click Remove The Key`}),`\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":"API Authentication","sidebarTitle":"Authentication","description":"Learn how to authenticate with the TradeWatch API using API keys. Generate, reveal, and revoke secret keys to secure your financial data requests.","href":"/platform/authentication"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Create a new API secret key","slug":"create-a-new-api-secret-key","depth":2,"children":[]},{"title":"Reveal an API secret key","slug":"reveal-an-api-secret-key","depth":2,"children":[]},{"title":"Revoke an API secret key","slug":"revoke-an-api-secret-key","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"tradewatch-22dfcac5","siteName":"TradeWatch.io","title":"API Authentication - TradeWatch.io","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-03-22T23:20:48.102Z","originalFileLocation":"platform/authentication.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=\"Learn how to authenticate with the TradeWatch API using API keys. Generate, reveal, and revoke secret keys to secure your financial data requests.\">\u003cmeta data-mint-head name=\"application-name\" content=\"TradeWatch.io\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/tradewatch-22dfcac5/w85szhzrkbAQOg59/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/docs/mintlify-assets/_mintlify/favicons/tradewatch-22dfcac5/w85szhzrkbAQOg59/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/tradewatch-22dfcac5/w85szhzrkbAQOg59/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/tradewatch-22dfcac5/w85szhzrkbAQOg59/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/tradewatch-22dfcac5/w85szhzrkbAQOg59/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/docs/mintlify-assets/_mintlify/favicons/tradewatch-22dfcac5/w85szhzrkbAQOg59/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/tradewatch-22dfcac5/w85szhzrkbAQOg59/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/docs/mintlify-assets/_mintlify/favicons/tradewatch-22dfcac5/w85szhzrkbAQOg59/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/docs/mintlify-assets/_mintlify/favicons/tradewatch-22dfcac5/w85szhzrkbAQOg59/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"API Authentication - TradeWatch.io\">\u003cmeta data-mint-head property=\"og:description\" content=\"Learn how to authenticate with the TradeWatch API using API keys. Generate, reveal, and revoke secret keys to secure your financial data requests.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"TradeWatch.io\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://tradewatch.io/docs/platform/authentication\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://tradewatch-22dfcac5.mintlify.site/docs/_mintlify/api/og/v2?division=Platform\u0026amp;title=API+Authentication\u0026amp;description=Learn+how+to+authenticate+with+the+TradeWatch+API+using+API+keys.+Generate%2C+reveal%2C+and+revoke+secret+keys+to+secure+your+financial+data+requests.\u0026amp;theme=d676e7e4d718c6b0a5ff57ec\u0026amp;signature=5d16dcec5bd37ac60b3d92e09142ff6814b4f6ba55021cea51514139c4d236bd\">\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=\"API Authentication - TradeWatch.io\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Learn how to authenticate with the TradeWatch API using API keys. Generate, reveal, and revoke secret keys to secure your financial data requests.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://tradewatch-22dfcac5.mintlify.site/docs/_mintlify/api/og/v2?division=Platform\u0026amp;title=API+Authentication\u0026amp;description=Learn+how+to+authenticate+with+the+TradeWatch+API+using+API+keys.+Generate%2C+reveal%2C+and+revoke+secret+keys+to+secure+your+financial+data+requests.\u0026amp;theme=d676e7e4d718c6b0a5ff57ec\u0026amp;signature=5d16dcec5bd37ac60b3d92e09142ff6814b4f6ba55021cea51514139c4d236bd\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/docs/mintlify-assets/_mintlify/favicons/tradewatch-22dfcac5/w85szhzrkbAQOg59/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"TradeWatch.io\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#B63592\">\u003clink data-mint-head rel=\"canonical\" href=\"https://tradewatch.io/docs/platform/authentication\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/docs/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/docs/platform/authentication.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://tradewatch.io/#organization\",\"name\":\"TradeWatch.io\",\"url\":\"https://tradewatch.io\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/tradewatch-22dfcac5/XOk1nmKnW-SwFlWL/logo/logo.png?fit=max\u0026auto=format\u0026n=XOk1nmKnW-SwFlWL\u0026q=85\u0026s=bee65a0b2b204b76406f745e3877c1d9\"}},{\"@type\":\"WebSite\",\"@id\":\"https://tradewatch.io/docs#website\",\"name\":\"TradeWatch.io\",\"url\":\"https://tradewatch.io/docs\",\"publisher\":{\"@id\":\"https://tradewatch.io/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://tradewatch.io/docs/platform/authentication#webpage\",\"url\":\"https://tradewatch.io/docs/platform/authentication\",\"name\":\"API Authentication\",\"description\":\"Learn how to authenticate with the TradeWatch API using API keys. Generate, reveal, and revoke secret keys to secure your financial data requests.\",\"dateModified\":\"2026-03-22T23:20:48.102Z\",\"isPartOf\":{\"@id\":\"https://tradewatch.io/docs#website\"},\"breadcrumb\":{\"@id\":\"https://tradewatch.io/docs/platform/authentication#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://tradewatch.io/docs/platform/authentication#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Platform\",\"item\":\"https://tradewatch.io/docs/platform/overview\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"API Authentication\",\"item\":\"https://tradewatch.io/docs/platform/authentication\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://tradewatch.io/docs/platform/authentication#article\",\"headline\":\"API Authentication\",\"name\":\"API Authentication\",\"description\":\"Learn how to authenticate with the TradeWatch API using API keys. Generate, reveal, and revoke secret keys to secure your financial data requests.\",\"url\":\"https://tradewatch.io/docs/platform/authentication\",\"mainEntityOfPage\":{\"@id\":\"https://tradewatch.io/docs/platform/authentication#webpage\"},\"dateModified\":\"2026-03-22T23:20:48.102Z\",\"publisher\":{\"@id\":\"https://tradewatch.io/#organization\"},\"isPartOf\":{\"@id\":\"https://tradewatch.io/docs#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"TradeWatch.io\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"TradeWatch.io\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/docs/platform/authentication.md","siteName":"TradeWatch.io","nav":{"global":{"anchors":[{"anchor":"SDKs","icon":"code","href":"/sdks/introduction"},{"anchor":"GitHub","icon":"github","href":"https://github.com/tradewatch-io"},{"anchor":"Status page","icon":"heart-pulse","href":"https://status.tradewatch.io"}]},"groups":[{"group":"Platform","pages":[{"title":"Overview","sidebarTitle":"Overview","href":"/platform/overview"},{"title":"REST vs WebSocket API","sidebarTitle":"API Types","description":"Compare REST and WebSocket APIs for financial data. REST for on-demand queries; WebSocket for real-time streaming of forex, crypto, and stock prices.","href":"/platform/api-types"},{"title":"API Authentication","sidebarTitle":"Authentication","href":"/platform/authentication"},{"group":"Quickstart","pages":[{"title":"Getting Started","description":"Quickstart guide to integrate the TradeWatch financial data API. Set up your account, generate an API key, and make your first REST or WebSocket request.","href":"/quickstart"},{"title":"HTTP API Quickstart","href":"/quickstart/http-api"},{"title":"Market Data Streaming","href":"/quickstart/websocket-api"}]},{"group":"Account","pages":[{"title":"Registration","href":"/account/registration"},{"title":"Activation","href":"/account/activation"},{"title":"Trial Access","href":"/account/trial"}]},{"group":"Symbols","pages":[{"title":"Supported Financial Symbols — TradeWatch API","href":"/symbols/introduction"},{"title":"Currencies","href":"/symbols/currencies"},{"title":"Crypto","href":"/symbols/crypto"},{"title":"Commodities Data API — Gold, Silver, Oil \u0026 More","href":"/symbols/commodities"},{"title":"Indices","href":"/symbols/indices"},{"title":"Stocks","href":"/symbols/stocks"}]},{"title":"Data Provenance","href":"/platform/data-provenance"},{"title":"System Status","href":"/platform/status"},{"group":"Stocks","pages":[{"title":"Price Data","href":"/stocks/price-data"},{"title":"Market Infrastructure","href":"/stocks/market-infrastructure"},{"title":"Fundamentals \u0026 SEC Data","href":"/stocks/fundamentals"},{"title":"Financial Ratios \u0026 Health Scores","href":"/stocks/ratios-and-scores"},{"title":"Technical Indicators","href":"/stocks/technical-indicators"}]},{"title":"API Pagination","sidebarTitle":"Pagination","href":"/platform/pagination"},{"title":"Limits","href":"/platform/limits"},{"title":"Errors \u0026 Troubleshooting","sidebarTitle":"Troubleshooting","href":"/platform/errors-and-troubleshooting"},{"title":"CORS Policy","sidebarTitle":"CORS","href":"/platform/cors"},{"title":"Support","href":"/platform/support"}]},{"group":"REST API reference","pages":[{"title":"Introduction","href":"/api-reference/introduction"},{"group":"Account","expanded":true,"pages":[{"title":"Usage statistics","deprecated":null,"version":null,"openapi":"/openapi.json get /account/usage","href":"/api-reference/account/usage-statistics"}]},{"group":"Currencies","expanded":true,"pages":[{"title":"Conversion","deprecated":null,"version":null,"openapi":"/openapi.json get /currencies/convert/{from}/{to}","href":"/api-reference/currencies/conversion"},{"title":"Last Quotes","deprecated":null,"version":null,"openapi":"/openapi.json get /currencies/quotes","href":"/api-reference/currencies/last-quotes"},{"title":"Last Quote","deprecated":null,"version":null,"openapi":"/openapi.json get /currencies/quote","href":"/api-reference/currencies/last-quote"},{"title":"Available Symbols","deprecated":null,"version":null,"openapi":"/openapi.json get /currencies/symbols","href":"/api-reference/currencies/available-symbols"},{"title":"Insights","deprecated":null,"version":null,"openapi":"/openapi.json get /currencies/insights","href":"/api-reference/currencies/insights"},{"title":"Historical OHLC","deprecated":null,"version":null,"openapi":"/openapi.json get /currencies/{symbol}/ohlc","href":"/api-reference/currencies/historical-ohlc"},{"title":"Historical Ticks","deprecated":null,"version":null,"openapi":"/openapi.json get /currencies/{symbol}/ticks","href":"/api-reference/currencies/historical-ticks"}]},{"group":"Crypto","expanded":true,"pages":[{"title":"Conversion","deprecated":null,"version":null,"openapi":"/openapi.json get /crypto/convert/{from}/{to}","href":"/api-reference/crypto/conversion"},{"title":"Available Exchanges","deprecated":null,"version":null,"openapi":"/openapi.json get /crypto/exchanges","href":"/api-reference/crypto/available-exchanges"},{"title":"Last Quotes","deprecated":null,"version":null,"openapi":"/openapi.json get /crypto/quotes","href":"/api-reference/crypto/last-quotes"},{"title":"Last Quote","deprecated":null,"version":null,"openapi":"/openapi.json get /crypto/quote","href":"/api-reference/crypto/last-quote"},{"title":"Available Symbols","deprecated":null,"version":null,"openapi":"/openapi.json get /crypto/symbols","href":"/api-reference/crypto/available-symbols"},{"title":"Insights","deprecated":null,"version":null,"openapi":"/openapi.json get /crypto/insights","href":"/api-reference/crypto/insights"},{"title":"Historical OHLC","deprecated":null,"version":null,"openapi":"/openapi.json get /crypto/{symbol}/ohlc","href":"/api-reference/crypto/historical-ohlc"},{"title":"Historical Ticks","deprecated":null,"version":null,"openapi":"/openapi.json get /crypto/{symbol}/ticks","href":"/api-reference/crypto/historical-ticks"}]},{"group":"Indices","expanded":true,"pages":[{"title":"Last Quotes","deprecated":null,"version":null,"openapi":"/openapi.json get /indices/quotes","href":"/api-reference/indices/last-quotes"},{"title":"Last Quote","deprecated":null,"version":null,"openapi":"/openapi.json get /indices/quote","href":"/api-reference/indices/last-quote"},{"title":"Available Symbols","deprecated":null,"version":null,"openapi":"/openapi.json get /indices/symbols","href":"/api-reference/indices/available-symbols"},{"title":"Insights","deprecated":null,"version":null,"openapi":"/openapi.json get /indices/insights","href":"/api-reference/indices/insights"},{"title":"Historical OHLC","deprecated":null,"version":null,"openapi":"/openapi.json get /indices/{symbol}/ohlc","href":"/api-reference/indices/historical-ohlc"},{"title":"Historical Ticks","deprecated":null,"version":null,"openapi":"/openapi.json get /indices/{symbol}/ticks","href":"/api-reference/indices/historical-ticks"}]},{"group":"Stocks","expanded":true,"pages":[{"title":"Last Quotes","deprecated":null,"version":null,"openapi":"/openapi.json get /stocks/quotes","href":"/api-reference/stocks/last-quotes"},{"title":"Last Quote","deprecated":null,"version":null,"openapi":"/openapi.json get /stocks/quote","href":"/api-reference/stocks/last-quote"},{"title":"Available Symbols","deprecated":null,"version":null,"openapi":"/openapi.json get /stocks/symbols","href":"/api-reference/stocks/available-symbols"},{"title":"Insights","deprecated":null,"version":null,"openapi":"/openapi.json get /stocks/insights","href":"/api-reference/stocks/insights"},{"title":"Stock Snapshot","deprecated":null,"version":null,"openapi":"/openapi.json get /stocks/{symbol}","href":"/api-reference/stocks/stock-snapshot"},{"title":"Financial Ratios","deprecated":null,"version":null,"openapi":"/openapi.json get /stocks/{symbol}/ratios","href":"/api-reference/stocks/financial-ratios"},{"title":"Financial Health Scores","deprecated":null,"version":null,"openapi":"/openapi.json get /stocks/{symbol}/scores","href":"/api-reference/stocks/financial-health-scores"},{"title":"Technical Indicators","deprecated":null,"version":null,"openapi":"/openapi.json get /stocks/{symbol}/indicators","href":"/api-reference/stocks/technical-indicators"},{"title":"Historical OHLC","deprecated":null,"version":null,"openapi":"/openapi.json get /stocks/{symbol}/ohlc","href":"/api-reference/stocks/historical-ohlc"},{"title":"Historical Ticks","deprecated":null,"version":null,"openapi":"/openapi.json get /stocks/{symbol}/ticks","href":"/api-reference/stocks/historical-ticks"}]},{"group":"Markets","expanded":true,"pages":[{"title":"Available Countries","deprecated":null,"version":null,"openapi":"/openapi.json get /stocks/countries","href":"/api-reference/markets/available-countries"},{"title":"Markets","deprecated":null,"version":null,"openapi":"/openapi.json get /stocks/markets","href":"/api-reference/markets/markets"},{"title":"Market Status","deprecated":null,"version":null,"openapi":"/openapi.json get /stocks/markets/status","href":"/api-reference/markets/market-status"},{"title":"Trading Hours","deprecated":null,"version":null,"openapi":"/openapi.json get /stocks/markets/hours","href":"/api-reference/markets/trading-hours"},{"title":"Market Holidays","deprecated":null,"version":null,"openapi":"/openapi.json get /stocks/markets/holidays","href":"/api-reference/markets/market-holidays"}]},{"group":"Fundamentals","expanded":true,"pages":[{"title":"Income Statements","deprecated":null,"version":null,"openapi":"/openapi.json get /stocks/income-statements","href":"/api-reference/fundamentals/income-statements"},{"title":"Balance Sheets","deprecated":null,"version":null,"openapi":"/openapi.json get /stocks/balance-sheets","href":"/api-reference/fundamentals/balance-sheets"},{"title":"Cash Flow Statements","deprecated":null,"version":null,"openapi":"/openapi.json get /stocks/cash-flow-statements","href":"/api-reference/fundamentals/cash-flow-statements"},{"title":"SEC Filings","deprecated":null,"version":null,"openapi":"/openapi.json get /stocks/filings","href":"/api-reference/fundamentals/sec-filings"},{"title":"Company Facts","deprecated":null,"version":null,"openapi":"/openapi.json get /stocks/company-facts","href":"/api-reference/fundamentals/company-facts"},{"title":"Insider Trades","deprecated":null,"version":null,"openapi":"/openapi.json get /stocks/insider-trades","href":"/api-reference/fundamentals/insider-trades"}]},{"group":"Commodities","expanded":true,"pages":[{"title":"Last Quotes","deprecated":null,"version":null,"openapi":"/openapi.json get /commodities/quotes","href":"/api-reference/commodities/last-quotes"},{"title":"Last Quote","deprecated":null,"version":null,"openapi":"/openapi.json get /commodities/quote","href":"/api-reference/commodities/last-quote"},{"title":"Available Symbols","deprecated":null,"version":null,"openapi":"/openapi.json get /commodities/symbols","href":"/api-reference/commodities/available-symbols"},{"title":"Insights","deprecated":null,"version":null,"openapi":"/openapi.json get /commodities/insights","href":"/api-reference/commodities/insights"},{"title":"Available Types","deprecated":null,"version":null,"openapi":"/openapi.json get /commodities/types","href":"/api-reference/commodities/available-types"},{"title":"Historical OHLC","deprecated":null,"version":null,"openapi":"/openapi.json get /commodities/{symbol}/ohlc","href":"/api-reference/commodities/historical-ohlc"},{"title":"Historical Ticks","deprecated":null,"version":null,"openapi":"/openapi.json get /commodities/{symbol}/ticks","href":"/api-reference/commodities/historical-ticks"}]}]},{"group":"WebSocket API reference","pages":[{"title":"Introduction","href":"/websocket-api/introduction"},{"group":"Channels","expanded":true,"asyncapi":"asyncapi.yml","pages":[]},{"group":"Currencies","pages":[{"asyncapi":"asyncapi.yml currenciesQuotes","href":"/api-reference/currencies/currencies-real-time-quotes","title":"Currencies Real-time Quotes","version":null}]},{"group":"Crypto","pages":[{"asyncapi":"asyncapi.yml cryptoQuotes","href":"/api-reference/crypto/crypto-real-time-quotes","title":"Crypto Real-time Quotes","version":null}]},{"group":"Indices","pages":[{"asyncapi":"asyncapi.yml indicesQuotes","href":"/api-reference/indices/indices-real-time-quotes","title":"Indices Real-time Quotes","version":null}]},{"group":"Stocks","pages":[{"asyncapi":"asyncapi.yml stocksQuotes","href":"/api-reference/stocks/stocks-real-time-quotes","title":"Stocks Real-time Quotes","version":null}]},{"group":"Commodities","pages":[{"asyncapi":"asyncapi.yml commoditiesQuotes","href":"/api-reference/commodities/commodities-real-time-quotes","title":"Commodities Real-time Quotes","version":null}]}]}]},"basePath":"","title":"API Authentication - TradeWatch.io","deploymentId":"dpl_B1qJC7o4Nbc1BrDLB8Y5TDHq3c2t","buildId":"dpl_B1qJC7o4Nbc1BrDLB8Y5TDHq3c2t","dynamics":[],"chunks":[]}