Adapter using the public Binance market API for both HTTP(s) and WS.
Base URL https://api.binance.com
This document was generated automatically. Please see README Generator for more info.
Required? | Name | Description | Type | Options | Default |
---|---|---|---|---|---|
API_ENDPOINT | string | https://api.binance.com |
|||
WS_API_ENDPOINT | string | wss://stream.binance.com:9443/ws |
Name | Requests/credits per second | Requests/credits per minute | Requests/credits per hour | Note |
---|---|---|---|---|
public | 1200 |
Every EA supports base input parameters from this list
Required? | Name | Description | Type | Options | Default |
---|---|---|---|---|---|
endpoint | The endpoint to use | string | crypto, ticker | crypto |
Note: the price
endpoint is temporarily still supported, however, is being deprecated. Please use the crypto
endpoint instead.
Supported names for this endpoint are: crypto
, ticker
.
Required? | Name | Aliases | Description | Type | Options | Default | Depends On | Not Valid With |
---|---|---|---|---|---|---|---|---|
✅ | base | coin , from |
The symbol of the currency to query | string | ||||
✅ | quote | market , to |
The symbol of the currency to convert to | string |
Request:
{
"id": "1",
"data": {
"base": "ETH",
"quote": "BTC",
"endpoint": "crypto"
},
"debug": {
"cacheKey": "Eao0YPhZDa3+RmRxiwOG5dAIIt0="
},
"rateLimitMaxAge": 55
}
Response:
{
"jobRunID": "1",
"data": {
"symbol": "ETHBTC",
"price": "0.07077300",
"result": 0.070773
},
"result": 0.070773,
"statusCode": 200,
"providerStatusCode": 200
}
MIT License