API
API Endpoint
API KEY
You can get an API Key by visiting https://clusters.xyz/developer/api-keys
If you have an API KEY, you can add it to the request headers like so:
Authentication
Currently, this is only required for Managing Wallets. If you do not need to manage wallets via the API, you can ignore this.
Get signing message
Sign the message with an EVM or Solana wallet
Get authentication key with the signature of the signed message
Using authenticate key with endpoints that require wallet authentication
Get Signing Message
GET
/v0.1/auth/message
Get the signing message used for wallet signature authentication
Example
Response
The message to sign and the corresponding signing date
Get Authentication Key
POST
/v0.1/auth/token
Authenticate the ownership of a specific wallet
signature
Signed message signature
signingDate
Date given by signing message response
type
evm
or solana
(wallet type used for signing)
wallet
Wallet that signed the message
Example
Response
The auth key used for authenticated responses
Validate Authentication Key
POST
/v0.1/auth/validate
Authenticate if a authentication key is valid or not
HEADER X-AUTH-KEY
Authentication key
Example
Response
The auth key used for authenticated responses
Last updated