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

> ## Agent Instructions
> Soroswap Aggregator API: base URL https://api.soroswap.finance, pick the network with ?network=mainnet or ?network=testnet (omitted means mainnet).
> Auth: Authorization: Bearer sk_... on every call. Get a key at https://console.soroswap.finance/register. A missing or invalid key returns 401 with code and registerUrl (POST /send returns 403 instead); an expired JWT or a missing role returns 403. Free plan 1 request/s; see https://docs.soroswap.finance/api/plans.md.
> Flow: POST /quote (assetIn, assetOut as C... contract addresses, amount as an integer string in the smallest unit, tradeType, protocols) -> POST /quote/build with the unchanged quote and from -> the user signs the XDR -> POST /send. Build right after quoting: a Soroban XDR is valid for 180 seconds. Submit it as is, never re-simulate it.
> Partner id: every account has one (9 hex chars, permanent). Read partnerId from GET /partner, or in the console at https://console.soroswap.finance under Fees & payouts. The partner fee itself is switched on by Soroswap; see https://docs.soroswap.finance/api/fees.md.
> AI tools: docs MCP at https://docs.soroswap.finance/mcp (claude mcp add --transport http soroswap-docs https://docs.soroswap.finance/mcp), skill with npx skills add https://docs.soroswap.finance. Other clients: https://docs.soroswap.finance/api/build-with-ai.md.
> Units and Stellar pitfalls: https://docs.soroswap.finance/api/stellar-gotchas.md. Errors and retries: https://docs.soroswap.finance/api/errors.md.

# Terms of Use

> The short version, and links to the binding documents.

Your access to and use of Soroswap, including our websites, the web application, the Console, the API, the SDK, smart contracts and all associated services, is governed by the Soroswap **Terms of Use**.

Soroswap Corp. develops and operates non-custodial blockchain software infrastructure. It is not a financial institution, custodian, broker, or investment adviser, and never holds or controls your private keys or digital assets. The API, the SDK and the Console are provided "as is", without a service level, unless you have a signed agreement with Soroswap Corp., which prevails over the Terms. Before using the protocol or integrating the API, please review the full Terms, including the risk disclosures, the integrator fee and payout sections, and the arbitration and class-action waiver provisions.

> [!NOTE]
>
> Read the complete and legally binding document here: [**Soroswap Terms of Use**](https://app.soroswap.finance/terms).

Related documents:

* [Tokenized Assets Terms](https://app.soroswap.finance/terms/tokenized-assets), for tokenized stocks and ETFs exchanged through the app.
* [Privacy Policy](https://app.soroswap.finance/privacy), what personal data we collect and why.
* [Cookie Policy](https://app.soroswap.finance/cookies), every analytics and tracking tool we use.

Creating an API or Console account requires accepting the Terms.

For questions regarding the Terms, contact us at [legal@soroswap.finance](mailto:legal@soroswap.finance).


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