> ## Documentation Index
> Fetch the complete documentation index at: https://tetrafi.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# SDK and samples

> The TypeScript SDK is not published yet. Every call has a runnable cURL sample; the quickstart, request signing and webhook verification also run in Node.js and Python.

The API needs no SDK: it is plain HTTPS and JSON. Until the TypeScript SDK is published, build on the samples below. Each one runs as it is; the page snippets are cut from these same files.

## At a glance

| Language | What runs |
| - | - |
| cURL (Bash) | Every guide's calls, and each recipe end to end |
| Node.js 18+ | Quickstart, request signing, webhook verification |
| Python 3.8+ | Quickstart, request signing, webhook verification |
| Postman | Every operation ([Postman collection](https://tetrafi.mintlify.site/reference/introduction.md#postman-collection)) |
| TypeScript SDK | Not published yet |

The Node.js and Python samples use only the standard library: no packages to install.

## The samples

> [card] [Quickstart](https://github.com/TetraFi/docs/tree/main/samples)
>
> `samples/http/quickstart.sh`, `samples/node/quickstart.mjs` and `samples/python/quickstart.py`: list assets, quote, order and follow.

> [card] [Request signing](https://tetrafi.mintlify.site/authentication.md#sign-requests)
>
> `request-signing` in Node.js and Python, checked against the published test values.

> [card] [Webhook verification](https://tetrafi.mintlify.site/trade/webhooks.md)
>
> `webhook-verify` in cURL, Node.js and Python: verifies a delivery and refuses a changed body or a stale timestamp.

> [card] [All samples](https://github.com/TetraFi/docs/tree/main/samples)
>
> Every script the guides show, by language.

> [accordion] How the samples behave
>
> Each API script reads its settings from environment variables (`TETRAFI_BASE_URL`, `TETRAFI_API_KEY`, `TETRAFI_SIGNING_SECRET`, and its own options listed at its top), signs requests when the key has request signing on, and prints one JSON summary as its last line; the webhook verifiers also run offline against a built-in test vector. A script that can place an order stops before ordering unless you set `TETRAFI_PLACE_ORDER=1`, and saves the order record it needs to [recover the order](https://tetrafi.mintlify.site/trade/orders.md#retries-and-recovery) before it sends.

## Next

> [card] [Quickstart](https://tetrafi.mintlify.site/quickstart.md)
>
> Run your first quote and order.

> [card] [Test before you trade](https://tetrafi.mintlify.site/testing.md)
>
> What you can try without moving assets.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.