Tjen via API-et

Sist oppdatert: 2. november 2026

Introduksjon

Kraken tilbyr ulike metoder for å generere avkastning for kontant- og kryptoinnehavere, slik at brukere kan tjene belønninger på eiendeler som ellers ville ligget ubrukt på Kraken-kontoen deres (for eksempel midler som ikke brukes til handel). Detaljer om Krakens earn-produkter, og en oversikt over kvalifisering, finner du i våre støtteartikler.

Vårt REST API tilbyr flere endepunkter som lar brukere interagere med vårt earn-produkt:

  • •

    Hent en liste over earn-strategier

  • •

    List opp alle nåværende allokeringer

  • •

    Alloker og dealloker midler

  • •

    Få status for allokeringer og deallokeringer

API-nøkler må inkludere earn-tillatelser for å interagere med produktet. Sørg for at endepunkter for fondsforespørsel og earn er tillatt for API-nøklene.

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

Vennligst se vår dokumentasjon for eksempelsvar og bruk av REST API-et - Dokumentasjon