# Introducing the Vercel TypeScript SDK

**Published:** December 9, 2024 | **Authors:** Lee Robinson, Ismael Rumzan

---

We’ve published a TypeScript-native SDK for working with the Vercel API.

**Terminal**
```bash
npm i @vercel/sdk
```

This SDK includes:

- Full type safety for accessing the Vercel REST API with Zod schemas
- New documentation for every function, argument, and type
- Better tree-shaking support with optional standalone functions
- Intuitive error handling and detailed error messages
- Configurable retry strategies (including backoffs)

```tsx
import { Vercel } from '@vercel/sdk';
const vercel = new Vercel({
  bearerToken: process.env.VERCEL_TOKEN,
});
const result = await vercel.deployments.getDeployment({
  idOrUrl: 'dpl_89qyp1cskzkLrVicDaZoDbjyHuDJ'
});
```

This SDK can be used to automate every part of Vercel’s platform including:

- Deployment automation and management
- Project creation and configuration
- Domain management
- Team and user administration
- Environment variable management
- Logs and monitoring
- Integration configuration

[View the docs](https://vercel.com/docs/rest-api/sdk) or [explore the repo](https://github.com/vercel/sdk).

---

📚 **More updates:** [View all changelog entries](/changelog/sitemap.md) | [Blog](/blog/sitemap.md)