Search…
Reference
The Kiln API provides REST endpoints with JSON encoded requests and responses bodies. Our API is versioned, please use the documentation accordingly.

The API uses API keys to authenticate requests. These API keys represent your organization, which is why you must keep them secure. Do not share nor upload them on public areas like GitHub or client-side applications.
You can get your token on your dashboard by creating a new application.
You can then authenticate to Kiln API by setting the Authorization request header to Bearer $TOKEN with $TOKEN being your API key.
curl -X GET "https://api.kiln.fi/v1/eth/stakes" \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json"
All API calls must be made with HTTPS, otherwise they will fail.

Kiln API is deployed in two blockchain environments: testnet and mainnet. Add a prefix to the API url to switch environment.
  • mainnet: https://api.kiln.fi/v1
  • testnet: https://api.testnet.kiln.fi/v1

Every response request uses the standard HTTP response codes and provides explicit error messages in the error response object which follows this structure:
{
"statusCode": 400,
"message": "Wallet address does not match ethereum address format"
}
Copy link
On this page
Authentication
Environments
Errors