Poolnex API

Connect your own software to your Poolnex account.

Read balances, deposits and orders, and place orders from your own scripts, spreadsheets or trading tools. Every key does only what you allow, only from the addresses you list, and no key can ever withdraw.

  • Read keys see balances, history and orders
  • Trade keys also place and cancel orders
  • No key can withdraw, add an address or change your account
  • Prices and order books need no key at all
A signed call and its answer
$ curl https://poolnex.com/api/v2/account/balances \
    -H "X-Auth-Apikey: $KEY" \
    -H "X-Auth-Nonce: $NONCE" \
    -H "X-Auth-Signature: $SIGNATURE"

[
  { "currency": "usdt", "balance": "1250.0", "locked": "0.0" },
  { "currency": "btc", "balance": "0.0425", "locked": "0.001" }
]
What you can build

Three parts, one address

Everything sits under one address. Market data is open to everyone; your account needs a key.

Market data

Prices, order books, trades, candles, currencies and fees. No key and no account needed.

Your account

Balances, deposits and deposit addresses, withdrawal history, transactions, transfers, loans and profit and loss. Any key.

Trading

Place and cancel orders on the order book, and get and accept quotes for instant trades. A Trade key only.

Two kinds of key

Give each key only what it needs

You choose when you create a key. Start with Read, and make a Trade key once your code is tested.

ReadIP list optional

For dashboards, accounting and alerts.

  • Balances and transactions
  • Deposits, deposit addresses and withdrawal history
  • Your orders, trades and instant trades
  • Loans and profit and loss
TradeIP list required

For trading tools. Everything a Read key does, and:

  • Place limit and market orders
  • Cancel one order or all of them
  • Get a quote and accept it for an instant trade

No key, ever

These stay in the app, behind your password, 2FA and PIN:

  • Withdrawals and withdrawal addresses
  • Your PIN, password, 2FA and API keys
  • Your profile and verification
  • Taking out or repaying a loan
  • Business payments and settings
Built in

Guards on every key

Your addresses only

List up to 30 IP addresses or ranges and the key works from nowhere else. A Trade key must have a list.

2FA for every change

Creating, turning off and deleting a key all ask for your 2FA code. Without 2FA on, keys stop working.

A secret shown once

We keep the secret encrypted and show it only when the key is made. Lost it? Delete the key and make another.

You see every key

Each key has a name you choose, its kind, its IP list and when it was last used. Turn it off or delete it at any time.

Fair use

A steady allowance, not a wall

Calls are measured against an allowance of 300 points a key, which comes back at 5 points a second. Most calls cost 1 point; heavier ones cost more. Limits may apply above it.

What each call costs
  • A burst of calls is fine, as long as the average stays within the allowance
  • Well over it, limits may apply
  • If a call is ever refused, the error says how many seconds to wait
  • Code that waits when asked and keeps a steady pace needs nothing else
Get started

Your first call in three steps

  1. Turn on 2FA

    Keys are made and changed with your 2FA code, in Profile, Security.

  2. Create a key

    In Profile, API keys: give it a name, choose Read or Trade and list your IP addresses. Copy the secret: it is shown once.

  3. Sign your calls

    Send your key, a nonce and an HMAC-SHA256 signature in three headers. The reference has examples in Node.js, Python and curl.

FAQ

Questions, answered

Can an API key withdraw?

No. No key, Read or Trade, can withdraw, add a withdrawal address or change your PIN. Withdrawals are made in the app only, with your password, 2FA and PIN.

Do I need a key for prices?

No. Market data (prices, order books, trades, candles, currencies and fees) is open to everyone, with no key and no account.

Why does a Trade key need an IP list?

A key that can trade is worth protecting. With a list, a copied key and secret are of no use to anyone calling from another address.

What happens if I call too often?

Limits may apply. If a call is refused, the reply says how many seconds to wait (status 429 with a Retry-After header, in the error reference). Wait that long and carry on.

I lost my secret. Can you send it again?

No one can: it is shown only once. Delete the key in Profile, API keys and create a new one.

How many keys can I have?

Up to 30, each with its own name, kind and IP list. One key per program or server makes it easy to see what is calling and to turn one off.

Ready to build?

A key takes a minute to create. Start with Read, and add Trade when your code is ready.