This adapter is for Fixer.io and supports the convert endpoint.
Base URL https://data.fixer.io
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://data.fixer.io |
Name | Requests/credits per second | Requests/credits per minute | Requests/credits per hour | Note |
---|---|---|---|---|
free | 1.369 | only mentions monthly limit | ||
basic | 13.69 | |||
professional | 136.98 | |||
professionalplus | 684.93 |
Every EA supports base input parameters from this list
Required? | Name | Description | Type | Options | Default |
---|---|---|---|---|---|
endpoint | The endpoint to use | string | convert, forex, latest, price | latest |
convert
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 the currency to query | string | ||||
✅ | quote | market , to |
The symbol of the currency to convert to | string | ||||
amount | The amount of base currency |
number | 1 |
Request:
{
"id": "1",
"data": {
"endpoint": "convert",
"base": "EUR",
"quote": "USD"
},
"debug": {
"cacheKey": "2633d6036edf24f9672e274cc5b60c788fd3cdea"
}
}
Response:
{
"jobRunID": "1",
"data": {
"success": true,
"query": {
"from": "USD",
"to": "EUR",
"amount": 1
},
"info": {
"timestamp": 1636390923,
"rate": 0.862805
},
"date": "2021-11-08",
"result": 0.862805
},
"result": 0.862805,
"statusCode": 200,
"providerStatusCode": 200
}
Returns a batched price comparison from one currency to a list of other currencies.
Supported names for this endpoint are: forex
, latest
, price
.
Required? | Name | Aliases | Description | Type | Options | Default | Depends On | Not Valid With |
---|---|---|---|---|---|---|---|---|
✅ | base | coin , from |
The symbol of the currency to query | string | ||||
✅ | quote | market , to |
The symbol of the currency to convert to |
Request:
{
"id": "1",
"data": {
"base": "EUR",
"quote": "USD"
},
"debug": {
"cacheKey": "55c3992cf1e9d0cd4f70dc1b3cea317c1fd9dbe2"
}
}
Response:
{
"jobRunID": "1",
"data": {
"success": true,
"timestamp": 1646446742,
"base": "EUR",
"date": "2022-03-05",
"rates": {
"USD": 1.094769
},
"result": 1.094769
},
"result": 1.094769,
"statusCode": 200,
"debug": {
"batchablePropertyPath": [
{
"name": "quote"
}
]
},
"providerStatusCode": 200
}
MIT License