Tài liệu cho nhà phát triển

KoinKoin API

Xây dựng bot giao dịch, công cụ theo dõi danh mục và ứng dụng fintech trên hạ tầng sàn giao dịch toàn châu Phi được quản lý của KoinKoin.

Lấy API Key →Liên hệ đội API
Base URL
https://api.koinkoin.io/v1
Xác thực
Truyền API key của bạn trong header X-API-Key của yêu cầu đối với các endpoint cần xác thực.
curl https://api.koinkoin.io/v1/account/all-balances \
  -H "X-API-Key: kk_live_your_api_key_here"
Giới hạn tần suất
Endpoint công khai
300 req/min
Cần xác thực
300 req/min
Giao dịch
60 req/min
Lỗi
429 Too Many Requests
Dữ liệu thị trường
GET/v1/market/tickers▼
GET/v1/market/orderbook▼
GET/v1/market/trades▼
GET/v1/market/candles▼
Tài khoản
GET/v1/account/all-balances🔑 Xác thực▼
GET/v1/account/wallet/deposit-address🔑 Xác thực▼
GET/v1/account/wallet/deposits🔑 Xác thực▼
GET/v1/account/wallet/withdrawals🔑 Xác thực▼
Giao dịch
POST/v1/trade/order🔑 Xác thực▼
GET/v1/trade/orders🔑 Xác thực▼
DELETE/v1/trade/order/:orderId🔑 Xác thực▼
Thanh toán cho người bán (KoinKoin Pay)
POST/v1/merchant/invoices🔑 Xác thực▼
GET/v1/merchant/invoices/:id🔑 Xác thực▼
GET/v1/merchant/invoices🔑 Xác thực▼
POST/v1/merchant/invoices/:id/cancel🔑 Xác thực▼
WEBHOOKinvoice.paid · invoice.expired · invoice.cancelled▼
📦 SDK & thư viện
SDK chính thức sắp ra mắt. Trong thời gian chờ, hãy dùng bất kỳ HTTP client nào.
🐍
Python
pip install koinkoin
Sắp ra mắt
🟨
JavaScript
npm install koinkoin
Sắp ra mắt
🐹
Go
go get koinkoin/sdk
Sắp ra mắt
🐘
PHP
composer require koinkoin
Sắp ra mắt