API-key rate limiting
The following guide covers the creation and usage of Pacifica API-keys.
Pacifica also offers API-key rate limiting on websocket API that allows for more flexible limits. For more information around API-key limits, please reach out to us in the Discord API channel. API-keys are generated via REST API. Each account can have up to five API keys.
Request Body:
"account"
string
required
User's wallet address
42trU9A5...
"signature"
string
required
Cryptographic signature
5j1Vy9Uq...
"timestamp"
integer
required
Current timestamp in milliseconds
1716200000000
Response
Note:
API keys are generated with a prefix for fast lookup
Format: "{8_char_prefix}_{base58_encoded_uuid}"
Using a Pacifica API-key
Pacifica's API keys are used to enhance websocket rate-limiting. The default rate for an API key follows the same restrictions as IP-based rate limits. Pacifica API-keys are used in the websocket connection header to specify API-key rate limiting. Connection Request Example:
Last updated