How to create a Digital Surge API key and authenticate your API requests with a Bearer token. Read-only and read & write keys, two-factor protection, and key safety.
The Digital Surge API uses personal API keys sent as Bearer tokens. You create keys yourself in the Digital Surge app — no application process, no waiting.
Click to create a new key and choose its permission level:
Read Only — view balances, transactions, portfolio data, and prices.
Read & Write — everything above, plus placing trades, managing price triggers and recurring buys, and initiating withdrawals.
Confirm the creation with your two-factor authentication code.
Copy the key immediately. For your security the full key is visible only briefly after creation — after that only a short prefix is shown, and it can never be displayed again.
API keys don’t expire; they remain valid until you delete them. There’s a small per-account limit on how many keys you can hold at once.
Treat an API key like a password to your account. A Read & Write key can move funds.
Store keys in a secrets manager or environment variables — never in source control, client-side code, or shared documents.
Use Read Only keys unless you genuinely need to trade programmatically.
Create one key per integration, so you can revoke one without breaking the others.
Delete keys you no longer use (Account Settings → API Keys → delete). Deletion takes effect immediately.
API keys deliberately cannot create or delete other API keys, and cannot manage connected AI agents — those actions always require logging in to the app.
The Digital Surge web and mobile apps authenticate with short-lived OAuth tokens. That flow is not intended for third-party integrations — never ask a Digital Surge customer for their email and password. For anything you build, use an API key; for AI assistants, use the MCP connection, which lets customers sign in themselves and grants your agent its own revocable access.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Digital Surge API","description":"API documentation for Digital Surge, the Australian cryptocurrency exchange. Trade, track your portfolio, and automate with API keys or AI agents.","colors":{"primary":"#664DFF","light":"#BD99FF","dark":"#322593"},"logo":{"light":"https://mintcdn.com/digitalsurge/v62aNZmWKjllpl9w/logo/light.svg?fit=max\u0026auto=format\u0026n=v62aNZmWKjllpl9w\u0026q=85\u0026s=3f12651d3670f8bbd605b0ecf3d5846c","dark":"https://mintcdn.com/digitalsurge/v62aNZmWKjllpl9w/logo/dark.svg?fit=max\u0026auto=format\u0026n=v62aNZmWKjllpl9w\u0026q=85\u0026s=1a73e4ebdea9818c3797d2022f9b3be2","href":"https://digitalsurge.com.au"},"favicon":"https://mintcdn.com/digitalsurge/v62aNZmWKjllpl9w/favicon.svg?fit=max\u0026auto=format\u0026n=v62aNZmWKjllpl9w\u0026q=85\u0026s=89b3596b6826371c879c2a27a55ff2fa","api":{"playground":{"display":"interactive","proxy":false},"examples":{"defaults":"required","languages":["curl","python","javascript"]}},"navbar":{"links":[{"href":"https://help.digitalsurge.com.au","label":"Support"}],"primary":{"type":"button","label":"Open Digital Surge","href":"https://app.digitalsurge.com.au"}},"footer":{"socials":{"website":"https://digitalsurge.com.au"}},"seo":{"metatags":{"og:site_name":"Digital Surge API Documentation"},"indexing":"all"},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"digitalsurge","hasAudioNarration":false,"actualSubdomain":"digitalsurge","customDomains":["digitalsurge.com.au"],"gitSource":{"type":"gitlab","owner":"digital-surge2","repo":"ds-api-docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"projectId":84082694,"mountPath":"","label":""},"chroma":{"collectionId":"b596dff0-b1c2-47c3-8102-603b78c8f0c0","liveDeploymentHistoryId":"6a4881849e94978f9d555c21","schemaVersion":"v3"},"entitlements":{},"buildId":"6a4881849e94978f9d555c21:success","clientVersion":"0.0.4044","searchFilterCounts":[{"language":"default","tag":"API Reference","count":55},{"language":"default","tag":"Endpoints","count":53},{"language":"default","tag":"Private","count":46},{"language":"default","tag":"Public","count":7},{"language":"default","tag":"Guides","count":6},{"language":"default","tag":"Getting started","count":3},{"language":"default","tag":"Using the API","count":2},{"language":"default","tag":"AI agents","count":1}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"/docs","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"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":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"byok-sep-25","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":"vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-updated-9-15","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":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"guides/authentication","slug":"/guides/authentication","pageMetadata":{"title":"Authentication","description":"How to create a Digital Surge API key and authenticate your API requests with a Bearer token. Read-only and read \u0026 write keys, two-factor protection, and key safety.","href":"/guides/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: \"How to create a Digital Surge API key and authenticate your API requests with a Bearer token. Read-only and read \u0026 write keys, two-factor protection, and key safety.\"\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`,code:`code`,li:`li`,ol:`ol`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{CodeBlock,Heading,Warning}=_components;if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Warning)_missingMdxReference(`Warning`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`The Digital Surge API uses personal `,_jsx(_components.strong,{children:`API keys`}),` sent as Bearer tokens. You create keys yourself in the Digital Surge app — no application process, no waiting.`]}),`\n`,_jsx(Heading,{level:`2`,id:`creating-an-api-key`,children:`Creating an API key`}),`\n`,_jsxs(_components.ol,{children:[`\n`,_jsxs(_components.li,{children:[`Log in to the `,_jsx(_components.a,{href:`https://app.digitalsurge.com.au`,children:`Digital Surge app`}),`.`]}),`\n`,_jsxs(_components.li,{children:[`Open `,_jsx(_components.strong,{children:`Account Settings → API Keys`}),`.`]}),`\n`,_jsxs(_components.li,{children:[`Click to create a new key and choose its permission level:`,`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Read Only`}),` — view balances, transactions, portfolio data, and prices.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Read \u0026 Write`}),` — everything above, plus placing trades, managing price triggers and recurring buys, and initiating withdrawals.`]}),`\n`]}),`\n`]}),`\n`,_jsx(_components.li,{children:`Confirm the creation with your two-factor authentication code.`}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Copy the key immediately.`}),` For your security the full key is visible only briefly after creation — after that only a short prefix is shown, and it can never be displayed again.`]}),`\n`]}),`\n`,_jsx(_components.p,{children:`API keys don’t expire; they remain valid until you delete them. There’s a small per-account limit on how many keys you can hold at once.`}),`\n`,_jsx(Heading,{level:`2`,id:`using-your-key`,children:`Using your key`}),`\n`,_jsxs(_components.p,{children:[`Send the key in the `,_jsx(_components.code,{children:`Authorization`}),` header of every private request:`]}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`2`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`2`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"https://app.digitalsurge.com.au/api/private/profile/brief/\"`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D7BA7D`},children:` \\\\`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -H`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` \"Authorization: Bearer YOUR_API_KEY\"`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`Public endpoints (`,_jsx(_components.code,{children:`/api/public/...`}),`) need no authentication at all.`]}),`\n`,_jsx(Heading,{level:`2`,id:`key-safety`,children:`Key safety`}),`\n`,_jsx(Warning,{children:_jsxs(_components.p,{children:[`Treat an API key like a password to your account. A `,_jsx(_components.strong,{children:`Read \u0026 Write`}),` key can move funds.`]})}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Store keys in a secrets manager or environment variables — never in source control, client-side code, or shared documents.`}),`\n`,_jsxs(_components.li,{children:[`Use `,_jsx(_components.strong,{children:`Read Only`}),` keys unless you genuinely need to trade programmatically.`]}),`\n`,_jsx(_components.li,{children:`Create one key per integration, so you can revoke one without breaking the others.`}),`\n`,_jsxs(_components.li,{children:[`Delete keys you no longer use (`,_jsx(_components.strong,{children:`Account Settings → API Keys → delete`}),`). Deletion takes effect immediately.`]}),`\n`,_jsxs(_components.li,{children:[`API keys deliberately `,_jsx(_components.strong,{children:`cannot`}),` create or delete other API keys, and cannot manage connected AI agents — those actions always require logging in to the app.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`what-about-oauth`,children:`What about OAuth?`}),`\n`,_jsxs(_components.p,{children:[`The Digital Surge web and mobile apps authenticate with short-lived OAuth tokens. That flow is not intended for third-party integrations — `,_jsx(_components.strong,{children:`never ask a Digital Surge customer for their email and password`}),`. For anything you build, use an API key; for AI assistants, use the `,_jsx(_components.a,{href:`/guides/ai-agents`,children:`MCP connection`}),`, which lets customers sign in themselves and grants your agent its own revocable access.`]})]})}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":"Authentication","description":"How to create a Digital Surge API key and authenticate your API requests with a Bearer token. Read-only and read \u0026 write keys, two-factor protection, and key safety.","href":"/guides/authentication"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Creating an API key","slug":"creating-an-api-key","depth":2,"children":[]},{"title":"Using your key","slug":"using-your-key","depth":2,"children":[]},{"title":"Key safety","slug":"key-safety","depth":2,"children":[]},{"title":"What about OAuth?","slug":"what-about-oauth","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":["/docs/_mintlify/custom/digitalsurge/3641986737ad18ec/worker/src/index.js"],"subdomain":"digitalsurge","siteName":"Digital Surge API","title":"Authentication - Digital Surge API","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-07-04T03:44:10.577Z","originalFileLocation":"guides/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=\"How to create a Digital Surge API key and authenticate your API requests with a Bearer token. Read-only and read \u0026amp; write keys, two-factor protection, and key safety.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Digital Surge API\">\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/digitalsurge/ftUiGR1TsUtR6JbP/_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/digitalsurge/ftUiGR1TsUtR6JbP/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/docs/mintlify-assets/_mintlify/favicons/digitalsurge/ftUiGR1TsUtR6JbP/_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/digitalsurge/ftUiGR1TsUtR6JbP/_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/digitalsurge/ftUiGR1TsUtR6JbP/_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/digitalsurge/ftUiGR1TsUtR6JbP/_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/digitalsurge/ftUiGR1TsUtR6JbP/_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/digitalsurge/ftUiGR1TsUtR6JbP/_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/digitalsurge/ftUiGR1TsUtR6JbP/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Authentication - Digital Surge API\">\u003cmeta data-mint-head property=\"og:description\" content=\"How to create a Digital Surge API key and authenticate your API requests with a Bearer token. Read-only and read \u0026amp; write keys, two-factor protection, and key safety.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Digital Surge API Documentation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://digitalsurge.com.au/docs/guides/authentication\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://digitalsurge.mintlify.app/_mintlify/api/og/v2?division=Getting+started\u0026amp;title=Authentication\u0026amp;description=How+to+create+a+Digital+Surge+API+key+and+authenticate+your+API+requests+with+a+Bearer+token.+Read-only+and+read+%26+write+keys%2C+two-factor+protection%2C+and+key+sa\u0026amp;theme=cca07053cdd6aa929ec823f2\u0026amp;signature=5b7f10525c40ed43add48eda2ae99674eebc6b03ad816a3c68bd8cff753793f6\">\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=\"Authentication - Digital Surge API\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"How to create a Digital Surge API key and authenticate your API requests with a Bearer token. Read-only and read \u0026amp; write keys, two-factor protection, and key safety.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://digitalsurge.mintlify.app/_mintlify/api/og/v2?division=Getting+started\u0026amp;title=Authentication\u0026amp;description=How+to+create+a+Digital+Surge+API+key+and+authenticate+your+API+requests+with+a+Bearer+token.+Read-only+and+read+%26+write+keys%2C+two-factor+protection%2C+and+key+sa\u0026amp;theme=cca07053cdd6aa929ec823f2\u0026amp;signature=5b7f10525c40ed43add48eda2ae99674eebc6b03ad816a3c68bd8cff753793f6\">\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/digitalsurge/ftUiGR1TsUtR6JbP/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Digital Surge API\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#664DFF\">\u003clink data-mint-head rel=\"canonical\" href=\"https://digitalsurge.com.au/docs/guides/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/guides/authentication.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://digitalsurge.com.au/#organization\",\"name\":\"Digital Surge API\",\"url\":\"https://digitalsurge.com.au\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/digitalsurge/v62aNZmWKjllpl9w/logo/light.svg?fit=max\u0026auto=format\u0026n=v62aNZmWKjllpl9w\u0026q=85\u0026s=3f12651d3670f8bbd605b0ecf3d5846c\"}},{\"@type\":\"WebSite\",\"@id\":\"https://digitalsurge.com.au/docs#website\",\"name\":\"Digital Surge API\",\"url\":\"https://digitalsurge.com.au/docs\",\"publisher\":{\"@id\":\"https://digitalsurge.com.au/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://digitalsurge.com.au/docs/guides/authentication#webpage\",\"url\":\"https://digitalsurge.com.au/docs/guides/authentication\",\"name\":\"Authentication\",\"description\":\"How to create a Digital Surge API key and authenticate your API requests with a Bearer token. Read-only and read \u0026 write keys, two-factor protection, and key safety.\",\"dateModified\":\"2026-07-04T03:44:10.577Z\",\"isPartOf\":{\"@id\":\"https://digitalsurge.com.au/docs#website\"},\"breadcrumb\":{\"@id\":\"https://digitalsurge.com.au/docs/guides/authentication#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://digitalsurge.com.au/docs/guides/authentication#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Getting started\",\"item\":\"https://digitalsurge.com.au/docs/index\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Authentication\",\"item\":\"https://digitalsurge.com.au/docs/guides/authentication\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://digitalsurge.com.au/docs/guides/authentication#article\",\"headline\":\"Authentication\",\"name\":\"Authentication\",\"description\":\"How to create a Digital Surge API key and authenticate your API requests with a Bearer token. Read-only and read \u0026 write keys, two-factor protection, and key safety.\",\"url\":\"https://digitalsurge.com.au/docs/guides/authentication\",\"mainEntityOfPage\":{\"@id\":\"https://digitalsurge.com.au/docs/guides/authentication#webpage\"},\"dateModified\":\"2026-07-04T03:44:10.577Z\",\"publisher\":{\"@id\":\"https://digitalsurge.com.au/#organization\"},\"isPartOf\":{\"@id\":\"https://digitalsurge.com.au/docs#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Digital Surge API\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"Digital Surge API","nav":{"global":null,"tabs":[{"tab":"Guides","groups":[{"group":"Getting started","pages":[{"title":"Digital Surge API","sidebarTitle":"Overview","href":""},{"title":"Quickstart","description":"Make your first Digital Surge API call in under five minutes: fetch live crypto prices in AUD, read your balances, and quote a swap.","href":"/guides/quickstart"},{"title":"Authentication","href":"/guides/authentication"}]},{"group":"Using the API","pages":[{"title":"Conventions","description":"Digital Surge API conventions: decimal amounts as strings, timestamps, pagination, asset codes, and error responses. Read this before parsing any response.","href":"/guides/conventions"},{"title":"Rate limits","href":"/guides/rate-limits"}]},{"group":"AI agents","pages":[{"title":"Agentic AI Connector (MCP)","sidebarTitle":"Agentic AI Connector","href":"/guides/ai-agents"}]}]},{"tab":"API Reference","pages":[{"title":"API Reference","href":"/api-reference"}]}]},"basePath":"","title":"Authentication - Digital Surge API","buildId":"dpl_6cCEiK8XNNvaLBBkWzcBhdE9QfLC","deploymentId":"dpl_6cCEiK8XNNvaLBBkWzcBhdE9QfLC","dynamics":[],"chunks":[]}