This document was generated automatically. Please see README Generator for more info.
Required? | Name | Description | Type | Options | Default |
---|---|---|---|---|---|
API_ENDPOINT | The HTTP URL to retrieve data from | string | https://api.polygon.io |
||
✅ | API_KEY | An API key that can be obtained from here | string |
Name | Requests/credits per second | Requests/credits per minute | Requests/credits per hour | Note |
---|---|---|---|---|
free | 5 | only mentions monthly limits | ||
starter | 100 | Considered unlimited tier, but setting reasonable limits | ||
developer | 100 | Considered unlimited tier, but setting reasonable limits | ||
advanced | 100 | Considered unlimited tier, but setting reasonable limits | ||
enterprise | 100 | Considered unlimited tier, but setting reasonable limits |
Required? | Name | Description | Type | Options | Default |
---|---|---|---|---|---|
endpoint | The endpoint to use | string | conversion, forex, price, tickers | tickers |
Supported names for this endpoint are: forex
, price
, tickers
.
Required? | Name | Aliases | Description | Type | Options | Default | Depends On | Not Valid With |
---|---|---|---|---|---|---|---|---|
✅ | base | coin , from |
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": "tickers",
"base": "USD",
"quote": "GBP"
}
}
conversion
is the only supported name for this endpoint.
Required? | Name | Aliases | Description | Type | Options | Default | Depends On | Not Valid With |
---|---|---|---|---|---|---|---|---|
✅ | base | coin , from |
The symbol of symbols of the currency to query | string | ||||
✅ | quote | market , to |
The symbol of the currency to convert to | string | ||||
amount | The amount of the base to convert |
number | 1 |
|||||
precision | The number of significant figures to include | number | 6 |
Request:
{
"data": {
"endpoint": "conversion",
"base": "GBP",
"quote": "USD",
"amount": 1,
"precision": 6
}
}
MIT License