The source currency from which to convert an amount.
target_currency
object
The target currency to which to convert an amount.
value
string
The target currency amount. Equivalent to one unit of the source currency. Formatted as integer or decimal value with one to 15 digits to the right of the decimal point.
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/exchange_rate",
"title": "Exchange Rate",
"description": "The exchange rate that determines the amount to convert from one currency to another currency.",
"type": "object",
"properties": {
"source_currency": {
"description": "The source currency from which to convert an amount.",
"$ref": "#/components/schemas/currency_code"
},
"target_currency": {
"description": "The target currency to which to convert an amount.",
"$ref": "#/components/schemas/currency_code"
},
"value": {
"description": "The target currency amount. Equivalent to one unit of the source currency. Formatted as integer or decimal value with one to 15 digits to the right of the decimal point.",
"type": "string"
}
},
"readOnly": true
}
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. See our Privacy Policy and
Terms.