Secure API Key

The Stakefish API is a straightforward REST API that requires an access token for authentication. This token ensures that validators are properly assigned to your organization and that rewards are accurately distributed.

🚧

Important

Secure API key cannot be shared with third parties. Especially, through Web Interfaces.

To use the Stakefish API, include your Secure API key in the Authorization header of every request:

curl -X GET "https://api.testnet.stake.fish/v1/eth/stake/v1/remaining-keys" \
     -H "Authorization: YOUR_SECURE_API_KEY"

Remember to replace YOUR_SECURE_API_KEY with your actual key to authenticate requests.

PS. If this command returns 0 or an error. Please contact your account manager to allocate public keys to your organization.