> For the complete documentation index, see [llms.txt](https://txnlab.gitbook.io/haystack-dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://txnlab.gitbook.io/haystack-dev/readme.md).

# Haystack Developers

Build on Haystack — swap routing and market data for Algorand

Haystack offers two APIs for building on Algorand. Both take the same kind of [API key](/haystack-dev/getting-started/api-keys.md), granted for the router, the Haystack API, or both.

* [**Haystack Router**](/haystack-dev/haystack-router/introduction.md): finds the best swap for any Algorand trading pair across every DEX and liquid-staking protocol it aggregates, and executes it atomically on chain. Use the [TypeScript SDK](/haystack-dev/haystack-router/sdk.md) or call the [Swap API](/haystack-dev/haystack-router/api-order-router.md) directly.
* [**Haystack API**](/haystack-dev/haystack-api/overview.md) (`api.hay.app`): the data behind [hay.app](https://hay.app): assets, prices, charts, pools, trades and liquidity, HayLaunch tokens, prediction markets, and live updates over a WebSocket.

{% hint style="info" %}
Need help? Join the [Haystack discord](https://discord.gg/tE8TnWvucm) and look for the haystack-router channel, or email <support@txnlab.dev>.
{% endhint %}
