Skip to content

REST API

poloniex-sdk edited this page Sep 22, 2022 · 1 revision

Overview

The HTTP API allows read access to public market data through the public endpoints and read / write access to your private account via the private endpoints.

HTTP API: https://sandbox-api.poloniex.com/ Authentication (API Signature) is not required for any public requests.

Private HTTP endpoints e.g. https://sandbox-api.poloniex.com/orders are authenticated using HMAC-SHA256 signed request. See details here Authentication.

Authentication

Authentication (API Signature) is not required for any public requests.

All private HTTP endpoints require authentication using HMAC-SHA256 signed request. This is automatically created on private requests if RestClient is instantiated with your api key and api secret.

import os
from polosdk import RestClient

api_key = os.environ['POLO_API_KEY']
api_secret = os.environ['POLO_API_SECRET']

client = RestClient(api_key, api_secret)

Rate Limits

  • Public requests are limited per IP address and set of endpoints
Endpoint Rate Limit (per second)
/markets 10
/markets/{symbol}/trades 10
/markets/ticker24h 10
/markets/{symbol}/ticker24h 10
/currencies 10
/currencies/{currency} 10
/markets/{symbol} 200
/markets/price 200
/markets/{symbol}/price 200
/markets/{symbol}/orderBook 200
/markets/{symbol}/candles 200
/timestamp 200
Clone this wiki locally