Base URL https://cloud.iexapis.com/stable
This document was generated automatically. Please see README Generator for more info.
Required? | Name | Description | Type | Options | Default |
---|---|---|---|---|---|
✅ | API_KEY | string | |||
API_ENDPOINT | string | https://cloud.iexapis.com/stable |
Every EA supports base input parameters from this list
Required? | Name | Description | Type | Options | Default |
---|---|---|---|---|---|
endpoint | The endpoint to use | string | crypto, eod-close, eod, stock | stock |
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 |
The symbol to query | string |
Request:
{
"id": "1",
"data": {
"endpoint": "stock",
"base": "USD"
},
"debug": {
"cacheKey": "vUFTdjiClK4fJKdPdN1wirkMJdk="
}
}
Response:
{
"jobRunID": "1",
"data": {
"avgTotalVolume": 142295,
"calculationPrice": "close",
"change": 4.7,
"changePercent": 0.10665,
"close": 48.77,
"closeSource": "official",
"closeTime": 1636056000195,
"companyName": "ProShares Trust - ProShares Ultra Semiconductors",
"currency": "USD",
"delayedPrice": 48.74,
"delayedPriceTime": 1636055923441,
"extendedChange": 0,
"extendedChangePercent": 0,
"extendedPrice": 48.77,
"extendedPriceTime": 1636070400048,
"high": 50.02,
"highSource": "15 minute delayed price",
"highTime": 1636055981354,
"iexAskPrice": 0,
"iexAskSize": 0,
"iexBidPrice": 0,
"iexBidSize": 0,
"iexClose": 48.74,
"iexCloseTime": 1636053229277,
"iexLastUpdated": 1636053229277,
"iexMarketPercent": 0.001523796023955491,
"iexOpen": 48.74,
"iexOpenTime": 1636053229277,
"iexRealtimePrice": 48.74,
"iexRealtimeSize": 100,
"iexVolume": 387,
"lastTradeTime": 1636055923441,
"latestPrice": 48.77,
"latestSource": "Close",
"latestTime": "November 4, 2021",
"latestUpdate": 1636056000195,
"latestVolume": 253971,
"low": 45.3,
"lowSource": "15 minute delayed price",
"lowTime": 1636032600126,
"marketCap": 443807000,
"oddLotDelayedPrice": 48.72,
"oddLotDelayedPriceTime": 1636055981353,
"open": 45.3,
"openTime": 1636032600126,
"openSource": "official",
"peRatio": null,
"previousClose": 44.07,
"previousVolume": 288407,
"primaryExchange": "NYSE ARCA",
"symbol": "USD",
"volume": 0,
"week52High": 50.02,
"week52Low": 20.26,
"ytdChange": 0.810991100261046,
"isUSMarketOpen": false,
"result": 48.77
},
"result": 48.77,
"statusCode": 200,
"providerStatusCode": 200
}
crypto
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 |
The symbol to query | string | ||||
✅ | quote | market , to |
The symbol to convert to | string |
Request:
{
"id": "1",
"data": {
"endpoint": "crypto",
"base": "ETH",
"quote": "USD"
},
"debug": {
"cacheKey": "QNtSfU2ZYHGMNgEwRtz4Tw9qb/U="
}
}
Response:
{
"jobRunID": "1",
"data": {
"symbol": "ETHUSD",
"primaryExchange": "",
"sector": "cryptocurrency",
"calculationPrice": "realtime",
"high": null,
"low": null,
"latestPrice": "4539.44",
"latestSource": "Real time price",
"latestUpdate": 1636104293805,
"latestVolume": "0.413756",
"previousClose": null,
"result": 4539.44
},
"result": 4539.44,
"statusCode": 200,
"providerStatusCode": 200
}
Supported names for this endpoint are: eod
, eod-close
.
Required? | Name | Aliases | Description | Type | Options | Default | Depends On | Not Valid With |
---|---|---|---|---|---|---|---|---|
✅ | base | asset , coin , from , symbol |
The symbol to query | string |
Request:
{
"id": "1",
"data": {
"endpoint": "eod",
"base": "USD"
},
"debug": {
"cacheKey": "ltjBvntfHXGAo/NFw8mBiRHcbMU="
}
}
Response:
{
"jobRunID": "1",
"data": {
"avgTotalVolume": 142295,
"calculationPrice": "close",
"change": 4.7,
"changePercent": 0.10665,
"close": 48.77,
"closeSource": "official",
"closeTime": 1636056000195,
"companyName": "ProShares Trust - ProShares Ultra Semiconductors",
"currency": "USD",
"delayedPrice": 48.74,
"delayedPriceTime": 1636055923441,
"extendedChange": 0,
"extendedChangePercent": 0,
"extendedPrice": 48.77,
"extendedPriceTime": 1636070400048,
"high": 50.02,
"highSource": "15 minute delayed price",
"highTime": 1636055981354,
"iexAskPrice": 0,
"iexAskSize": 0,
"iexBidPrice": 0,
"iexBidSize": 0,
"iexClose": 48.74,
"iexCloseTime": 1636053229277,
"iexLastUpdated": 1636053229277,
"iexMarketPercent": 0.001523796023955491,
"iexOpen": 48.74,
"iexOpenTime": 1636053229277,
"iexRealtimePrice": 48.74,
"iexRealtimeSize": 100,
"iexVolume": 387,
"lastTradeTime": 1636055923441,
"latestPrice": 48.77,
"latestSource": "Close",
"latestTime": "November 4, 2021",
"latestUpdate": 1636056000195,
"latestVolume": 253971,
"low": 45.3,
"lowSource": "15 minute delayed price",
"lowTime": 1636032600126,
"marketCap": 443807000,
"oddLotDelayedPrice": 48.72,
"oddLotDelayedPriceTime": 1636055981353,
"open": 45.3,
"openTime": 1636032600126,
"openSource": "official",
"peRatio": null,
"previousClose": 44.07,
"previousVolume": 288407,
"primaryExchange": "NYSE ARCA",
"symbol": "USD",
"volume": 0,
"week52High": 50.02,
"week52Low": 20.26,
"ytdChange": 0.810991100261046,
"isUSMarketOpen": false,
"result": 48.77
},
"result": 48.77,
"statusCode": 200,
"providerStatusCode": 200
}
MIT License