Skip to main content
POST
/
private
/
Earn
/
Allocate
Allocate Earn Funds
curl --request POST \
  --url https://api.kraken.com/0/private/Earn/Allocate \
  --header 'API-Key: <api-key>' \
  --header 'API-Sign: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "amount": "4.3",
  "nonce": 30295839,
  "strategy_id": "ESRFUO3-Q62XD-WIOIL7"
}
'
{
  "error": [],
  "result": true
}

Documentation Index

Fetch the complete documentation index at: https://kraken-sandbox.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

API-Key
string
header
required

The "API-Key" header should contain your API key.

API-Sign
string
header
required

Authenticated requests should be signed with the "API-Sign" header, using a signature generated with your private key, nonce, encoded payload, and URI path.

Body

application/json

Allocation amount in asset specified in the strategy

nonce
integer<int64>
required

Nonce used in construction of API-Sign header

amount
string
required

The amount to allocate.

strategy_id
string
required

A unique identifier of the chosen earn strategy, as returned from /0/private/Earn/Strategies.

Response

200 - application/json

Response

error
string[]

Kraken API error

result
boolean | null

Will return true when the operation is successful, null when an error occurred.