This document was generated automatically. Please see README Generator for more info.
Required? | Name | Description | Type | Options | Default |
---|---|---|---|---|---|
API_ENDPOINT | API endpoint for Finage | string | https://api.finage.co.uk |
||
✅ | API_KEY | An API key that can be obtained from the data provider's dashboard | string | ||
✅ | WS_SOCKET_KEY | A WEBSOCKET key that can be obtained from the data provider's dashboard | string | ||
STOCK_WS_API_ENDPOINT | The Websocket endpoint to connect to for stock data | string | wss://e4s39ar3mr.finage.ws:7002 |
||
FOREX_WS_API_ENDPOINT | The Websocket endpoint to connect to for forex data | string | wss://w29hxx2ndd.finage.ws:8001 |
||
CRYPTO_WS_API_ENDPOINT | The Websocket endpoint to connect to for crypto data | string | wss://72x8wsyx7t.finage.ws:6008 |
||
ETF_WS_API_ENDPOINT | The Websocket endpoint to connect to for etf data | string | wss://8umh1cipe9.finage.ws:9001 |
||
WS_ENABLED | Whether data should be returned from websocket or not | boolean | false |
Name | Requests/credits per second | Requests/credits per minute | Requests/credits per hour | Note |
---|---|---|---|---|
professionalstocksusstockmarket | 100 | Considered unlimited tier, but setting reasonable limits |
Required? | Name | Description | Type | Options | Default |
---|---|---|---|---|---|
endpoint | The endpoint to use | string | commodities, crypto, eod, etf, forex, price, stock, uk_etf | stock |
Supported names for this endpoint are: crypto
, price
.
Required? | Name | Aliases | Description | Type | Options | Default | Depends On | Not Valid With |
---|---|---|---|---|---|---|---|---|
✅ | base | coin , from , symbol |
The symbol of symbols of the currency to query | string | ||||
✅ | quote | market , to |
The symbol of the currency to convert to | string |
Request:
{
"data": {
"endpoint": "crypto",
"base": "BTC",
"quote": "USD"
}
}
stock
is the only supported name for this endpoint.
Required? | Name | Aliases | Description | Type | Options | Default | Depends On | Not Valid With |
---|---|---|---|---|---|---|---|---|
✅ | base | asset , coin , from , symbol , ticker |
The stock ticker to query | string |
Request:
{
"data": {
"endpoint": "stock",
"base": "AAPL"
}
}
eod
is the only supported name for this endpoint.
Required? | Name | Aliases | Description | Type | Options | Default | Depends On | Not Valid With |
---|---|---|---|---|---|---|---|---|
✅ | base | from , symbol |
The symbol of the currency to query | string |
Request:
{
"data": {
"endpoint": "eod",
"base": "ETH"
}
}
commodities
is the only supported name for this endpoint.
Required? | Name | Aliases | Description | Type | Options | Default | Depends On | Not Valid With |
---|---|---|---|---|---|---|---|---|
✅ | base | coin , from , symbol |
The symbol of symbols of the currency to query | string | ||||
✅ | quote | market , to |
The symbol of the currency to convert to | string |
Request:
{
"data": {
"endpoint": "commodities",
"base": "WTI",
"quote": "USD"
}
}
forex
is the only supported name for this endpoint.
Required? | Name | Aliases | Description | Type | Options | Default | Depends On | Not Valid With |
---|---|---|---|---|---|---|---|---|
✅ | base | coin , from , symbol |
The symbol of symbols of the currency to query | string | ||||
✅ | quote | market , to |
The symbol of the currency to convert to | string |
Request:
{
"data": {
"endpoint": "forex",
"base": "GBP",
"quote": "USD"
}
}
uk_etf
is the only supported name for this endpoint.
Required? | Name | Aliases | Description | Type | Options | Default | Depends On | Not Valid With |
---|---|---|---|---|---|---|---|---|
✅ | base | from , symbol |
The symbol of the etf to query | string | ||||
country | Country code | string | uk |
Request:
{
"data": {
"endpoint": "uk_etf",
"base": "CSPX",
"country": "uk"
}
}
etf
is the only supported name for this endpoint.
Required? | Name | Aliases | Description | Type | Options | Default | Depends On | Not Valid With |
---|---|---|---|---|---|---|---|---|
✅ | base | from , symbol |
The symbol of the etf to query | string | ||||
country | Country code | string |
Request:
{
"data": {
"endpoint": "etf",
"base": "C3M"
}
}
MIT License