Management APIApi key management

List API Keys

List all API keys for the authenticated user. Returns masked API keys with metadata.

POST
/v1/api_key/list

Request Body

application/json

nonce*integerrequired

Nonce in EIP-191 personal sign message, timestamp in milliseconds

Example: 1758690167820
signature*stringrequired

EIP-191 personal sign of the nonce using the Ethereum wallet. Message format: "HyperETH: List All API Keys\nNonce: {nonce}"

Example: 0xea63d2f515f3846a42c9c11a3e74f2000d04d19069dd3072ae1a09b13a9c1d8d171e73e465e16df0c7c66a613c5b64b68cc988fe7907cc1081112ec13b796d2e10

Response Body

application/json

application/json

curl -X POST "https://api.hypereth.io/v1/api_key/list" \  -H "Content-Type: application/json" \  -d '{    "nonce": 1758690167820,    "signature": "0xea63d2f515f3846a42c9c11a3e74f2000d04d19069dd3072ae1a09b13a9c1d8d171e73e465e16df0c7c66a613c5b64b68cc988fe7907cc1081112ec13b796d2e10"  }'
{
  "api_keys": [
    {
      "api_key": "hypereth_1234567890abcdef1234567890abcdef",
      "name": "My Trading Bot Key",
      "is_active": true,
      "created_at": "2019-08-24T14:15:22Z"
    }
  ]
}
{
  "error": "Invalid API key",
  "code": 1001,
  "details": {}
}