Base URL http://api.marketstack.com/v1/
This document was generated automatically. Please see README Generator for more info.
Required? | Name | Description | Type | Options | Default |
---|---|---|---|---|---|
✅ | API_KEY | string | |||
API_ENDPOINT | string | http://api.marketstack.com/v1/ |
Every EA supports base input parameters from this list
Required? | Name | Description | Type | Options | Default |
---|---|---|---|---|---|
endpoint | The endpoint to use | string | eod, stock | stock |
NOTE: the eod
endpoint is temporarily still supported, however, is being deprecated. Please use the stock
endpoint instead.
Supported names for this endpoint are: eod
, stock
.
Required? | Name | Aliases | Description | Type | Options | Default | Depends On | Not Valid With |
---|---|---|---|---|---|---|---|---|
✅ | base | coin , from |
The symbol of the currency to query | string | ||||
interval | The symbol of the currency to convert to | string | 1min |
|||||
limit | The limit for number of results | number | 1 |
Request:
{
"id": "1",
"data": {
"endpoint": "stock",
"base": "AAPL",
"interval": "1min",
"limit": 1
},
"debug": {
"cacheKey": "08JBbsORZVWHP8RjhjYY1wlcurQ="
},
"rateLimitMaxAge": 2921840
}
Response:
{
"jobRunID": "1",
"data": {
"result": 164.77
},
"result": 164.77,
"statusCode": 200,
"providerStatusCode": 200
}
MIT License