# SDK Overview
Source: https://docs.aden.space/docs/developers/sdk

Official type-safe TypeScript SDK for the Aden API.
`@adenspace/sdk` is a thin, fully-typed wrapper around the Aden HTTP API. It's
built on [Eden Treaty](https://elysiajs.com/eden/overview.html), so every
request, response, and query parameter is inferred directly from the server
there is no code generation step.

## Why use the SDK [#why-use-the-sdk]

* **End-to-end types.** Autocomplete on paths, bodies, and responses.
* **Works anywhere.** Node, Bun, Deno, edge runtimes, Electron and Raycast.
  Fetch-based. In a browser, use a session token: keys only work from a
  server.
* **Auth-agnostic.** API keys for backend code, Supabase session tokens for
  user-facing apps, or a custom token provider.
* **Tiny.** Ships as ESM, tree-shakeable.

<Callout>
  `@adenspace/sdk` isn't on npm yet. Until it is, call the REST API with
  `fetch`, as in [Add Aden to your website](/docs/developers/website).
</Callout>

## At a glance [#at-a-glance]

```ts
import { createAdenClient } from '@adenspace/sdk'

const aden = createAdenClient({ apiKey: process.env.ADEN_API_KEY })

// Fully typed: path, query, and response all inferred
const { data, error } = await aden.api.v1.tracks.get({
    query: { teamId: '216', limit: 20 },
})

if (error) throw error
for (const track of data.data) {
    console.log(track.title, track.cover_url_medium)
}
```

## Next [#next]

<Cards>
  <Card title="Quickstart" href="/docs/developers/sdk/quickstart" />

  <Card title="Authentication" href="/docs/developers/sdk/authentication" />

  <Card title="React hooks" href="/docs/developers/sdk/react" />

  <Card title="Examples" href="/docs/developers/sdk/examples" />
</Cards>