跳到主要内容

Spot API Introduction

Poloniex provides both HTTP and websocket APIs for interacting with the exchange. Both allow read access to public market data and private read access to your account. Private write access to your account is available via the private HTTP API.

The public HTTP endpoints are accessed via GET requests while the private endpoints are accessed via HMAC-SHA256 signed POST requests using API keys. Both types of HTTP endpoints return results in JSON format.

The websocket API allows push notifications about public market data and your private account. Similarly to the HTTP API, it requires HMAC-SHA256 signed requests using API keys for requests related to your private account.

Poloniex also offers SDKs in various languages, which can be used to access both HTTP and Websockets endpoints.

Email client services (api-support@poloniex.com) with any questions.

警告

Documentation for the legacy HTTP and Websockets API can be found here. Please note that the legacy Private HTTP API and Private Websockets Channel have been decommissioned as of Feb 28th, 2023.