一键导入
polo-spot
Poloniex Spot trading using the Polo API. Authentication requires API key and secret key for private endpoints. Supports mainnet.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Poloniex Spot trading using the Polo API. Authentication requires API key and secret key for private endpoints. Supports mainnet.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | polo-spot |
| description | Poloniex Spot trading using the Polo API. Authentication requires API key and secret key for private endpoints. Supports mainnet. |
| metadata | {"version":"1.0.0","author":"Poloniex"} |
| license | MIT |
Spot trading on Poloniex using authenticated and public API endpoints. Return the result in JSON format.
https://api.poloniex.comhttps://api.poloniex.comComplete API endpoints for Polo Spot. All endpoints are relative to the base URLs above.
| Endpoint | Description | Required | Optional | Authentication |
|---|---|---|---|---|
GET /markets | Get all symbols and trade limit info | None | symbol | No |
GET /currencies | Get all supported currencies | None | currency, includeMultiChainCurrencies | No |
GET /v2/currencies | Get all supported currencies (V2) | None | currency | No |
GET /timestamp | Get current server time | None | None | No |
| Endpoint | Description | Required | Optional | Authentication |
|---|---|---|---|---|
GET /markets/price | Get latest trade price for all symbols | None | symbol | No |
GET /markets/markPrice | Get latest mark price for all cross margin symbols | None | symbol | No |
GET /markets/{symbol}/markPriceComponents | Get mark price components for a symbol | symbol (path) | None | No |
GET /markets/{symbol}/orderBook | Get order book for a symbol | symbol (path) | scale, limit | No |
GET /markets/{symbol}/candles | Get OHLC candle data | symbol (path), interval | limit, startTime, endTime | No |
GET /markets/{symbol}/trades | Get recent trades for a symbol | symbol (path) | limit | No |
GET /markets/ticker24h | Get 24h ticker for all symbols | None | symbol | No |
| Endpoint | Description | Required | Optional | Authentication |
|---|---|---|---|---|
GET /markets/collateralInfo | Get collateral information for all currencies | None | currency | No |
GET /markets/borrowRatesInfo | Get borrow rates for all tiers and currencies | None | None | No |
| Endpoint | Description | Required | Optional | Authentication |
|---|---|---|---|---|
GET /accounts | Get list of all accounts | None | None | Yes |
GET /accounts/balances | Get all accounts with balances | None | id | Yes |
GET /accounts/activity | Get account activity (airdrops, rebates, staking) | None | startTime, endTime, activityType, limit, from, direction, currency | Yes |
POST /accounts/transfer | Transfer between accounts | currency(only support USDT), amount, fromAccount, toAccount | None | Yes |
GET /accounts/transfer | Get transfer records | None | id | Yes |
GET /feeinfo | Get fee rate for the account | None | None | Yes |
GET /accounts/interest/history | Get interest collection records | None | limit, from, direction, startTime, endTime | Yes |
| Endpoint | Description | Required | Optional | Authentication |
|---|---|---|---|---|
GET /subaccounts | Get all accounts within an Account Group | None | None | Yes |
GET /subaccounts/balances | Get balances for all subaccounts | id | None | Yes |
POST /subaccounts/transfer | Transfer between accounts in Account Group | currency, amount, fromAccountId, fromAccountType, toAccountId, toAccountType | None | Yes |
GET /subaccounts/transfer | Get subaccount transfer records | None | id | Yes |
| Endpoint | Description | Required | Optional | Authentication |
|---|---|---|---|---|
GET /wallets/addresses | Get all deposit addresses | None | currency | Yes |
GET /wallets/activity | Get deposit and withdrawal history | start, end | activityType | Yes |
POST /wallets/address | Create a new deposit address for a currency | currency | None | Yes |
POST /wallets/withdraw | Withdraw currency | currency, amount, address | paymentId, allowBorrow | Yes |
POST /v2/wallets/withdraw | Withdraw currency (V2) | coin, network, amount, address | addressTag, allowBorrow | Yes |
| Endpoint | Description | Required | Optional | Authentication |
|---|---|---|---|---|
GET /margin/accountMargin | Get account margin information | accountType | None | Yes |
GET /margin/borrowStatus | Get borrow status of currencies | None | currency | Yes |
GET /margin/maxSize | Get maximum buy/sell amount for a symbol | symbol | None | Yes |
| Endpoint | Description | Required | Optional | Authentication |
|---|---|---|---|---|
POST /orders | Create an order | symbol, side | timeInForce, type, accountType, price, quantity, amount, clientOrderId, allowBorrow, stpMode, slippageTolerance | Yes |
POST /orders/batch | Create multiple orders (max 20) | Array of order objects | None | Yes |
PUT /orders/{id} | Cancel and replace an order | id (path) | clientOrderId, price, quantity, amount, type, timeInForce, allowBorrow, proceedOnFailure, slippageTolerance | Yes |
GET /orders | Get list of active orders | None | symbol, side, from, direction, limit | Yes |
GET /orders/{id} | Get order status by id | id (path) | None | Yes |
DELETE /orders/{id} | Cancel an active order | id (path) | None | Yes |
DELETE /orders/cancelByIds | Cancel multiple orders by IDs | orderIds or clientOrderIds | None | Yes |
DELETE /orders | Cancel all orders | None | symbols, accountTypes | Yes |
POST /orders/killSwitch | Set kill switch timer to cancel all orders | timeout | None | Yes |
GET /orders/killSwitchStatus | Get kill switch status | None | None | Yes |
| Endpoint | Description | Required | Optional | Authentication |
|---|---|---|---|---|
POST /smartorders | Create a smart order | symbol, side, quantity | timeInForce, type, accountType, price, stopPrice, amount, clientOrderId, trailingOffset, limitOffset, operator | Yes |
PUT /smartorders/{id} | Cancel and replace a smart order | id (path) | clientOrderId, price, stopPrice, quantity, amount, type, timeInForce, proceedOnFailure | Yes |
GET /smartorders | Get list of pending smart orders | None | limit, types | Yes |
GET /smartorders/{id} | Get smart order status | id (path) | None | Yes |
DELETE /smartorders/{id} | Cancel a smart order | id (path) | None | Yes |
DELETE /smartorders/cancelByIds | Cancel multiple smart orders by IDs | orderIds or clientOrderIds | None | Yes |
DELETE /smartorders | Cancel all smart orders | None | symbols, accountTypes, orderTypes | Yes |
| Endpoint | Description | Required | Optional | Authentication |
|---|---|---|---|---|
GET /orders/history | Get historical orders (max 30 days) | None | accountType, type, side, symbol, from, direction, states, limit, hideCancel, startTime, endTime | Yes |
GET /smartorders/history | Get historical smart orders (max 30 days) | None | accountType, type, side, symbol, from, direction, states, limit, hideCancel, startTime, endTime, types | Yes |
| Endpoint | Description | Required | Optional | Authentication |
|---|---|---|---|---|
GET /trades | Get all trades for account (max 180 days) | None | limit, endTime, startTime, from, direction, symbols | Yes |
GET /orders/{id}/trades | Get all trades for a specific order | id (path) | None | Yes |
For private endpoints, you will need to provide Polo API credentials.
Required credentials:
See references/authentication.md for the full signing process.
Users can provide Polo API credentials by sending a file where the content is in the following format:
api_key_here
secret_key_here
When showing credentials to users:
abcde...xyz1***...key12Example response when asked for credentials:
Account: main
API Key: abcde...xyz1
Secret: ***...key12
Environment: Production
When listing accounts, show names and environment only — never keys:
Polo Accounts:
* main (Production)
* trading (Production)
When performing transactions in production, always confirm with the user before proceeding by asking them to write "CONFIRM" to proceed.
## Polo Accounts
### main
- API Key: abcde...xyz1
- Secret: secret_abc...key
- Environment: https://api.poloniex.com
- Description: Primary spot trading account
When user provides new credentials:
TOOLS.md with masked display confirmationInclude User-Agent header with the following string: polo-spot/1.0.0 (Skill)
cid: (e.g., cid:my-order-1)amount (quote units); MARKET SELL requires quantity (base units)price and quantity{} (empty JSON object) — use json={} in the request