For the complete documentation index, see llms.txt. This page is also available as Markdown.

GET /keys

List your API keys

List your API keys.

operationId: listApiKeys

Not reachable through CCXT. Session/credential lifecycle. CCXT takes credentials as constructor config; it never mints them.

Authentication: bearerAuth.

Returns key IDs and tiers for all keys owned by the authenticated wallet. Secrets are not included. Scoped to the network serving this request: keys minted on another network are not listed here, and their absence is not evidence that they were deleted or that they are inactive on the network that minted them.

Responses

Status
Body
Meaning

200

(no schema declared)

The session's API keys.

401

(no schema declared)

Valid session token required

Example

curl -X GET 'https://exchange.nexus.xyz/api/exchange/keys' \
  -H 'Authorization: Bearer <token>'
import requests

headers = {
    "Authorization": "Bearer <token>"
}

response = requests.get("https://exchange.nexus.xyz/api/exchange/keys", headers=headers)
response.raise_for_status()
print(response.json())
const response = await fetch("https://exchange.nexus.xyz/api/exchange/keys", {
  method: "GET",
  headers: {
    "Authorization": "Bearer <token>"
  },
});
if (!response.ok) throw new Error(`${response.status} ${await response.text()}`);
console.log(await response.json());

Generated from eng/apps/exchange/api/openapi.json (spec 0.9.36). Do not edit by hand — regenerate with python3 product/docs/tools/api-reference/generate.py. Hand-authored context lives in the Guides pages.

Last updated