Skip to main content
POST
/
v1
/
api_key
/
register
Register API Key
curl --request POST \
  --url https://api.hypereth.io/v1/api_key/register \
  --header 'Content-Type: application/json' \
  --data '{
  "nonce": 1758690167820,
  "signature": "0xea63d2f515f3846a42c9c11a3e74f2000d04d19069dd3072ae1a09b13a9c1d8d171e73e465e16df0c7c66a613c5b64b68cc988fe7907cc1081112ec13b796d2e10"
}'
{
  "api_key": "hypereth_1234567890abcdef1234567890abcdef",
  "created_at": "2023-11-07T05:31:56Z"
}

Body

application/json

API key registration request

nonce
integer
required

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

Example:

1758690167820

signature
string
required

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

Example:

"0xea63d2f515f3846a42c9c11a3e74f2000d04d19069dd3072ae1a09b13a9c1d8d171e73e465e16df0c7c66a613c5b64b68cc988fe7907cc1081112ec13b796d2e10"

Response

API key created successfully

API key registration response

api_key
string

Generated API key

Example:

"hypereth_1234567890abcdef1234567890abcdef"

created_at
string<date-time>

Creation timestamp