import { DZapClient } from '@dzapio/sdk';// The key applies to both api.dzap.io and zap.dzap.io requests made through this client instanceconst dzap = DZapClient.getInstance('dzap_xxxxxxxxxxxxxxxxxxxxxxxx');
Never put API keys in client-side code. Proxy through your backend. Server-only.
Every endpoint on both APIs works without a key - quotes, builds, status, tokens, positions, and so on. Unauthenticated requests are handled per-IP instead of per-key.
Last modified on October 15, 2026
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"DZap","description":"DZap is zapping infrastructure for DeFi aggregation and intent execution across EVM, Solana, Bitcoin, and Sui.","colors":{"primary":"#93E900","light":"#B4F23F","dark":"#5FA500"},"logo":{"light":"https://mintcdn.com/dzap-38a4978a/LXTGoBwwZWs1T77l/logo/light.svg?fit=max\u0026auto=format\u0026n=LXTGoBwwZWs1T77l\u0026q=85\u0026s=95b5cc0a4313de9d446eb798727974b8","dark":"https://mintcdn.com/dzap-38a4978a/LXTGoBwwZWs1T77l/logo/dark.svg?fit=max\u0026auto=format\u0026n=LXTGoBwwZWs1T77l\u0026q=85\u0026s=b631853712879a55a5e3f1d6334a2f2c"},"favicon":"https://mintcdn.com/dzap-38a4978a/ehfQxAfyTUZNILZh/favicon.ico?fit=max\u0026auto=format\u0026n=ehfQxAfyTUZNILZh\u0026q=85\u0026s=eb0474eeeeafd7c797c258b7031ab34e","navbar":{"links":[{"href":"https://calendly.com/dzap-bd/30min","label":"Talk to Us"},{"href":"https://discord.com/invite/aRHESJB9md","label":"Discord"},{"href":"https://github.com/DZapIO","label":"GitHub"}],"primary":{"type":"button","label":"Launch App","href":"https://app.dzap.io"}},"footer":{"socials":{"x":"https://x.com/dzap_io","discord":"https://discord.com/invite/aRHESJB9md","github":"https://github.com/DZapIO"}},"seo":{"metatags":{"canonical":"https://docs.dzap.io","og:type":"website","og:image":"https://docs.dzap.io/images/og-image.png","og:image:width":"1200","og:image:height":"630","og:description":"DZap is zapping infrastructure for DeFi aggregation and intent execution across EVM, Solana, Bitcoin, and Sui.","twitter:card":"summary_large_image","twitter:image":"https://docs.dzap.io/images/og-image.png"}},"metadata":{"timestamp":true},"styling":{"latex":true},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"dzap-38a4978a","hasAudioNarration":false,"actualSubdomain":"dzap-38a4978a","customDomains":["docs.dzap.io"],"gitSource":{"type":"github","owner":"dzapio","repo":"docs","deployBranch":"main","contentDirectory":"","isPrivate":true,"mountPath":"","label":""},"chroma":{"liveDeploymentHistoryId":"6ad055cab04e7ebc7375057e","collectionId":"2b30472c-e7ef-47ca-91c7-32cabbcb2b18","schemaVersion":"v3","latestBuiltDeploymentHistoryId":"6ad055cab04e7ebc7375057e"},"entitlements":{},"buildId":"6ad055cab04e7ebc7375057e","clientVersion":"0.0.4044","searchFilterCounts":[{"language":"default","tag":"SDK","count":37},{"language":"default","tag":"Overview","count":25},{"language":"default","tag":"API","count":25},{"language":"default","tag":"Reference","count":16},{"language":"default","tag":"Widget","count":16},{"language":"default","tag":"Trade API","count":11},{"language":"default","tag":"Learn About DZap","count":10},{"language":"default","tag":"Fuse API","count":10},{"language":"default","tag":"Cookbook","count":9},{"language":"default","tag":"Recipes","count":9}]},"assistantConfig":{},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"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":"api/authentication","slug":"/api/authentication","pageMetadata":{"title":"Authentication","description":"API keys, header format, and when each API requires one.","sidebarTitle":"Authentication","icon":"key","href":"/api/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: \"API keys, header format, and when each API requires one.\"\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`,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:[_jsx(Heading,{level:`2`,id:`tldr`,children:`TL;DR`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Both the `,_jsx(_components.strong,{children:`Fuse API`}),` (`,_jsx(_components.code,{children:`zap.dzap.io`}),`) and the `,_jsx(_components.strong,{children:`Trade API`}),` (`,_jsx(_components.code,{children:`api.dzap.io`}),`) accept an optional API key.`]}),`\n`,_jsxs(_components.li,{children:[`The key is sent as the `,_jsx(_components.code,{children:`x-api-key`}),` header - not `,_jsx(_components.code,{children:`Authorization: Bearer`}),`.`]}),`\n`,_jsx(_components.li,{children:`Without a key, requests fall back to per-IP handling.`}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`getting-an-api-key`,children:`Getting an API key`}),`\n`,_jsxs(_components.p,{children:[`API keys are issued by DZap to partners. Reach out via `,_jsx(_components.a,{href:`https://discord.com/invite/aRHESJB9md`,children:`Discord`}),` or `,_jsx(_components.code,{children:`support@dzap.io`}),` with:`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsx(_components.li,{children:`Your project name`}),`\n`,_jsx(_components.li,{children:`Expected request volume`}),`\n`,_jsx(_components.li,{children:`Endpoints you’ll use most`}),`\n`]}),`\n`,_jsx(_components.p,{children:`You’ll receive a key tied to your project. Treat it like a password.`}),`\n`,_jsx(Heading,{level:`2`,id:`using-an-api-key`,children:`Using an API key`}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`4`,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:`4`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -X`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` POST`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://api.dzap.io/v1/quotes`}),_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:` \"Content-Type: application/json\"`}),_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:` \"x-api-key: dzap_xxxxxxxxxxxxxxxxxxxxxxxx\"`}),_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:` -d`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '{ ... }'`})]}),`\n`]})})}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`4`,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:`4`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#953800`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#569CD6`},children:` -X`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` POST`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` https://zap.dzap.io/v1/quote`}),_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:` \"Content-Type: application/json\"`}),_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:` \"x-api-key: dzap_xxxxxxxxxxxxxxxxxxxxxxxx\"`}),_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:` -d`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '{ ... }'`})]}),`\n`]})})}),`\n`,_jsx(CodeBlock,{filename:``,numberOfLines:`4`,language:`typescript`,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:`typescript`,children:_jsxs(_components.code,{language:`typescript`,numberOfLines:`4`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:`DZapClient`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` } `}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#C586C0`},children:`from`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:` '@dzapio/sdk'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`;`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#6E7781`,\"--shiki-dark\":`#6A9955`},children:`// The key applies to both api.dzap.io and zap.dzap.io requests made through this client instance`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#0550AE`,\"--shiki-dark\":`#4FC1FF`},children:` dzap`}),_jsx(_components.span,{style:{color:`#CF222E`,\"--shiki-dark\":`#D4D4D4`},children:` =`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#9CDCFE`},children:` DZapClient`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#8250DF`,\"--shiki-dark\":`#DCDCAA`},children:`getInstance`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`'dzap_xxxxxxxxxxxxxxxxxxxxxxxx'`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`);`})]}),`\n`]})})}),`\n`,_jsx(Warning,{children:_jsx(_components.p,{children:`Never put API keys in client-side code. Proxy through your backend. Server-only.`})}),`\n`,_jsx(Heading,{level:`2`,id:`without-a-key`,children:`Without a key`}),`\n`,_jsx(_components.p,{children:`Every endpoint on both APIs works without a key - quotes, builds, status, tokens, positions, and so on. Unauthenticated requests are handled per-IP instead of per-key.`})]})}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":"API keys, header format, and when each API requires one.","sidebarTitle":"Authentication","icon":"key","href":"/api/authentication"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"TL;DR","slug":"tldr","depth":2,"children":[]},{"title":"Getting an API key","slug":"getting-an-api-key","depth":2,"children":[]},{"title":"Using an API key","slug":"using-an-api-key","depth":2,"children":[]},{"title":"Without a key","slug":"without-a-key","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"dzap-38a4978a","siteName":"DZap","title":"Authentication - DZap","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-15T04:25:54.049Z","gitLastModified":"2026-10-15T04:25:44.000Z","originalFileLocation":"api/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=\"API keys, header format, and when each API requires one.\">\u003cmeta data-mint-head name=\"application-name\" content=\"DZap\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/dzap-38a4978a/_axGAa6qZdKkPQjz/_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/dzap-38a4978a/_axGAa6qZdKkPQjz/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/dzap-38a4978a/_axGAa6qZdKkPQjz/_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/dzap-38a4978a/_axGAa6qZdKkPQjz/_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/dzap-38a4978a/_axGAa6qZdKkPQjz/_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/dzap-38a4978a/_axGAa6qZdKkPQjz/_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/dzap-38a4978a/_axGAa6qZdKkPQjz/_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/dzap-38a4978a/_axGAa6qZdKkPQjz/_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/dzap-38a4978a/_axGAa6qZdKkPQjz/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Authentication - DZap\">\u003cmeta data-mint-head property=\"og:description\" content=\"DZap is zapping infrastructure for DeFi aggregation and intent execution across EVM, Solana, Bitcoin, and Sui.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"DZap\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.dzap.io/api/authentication\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://docs.dzap.io/images/og-image.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=\"Authentication - DZap\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"DZap is zapping infrastructure for DeFi aggregation and intent execution across EVM, Solana, Bitcoin, and Sui.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://docs.dzap.io/images/og-image.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/dzap-38a4978a/_axGAa6qZdKkPQjz/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"DZap\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#93E900\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.dzap.io/api/authentication\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/api/authentication.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.dzap.io/#organization\",\"name\":\"DZap\",\"url\":\"https://docs.dzap.io\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/dzap-38a4978a/LXTGoBwwZWs1T77l/logo/light.svg?fit=max\u0026auto=format\u0026n=LXTGoBwwZWs1T77l\u0026q=85\u0026s=95b5cc0a4313de9d446eb798727974b8\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.dzap.io#website\",\"name\":\"DZap\",\"url\":\"https://docs.dzap.io\",\"publisher\":{\"@id\":\"https://docs.dzap.io/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.dzap.io/api/authentication#webpage\",\"url\":\"https://docs.dzap.io/api/authentication\",\"name\":\"Authentication\",\"description\":\"API keys, header format, and when each API requires one.\",\"dateModified\":\"2026-10-15T04:25:44.000Z\",\"isPartOf\":{\"@id\":\"https://docs.dzap.io#website\"},\"breadcrumb\":{\"@id\":\"https://docs.dzap.io/api/authentication#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.dzap.io/api/authentication#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Getting started\",\"item\":\"https://docs.dzap.io/api/introduction\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Authentication\",\"item\":\"https://docs.dzap.io/api/authentication\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.dzap.io/api/authentication#article\",\"headline\":\"Authentication\",\"name\":\"Authentication\",\"description\":\"API keys, header format, and when each API requires one.\",\"url\":\"https://docs.dzap.io/api/authentication\",\"mainEntityOfPage\":{\"@id\":\"https://docs.dzap.io/api/authentication#webpage\"},\"image\":\"https://docs.dzap.io/images/og-image.png\",\"dateModified\":\"2026-10-15T04:25:44.000Z\",\"publisher\":{\"@id\":\"https://docs.dzap.io/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.dzap.io#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"DZap\",\"creator\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","siteName":"DZap","nav":{"global":null,"tabs":[{"tab":"Overview","pages":[{"title":"Overview","href":""}]},{"tab":"API","groups":[{"group":"Getting started","pages":[{"title":"API Introduction","description":"Two surfaces, one router. Fuse API and Trade API.","sidebarTitle":"Introduction","icon":"code","href":"/api/introduction"},{"title":"Authentication","sidebarTitle":"Authentication","icon":"key","href":"/api/authentication"},{"title":"Rate Limits","description":"Per-IP and per-key limits, response headers, and how to handle 429s.","sidebarTitle":"Rate limits","icon":"gauge","href":"/api/rate-limits"},{"title":"Error Codes","sidebarTitle":"Error codes","icon":"circle-exclamation","href":"/api/error-codes"}]},{"group":"Fuse API","pages":[{"title":"Get Quote","sidebarTitle":"Quote","api":"POST https://zap.dzap.io/v1/quote","href":"/api/fuse/quote"},{"title":"Build Transaction","sidebarTitle":"Build Tx","api":"POST https://zap.dzap.io/v1/buildTx","href":"/api/fuse/build-tx"},{"title":"Track Status","sidebarTitle":"Status","api":"GET https://zap.dzap.io/v1/status","href":"/api/fuse/status"},{"title":"Bundle Actions","sidebarTitle":"Bundle","api":"POST https://zap.dzap.io/v1/bundle/quote","href":"/api/fuse/bundle"},{"title":"Broadcast Transaction","sidebarTitle":"Broadcast","api":"POST https://zap.dzap.io/v1/broadcast","href":"/api/fuse/execute"},{"group":"Pools","pages":[{"title":"List Pools","sidebarTitle":"List Pools","api":"GET https://zap.dzap.io/v1/pools","href":"/api/fuse/pools"},{"title":"Pool Details","sidebarTitle":"Pool Details","api":"GET https://zap.dzap.io/v1/pool/details","href":"/api/fuse/pool-details"}]},{"title":"Positions","sidebarTitle":"Positions","api":"GET https://zap.dzap.io/v1/user/positions","href":"/api/fuse/user"},{"group":"Config","pages":[{"title":"Providers","sidebarTitle":"Providers","api":"GET https://zap.dzap.io/v1/config/providers","href":"/api/fuse/providers"},{"title":"Chains","sidebarTitle":"Chains","api":"GET https://zap.dzap.io/v1/config/chains","href":"/api/fuse/chains"}]}]},{"group":"Trade API","pages":[{"title":"Get Quotes","sidebarTitle":"Quote","api":"POST https://api.dzap.io/v1/quotes","href":"/api/trade/quote"},{"title":"Build Transaction","sidebarTitle":"Build Tx","api":"POST https://api.dzap.io/v1/buildTx","href":"/api/trade/build-tx"},{"title":"Best Build","sidebarTitle":"Best Build","api":"POST https://api.dzap.io/v1/best-build","href":"/api/trade/best-build"},{"title":"Execute Gasless Intent","sidebarTitle":"Execute","api":"POST https://api.dzap.io/v1/gasless/executeTx","href":"/api/trade/execute"},{"title":"Broadcast Transaction","sidebarTitle":"Broadcast","api":"POST https://api.dzap.io/v1/broadcast","href":"/api/trade/broadcast"},{"group":"Status","pages":[{"title":"Track Status","sidebarTitle":"Track Status","api":"GET https://api.dzap.io/v1/status","href":"/api/trade/status"},{"title":"Batch Status","sidebarTitle":"Batch Status","api":"GET https://api.dzap.io/v1/status/multi","href":"/api/trade/status-batch"}]},{"group":"Tokens","pages":[{"title":"List Tokens","sidebarTitle":"List Tokens","api":"GET https://api.dzap.io/v1/token/tokens","href":"/api/trade/tokens"},{"title":"Token Details","sidebarTitle":"Token Details","api":"GET https://api.dzap.io/v1/token/details","href":"/api/trade/token-details"},{"title":"Balances","sidebarTitle":"Balances","api":"GET https://api.dzap.io/v1/token/balance-of","href":"/api/trade/balances"}]},{"title":"Supported Chains","sidebarTitle":"Supported Chains","api":"GET https://api.dzap.io/v1/chains","href":"/api/trade/chains"}]}]},{"tab":"SDK","pages":[{"title":"SDK","href":"/sdk/overview"}]},{"tab":"Widget","pages":[{"title":"Widget","href":"/widget/overview"}]},{"tab":"Cookbook","pages":[{"title":"Cookbook","href":"/cookbook/trade/swap"}]},{"tab":"Resources","pages":[{"title":"Resources","href":"/resources/glossary"}]}]},"basePath":"","title":"Authentication - DZap","buildId":"dpl_DeHjVRGfFnhYQwHnfC2pjeXXv8h9","deploymentId":"dpl_DeHjVRGfFnhYQwHnfC2pjeXXv8h9","dynamics":[],"chunks":[]}