Query information from Coinbase's API
Base URL wss://ws-feed.pro.coinbase.com
This document was generated automatically. Please see README Generator for more info.
Required? | Name | Description | Type | Options | Default |
---|---|---|---|---|---|
API_ENDPOINT | string | https://api.coinbase.com |
|||
WS_API_ENDPOINT | string | wss://ws-feed.pro.coinbase.com |
Every EA supports base input parameters from this list
Required? | Name | Description | Type | Options | Default |
---|---|---|---|---|---|
endpoint | The endpoint to use | string | crypto, price | 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
, price
.
Required? | Name | Aliases | Description | Type | Options | Default | Depends On | Not Valid With |
---|---|---|---|---|---|---|---|---|
✅ | symbol | base , coin , from , sym |
The symbol of the currency to query | string | ||||
✅ | convert | market , quote , to |
The symbol of the currency to convert to | string |
Request:
{
"id": "1",
"data": {
"endpoint": "crypto",
"symbol": "BTC",
"convert": "USD"
},
"debug": {
"cacheKey": "r6ZXhd+zEdyag6axryIefPg9QnI="
},
"rateLimitMaxAge": 370
}
Response:
{
"jobRunID": "1",
"data": {
"data": {
"base": "BTC",
"currency": "USD",
"amount": "57854.29"
},
"result": 57854.29
},
"result": 57854.29,
"statusCode": 200,
"providerStatusCode": 200
}
MIT License