通过 API 赚取收益

上次更新时间: 2026年11月2日

简介

Kraken 提供多种方法为现金和加密货币持有者创造收益,让用户能够通过其 Kraken 账户中可能闲置的资产(例如,目前未用于交易的资金)赚取奖励。有关 Kraken 收益产品的详细信息以及资格概览,请参阅我们的支持文章。

我们的 REST API 提供了多个端点,允许用户与我们的收益产品进行交互:

  • •

    检索收益策略列表

  • •

    列出所有当前分配 

  • •

    分配和解除分配资金

  • •

    获取分配和解除分配的状态

API 密钥必须包含收益权限,才能与产品进行交互。请确保资金查询和收益端点已获得 API 密钥的授权。

Manage staking positions programmatically

If you manage a large balance across several assets, you can run the full staking lifecycle through the REST API instead of the app. Create an API key with earn permissions, then use the endpoints described on this page to move funds in and out of earn strategies and to check where each allocation stands.

A typical workflow follows these steps:

  • •

    Retrieve the list of earn strategies to see the strategies available to your account.

  • •

    Allocate funds to the strategy you choose.

  • •

    Get the status of the allocation to confirm the request has completed.

  • •

    List all current allocations to review your open positions.

  • •

    Deallocate funds when you want to exit, and get the status of the deallocation to confirm it has completed.

Before you start

Keep API keys limited to the permissions they need. Earn permissions are required to interact with this product. Check the details of each strategy before allocating, because commission, minimums and unbonding terms can differ by asset.

示例响应

请查阅我们的文档,了解示例响应和 REST API 的使用方法 - 文档