PearPear

List saved baskets

List all saved baskets for the trade account, most recently updated first

GET
/saved-baskets
x-api-key<token>

In: header

Header Parameters

X-Trade-Account-Id*string

UUID of the trade account the request acts on. Must belong to the authenticated user.

Formatuuid

Response Body

application/json

curl -X GET "https://example.com/saved-baskets" \  -H "X-Trade-Account-Id: 3fa85f64-5717-4562-b3fc-2c963f66afa6"
{  "baskets": [    {      "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",      "name": "string",      "legs": [        {          "symbol": "BTC",          "side": "BUY",          "weight": 1        }      ],      "createdAt": "string",      "updatedAt": "string"    }  ]}