# API / SDK

**What It Does**

The API provides access to the same Sail Engine that powers the stablecoin yield agent: multi-factor scoring, spike-aware regime classification, real-time cost integration, profitability gating, and Sonar risk intelligence, all through a single integration point.

Available in Python and JavaScript/TypeScript for seamless development across platforms.

***

**Use Cases**

**Neobanks and Fintechs.** Embed a white-label earn experience into your banking app. Offer your users competitive APY while generating a new revenue stream, with zero DeFi expertise required.

**Crypto Wallets.** Route idle token balances to best-in-class yield automatically, with no extra UX complexity on your end.

**Liquidity Providers.** Stop manually chasing yield. Sail's engine monitors all integrated protocols and continuously rebalances your liquidity to the highest risk-adjusted returns.

**Treasury Teams and Institutions.** Deploy capital programmatically with custom controls, compliance layers, and full on-chain transparency.

***

**Integration**

Integration time is approximately one day from API key to production. The API handles the full lifecycle: account generation, permissions signing, yield scoring, allocation optimization, cost estimation, risk filtering, and on-chain execution.

To request access or schedule a demo, [contact the team](https://sail.money/#contact).


---

# 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.sail.money/learn/tech-stack/api-sdk.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.
