SDKs
Official client libraries for the Tracktile API
Available SDK
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.
SDK Features
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 |
Runtime Support
| Package Manager | Minimum Runtime |
|---|---|
| npm, pnpm, yarn, bun | Node.js 18+, Deno 1.39+, Bun 1+ |
Using the REST API Directly
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.
Request an SDK
Need an SDK for a language we don't support yet? Contact us to request support for your preferred language.