Tjen via API'en

Sidst opdateret: 2. november 2026

Introduktion

Kraken tilbyder forskellige metoder til at generere afkast for kontant- og kryptoholdere, hvilket giver brugere mulighed for at tjene belønninger på aktiver, der ellers ville ligge ubrugte på deres Kraken-konto (f.eks. midler, der ikke aktuelt bruges til handel). Detaljer om Krakens earn-produkter og en oversigt over berettigelse kan findes i vores supportartikler.

Vores REST API tilbyder flere endpoints, der giver brugere mulighed for at interagere med vores earn-produkt:

  • •

    Hent en liste over earn-strategier

  • •

    Vis alle nuværende allokeringer

  • •

    Alloker og dealloker midler

  • •

    Få status for allokeringer og deallokeringer

API-nøgler skal inkludere earn-tilladelser for at interagere med produktet. Sørg venligst for, at funds query og earn endpoints er tilladt for API-nøglerne.

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.

Eksempelsvar

Gennemgå venligst vores dokumentation for eksempel-svar og brug af REST API'en - Dokumentation