Skip to content

Guide

Does Kraken Futures have an API?

Yes. Kraken Futures has REST, WebSocket and FIX APIs. You create a key in your Settings, and it comes as a public key and a private key. Kraken signs each request with that pair. A TradingView alert can't call the API itself. It posts to Nyria's webhook, and the bot places the order. Nyria connects Kraken Futures with the public and private keys. Perps are leveraged, and the exchange can liquidate a position.

Official documentation

Connect Kraken Futures in six steps

  1. 1

    Open Settings

    Sign in at futures.kraken.com, select your name, then Settings.

  2. 2

    Create the key

    In the API panel, open the Create Key tab.

  3. 3

    Set the access

    Choose Full Access for General API and No Access for Withdrawal API.

  4. 4

    Copy both keys

    Kraken shows the private key once, so copy it now.

  5. 5

    Connect Kraken Futures in Nyria

    Open the Kraken Futures card on Integrations. Paste both keys, then connect.

  6. 6

    Point TradingView at Nyria

    Create a perps strategy with TradingView as the source. Under Notifications, tick Webhook URL, paste the strategy's URL, then select Apply.

What the API does

  • It reads prices, balances, margin and positions.
  • It places and cancels orders, one at a time or in batches.
  • Each private request carries your public key and a signature.
  • Kraken makes the signature from your private key.

Why an alert can't call it

  • A TradingView alert sends a webhook.
  • Something has to sign the request and place the order.
  • Nyria is that receiver, and it never places an order by itself.
  • Your alerts and strategy rules decide every entry and exit.

How Nyria connects Kraken Futures

  • You paste the public key and the private key once.
  • Nyria stores the keys encrypted at rest.
  • It reads the account and places and cancels orders.
  • Withdrawal API stays on No Access, so the key can't move funds out.

What Nyria places

  • Market orders on USD perpetuals, long and short.
  • Other order types are refused, and the alert gets a message that says so.
  • An exit goes out reduce-only.
  • Kraken lists BTC as PF_XBTUSD. An alert that says BTC is enough.

What it can't do

  • Connect a Kraken Futures demo account. Nyria takes live accounts only.
  • Use a Read Only key. It can't place orders.
  • Move money. Withdrawals stay off.
  • Remove the risk. A leveraged position can be liquidated.

Questions

Can a TradingView alert call the Kraken Futures API?
No. An alert sends a webhook. Nyria receives it and places the order.
Which key permissions does Nyria need?
Full Access for General API. Set Withdrawal API to No Access.
Does Kraken Futures have a demo site?
Yes. Kraken runs a demo site of its own. Nyria takes live accounts only.
Which order types work on Kraken Futures?
Market orders. Any other order type is refused.
Can I test before using real money?
Yes. Run the strategy on Nyria Paper first. It's free.
Is Kraken Futures the same as Kraken spot?
No. It has its own site, its own keys and its own card in Nyria.

Next

Try a paper bot first

No card required. Paper is free. Live trading from $15 a month.