> For clean Markdown of any page, append .md to the page URL. > For a complete documentation index, see https://docs.zip.tax/v-5-0/guides/sdks/node-sdk/llms.txt. > For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.zip.tax/_mcp/server. # Node SDK The Node SDK provides a first-class JavaScript / TypeScript client for the Ziptax API, with idiomatic patterns for Node.js backends, edge functions, and server-rendered frontends. It includes built-in authentication, automatic retries, TypeScript type definitions, and helpers for the full tax-calculation and jurisdiction-lookup workflow. It ships both CommonJS and ES Module builds and requires Node.js 18 or later. > **Info** > > The Node SDK is currently offered as a **Beta** product. Please send your > comments and suggestions to [support@zip.tax](mailto:support@zip.tax). ## Project resources #### [GitHub Repository](https://github.com/ZipTax/ziptax-node) #### [npm Package](https://www.npmjs.com/package/@ziptax/node-sdk) ## Implementation example ### Install ```bash npm install @ziptax/node-sdk ``` ### Import ```typescript import { ZiptaxClient } from '@ziptax/node-sdk'; ``` ### Configure the client ```typescript const client = new ZiptaxClient({ apiKey: 'your-api-key', }); ``` ### Get sales tax by address ```typescript const result = await client.getSalesTaxByAddress({ address: '200 Spectrum Center Drive, Irvine, CA 92618', }); ``` ### Print the result ```typescript console.log('Total Tax Rate:', result.taxSummaries?.[0]?.rate); console.log('Base Rates:', result.baseRates); ``` ## Full documentation Full reference documentation, including all request options, response types, error classes, and webhook helpers, is available in the [GitHub repository](https://github.com/ZipTax/ziptax-node) and on [npm](https://www.npmjs.com/package/@ziptax/node-sdk). > Official Node.js SDK for the Ziptax API