# Soroswap API

{% embed url="<https://youtu.be/5KtXqx2I0A0?si=P8ecQEVXVr4pfI4c>" %}

The **Soroswap API** is built for developers and teams who want to integrate Soroswap's decentralized infrastucture into their apps. Whether you're building a wallet, a frontend, or another kind of product on Stellar, the API gives you access data from real-time pricing and routing to transaction generation.

## Key features

* 🔁 **Fetch quotes and optimal routes** for token swaps across multiple protocols (Soroswap, Phoenix, Aqua and SDEX)
* 📊 **Retrieve token and liquidity data**, including pool stats and available trading pairs
* 🧾 **Build XDR transactions** for on-chain execution
* 🚀 **Submit signed transactions** directly via Soroban RPC or Horizon

> 🔗 **Explore the full API reference here**:\
> 👉 <https://api.soroswap.finance/docs>

## 📚 Documentation & Guides

Choose your learning path:

* 🐶 **New to blockchain/Stellar?** → [`beginner-guide.md`](https://docs.soroswap.finance/soroswap-api/beginner-guide) - Complete tutorial with explanations
* ⚡ **Experienced developer?** → [`quickstart.md`](https://docs.soroswap.finance/readme/getting-started/quickstart) - Quick integration guide

### API Access

* **Registration Required**:
  * To use the Soroswap API, you need to [register](https://api.soroswap.finance/register) and obtain an API key
  * After you register, visit [api.soroswap.finance/login](https://api.soroswap.finance/register) and generate an API\_KEY
  * Registration is free and provides access to the full API functionality

**API\_URL**: [staging](https://api.soroswap.finance)

📮 [**Downnload the Postman Collection here**](https://drive.google.com/drive/folders/1G-LQYE2EojPWP1CSuuS_tDb9vjYbFR6E?usp=drive_link)

### Support

For any questions or support needs, please reach out to our developer support team at <dev@paltalabs.io> or join our Discord community.


---

# 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.soroswap.finance/soroswap-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.
