ThesaurosDocs
Sandbox API

Yield

Work with yield in the sandbox.

Sandbox

This is the simulated Earn API. Position creation and withdrawal change sandbox records; they do not sign a wallet transaction.

Authentication · Errors · Amounts and units

Aggregated yield

GET /yield

Best and allocation-blended APY. Omit asset to aggregate all active vaults.

Parameters

| Name | Location | Type | Required | Description |

| --- | --- | --- | --- | --- |

| asset | query | "USDC", "USDT" | No | Asset to aggregate |

Response · 200

Field Type Required Description
object string Yes
data Yield Yes
meta object No

For failed requests, inspect error.code, error.message and the request ID. Error handling.

Per-asset yield detail

GET /yield/{asset}

Parameters

| Name | Location | Type | Required | Description |

| --- | --- | --- | --- | --- |

| asset | path | "USDC", "USDT" | Yes | |

Response · 200

Field Type Required Description
object string Yes
data Yield Yes
meta object No

For failed requests, inspect error.code, error.message and the request ID. Error handling.

Build with us.

Bring your product flow. We'll map the integration together.

Discuss your integration
Continue readingPositions

Find an integration guide, API method or SDK example.

Thesauros documentationSearch runs in your browser