Get your API key
Sign in to the Turtle Dashboard and generate an API key for your distributor. You will receive two keys:
pk_live_— Public key. Safe to use in client-side code. Used for read-only endpoints like fetching opportunities.sk_live_— Secret key. Must be kept server-side. Required for write operations like generating deposit transactions.
X-API-Key header on every request. See Authentication for full details.Discover opportunities
Fetch the opportunities available for your distributor.The response contains an array of opportunity objects with APR, TVL, supported tokens, and chain information. See Opportunities for the full schema.
Onboard a wallet
Before a user can deposit, they must accept the Turtle membership agreement and be registered as a member.See Membership for details on the agreement flow.
Generate a deposit transaction
Once the wallet is onboarded, generate a deposit transaction for a specific opportunity.The response includes a transaction object (
The API supports two deposit modes. Direct mode deposits the token directly into the vault. Route mode swaps the deposit token into the vault’s base token first. The mode is selected automatically based on the opportunity’s
swapDirectEnabled and swapRouteEnabled flags.tx) that your frontend can pass to the user’s wallet for signing.Next steps
- Opportunities API — Full reference for filtering and querying opportunities
- Distributor Model — Understand how distributor scoping and revenue attribution work
- Deposits API — Query and track deposits made through your distributor

