TypeScript
API client for Node.js, Deno, Bun, and browsers. Includes TypeScript definitions for full type safety.
npm install @tracktile/sdkOfficial TypeScript client library for the Tracktile API. Type-safe, fully documented, and automatically generated from our OpenAPI specification.
TypeScript
API client for Node.js, Deno, Bun, and browsers. Includes TypeScript definitions for full type safety.
npm install @tracktile/sdkAdditional language SDKs are planned. Contact us if you need a specific language.
The Tracktile TypeScript SDK provides:
| Feature | Description |
|---|---|
| Type Safety | Full type definitions for all requests and responses |
| Auto-Generated | Generated from our OpenAPI spec using Fern |
| Error Handling | Structured error types with HTTP status codes |
| Retry Logic | Built-in exponential backoff for transient failures |
| Authentication | Bearer token auth with support for dynamic token refresh |
| Module Support | Dual CommonJS + ESM builds |
| Package Manager | Minimum Runtime |
|---|---|
| npm, pnpm, yarn, bun | Node.js 18+, Deno 1.39+, Bun 1+ |
You can also use the REST API directly without the SDK:
curl -X GET "https://api.tracktile.io/suppliers" \ -H "Authorization: Bearer api-YOUR_TOKEN_HERE" \ -H "Content-Type: application/json"See the API Reference for complete endpoint documentation.
Need an SDK for a language we don’t support yet? Contact us to request support for your preferred language.