v1

latestOpenAPI 3.0.32026-07-2613529376.3 KB
Codes

Get my codes

The endpoint retrieves the list of WhiteBIT codes created by my account.

<Warning> Rate limit: 1000 requests/10 sec. </Warning> <Note> The API does not cache the response. </Note> <Note> Results are sorted by creation date, newest first. Pagination is capped at `offset + limit ≤ 10000`; for a complete history export beyond the cap, use the Report on the History page. </Note>
post/api/v4/main-account/codes/my

Request body

limitinteger

LIMIT is a special clause used to limit records a particular query can return.

offsetinteger

Use the OFFSET clause to return entries starting from a particular line.

requeststring required

Request signature

nonceinteger required

Unique request identifier

Example request

{
  "limit": 30,
  "request": "{{request}}",
  "nonce": 1594297865000
}

Response

All validations succeeded and creating transaction is started

totalinteger

Total number of codes

limitinteger
offsetinteger

Example response

{
  "data": [
    {
      "amount": "100",
      "code": "WBe50fbe4d5d...ee33",
      "date": 1598296132,
      "status": "active",
      "ticker": "USDT",
      "external_id": "id1"
    }
  ]
}