# Saturn API

Saturn has created the first decentralized AMM program on Bitcoin. To facilitate development on top of these liquidity pools, we've created APIs to make it easier for developers like you to build innovative applications. We offer two services:

1. [**Pool API**](https://docs.saturnbtc.io/builders/saturn-api/pool-api): This API allows you to interact with the liquidity pools. You can create pools, open positions, add or remove liquidity, and perform token swaps.
2. [**Indexer API**](https://docs.saturnbtc.io/builders/saturn-api/indexer-api): This service lets you search all available pools and provides extensive information and statistics about them. You can also view transactions made within a pool or by a user, filter by transaction type, and more.

If you're eager to get started quickly, we've provided direct links to the Swagger documentation for each API, as well as a development environment powered by StockBlitz, so you can test these APIs directly.

An API Key is required to call the different APIs. The best way to obtain an API Key is to reach out to us on [Telegram](https://t.me/+a7xuJQCamRdiYmQ0).

If you feel like API is not your thing and you instead want to call the program on the Arch Network, check out our [liquidity-pool-sdk](https://docs.saturnbtc.io/builders/liquidity-pool-sdk "mention").

<br>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.saturnbtc.io/builders/saturn-api.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
