Skip to main content
GET
GET /accounts/me/keys lists every API key of the account that signs the request: the active key, keys in the grace period of a rotation, and expired and revoked keys. Each entry has its status and timestamps. Secret keys are never returned, so this list can’t recover a lost one. The API console doesn’t call the key endpoints: run them from your server, where your credentials live.

Statuses

Olympex computes status when you call, so a rotating key becomes expired at expiresAt without any other change. expiresAt is null until a key is rotated. A key revoked by a compromised rotation has expiresAt and revokedAt set to the time of that rotation. Show every time in UTC.

Use the list

  • Check a rotation. After a rotation, the list shows the old key as rotating with the end of its grace period, and the new key as active. Call it with the new key to confirm that the new key works.
  • Before you revoke. The account must keep its active key: revoke rotating and expired keys, and rotate the active key instead of revoking it.
  • Find keys to clean up. Revoke a rotating key as soon as your services use the new key, instead of waiting for expiresAt.
  • Don’t poll it. An account can list its keys 30 times per minute, on every plan. Over that, the API answers 429 RATE_LIMIT_EXCEEDED: wait about a minute.

Authorizations

x-api-key-id
string
header
required

Your API key ID (UUID). See Sign requests.

x-value-info
string
header
required

Base64 of timestamp + "\n" + nonce + "\n" + bodyHash, where timestamp is Unix seconds, nonce is 24 new hexadecimal characters and bodyHash is the unpadded base64url SHA-256 of the canonical body.

x-passphrase
string
header
required

Your account passphrase. Treat it like the secret key.

x-signature
string
header
required

Lowercase hex HMAC-SHA256 (signature v2), keyed with your secret key string (UTF-8, not decoded), of seven lines joined with \n, with no trailing newline: OLPX-HMAC-SHA256-V2, timestamp, nonce, the uppercase method, path, canonicalQuery and bodyHash. path is the request path including /api/v1, without the query string, for example /api/v1/limit-order/<id>. canonicalQuery is the query parameters decoded (+ is a space), sorted by key and then by value, re-encoded per RFC 3986 and joined with &, or the empty string when there is no query. Headers signed for one request are rejected on any other. See Sign requests.

Response

The account's API keys, without secret keys.

success
enum<boolean>
required
Available options:
true
data
object
required
meta
object
required