ThesaurosDocs
Sandbox API

Rebalances

Work with rebalances 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

List rebalances

GET /rebalances

Parameters

| Name | Location | Type | Required | Description |

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

| position_id | query | string | No | Filter by position |

| limit | query | integer | No | Page size (1-500, default 100) |

| cursor | query | string | No | Opaque cursor returned as meta.next_cursor |

Response · 200

Field Type Required Description
object "list" Yes
data Rebalance[] Yes
meta ListMeta Yes

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 readingWebhooks

Find an integration guide, API method or SDK example.

Thesauros documentationSearch runs in your browser