@toolpal/currency-convert
publicv2.0published 1 download this weekMIT
Converts an amount between currencies at today's (or a past day's) official European Central Bank reference rates. Covers about 30 major currencies (USD, EUR, GBP, INR, JPY, CNY, AUD, CAD, CHF, ...), with history back to 1999. No API key needed.
{
"manifestVersion": 1,
"name": "@toolpal/currency-convert",
"version": "2.0",
"description": "Converts an amount between currencies at today's (or a past day's) official European Central Bank reference rates. Covers about 30 major currencies (USD, EUR, GBP, INR, JPY, CNY, AUD, CAD, CHF, ...), with history back to 1999. No API key needed.",
"license": "MIT",
"keywords": [
"currency",
"exchange-rate",
"forex",
"finance",
"ecb",
"money"
],
"entry": "dist/tool.mjs",
"sdk": "0.1.0",
"engines": {
"node": ">=22.15.0"
},
"inputSchema": {
"type": "object",
"required": [
"from",
"to"
],
"properties": {
"amount": {
"type": "number",
"minimum": 0,
"description": "Amount in the source currency, 1 by default"
},
"from": {
"type": "string",
"pattern": "^[A-Za-z]{3}$",
"description": "ISO 4217 code of the source currency, e.g. USD"
},
"to": {
"type": "array",
"items": {
"type": "string",
"pattern": "^[A-Za-z]{3}$"
},
"minItems": 1,
"maxItems": 30,
"description": "Target currency codes, e.g. [\"EUR\", \"INR\"]"
},
"date": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "Use the rates of this day (YYYY-MM-DD); latest by default"
}
}
},
"outputSchema": {
"type": "object",
"required": [
"amount",
"from",
"rateDate",
"conversions",
"source"
],
"properties": {
"amount": {
"type": "number"
},
"from": {
"type": "string"
},
"rateDate": {
"type": "string",
"description": "The business day the rates were published; weekends and holidays fall back to the day before"
},
"conversions": {
"type": "array",
"items": {
"type": "object",
"required": [
"currency",
"rate",
"amount"
],
"properties": {
"currency": {
"type": "string"
},
"rate": {
"type": "number"
},
"amount": {
"type": "number"
}
}
}
},
"source": {
"type": "string"
}
}
},
"examples": [
{
"title": "Convert USD to EUR, INR, and JPY",
"input": {
"amount": 250,
"from": "USD",
"to": [
"EUR",
"INR",
"JPY"
]
},
"output": {
"amount": 250,
"from": "USD",
"rateDate": "2026-11-20",
"conversions": [
{
"currency": "EUR",
"rate": 0.90992,
"amount": 227.48
},
{
"currency": "INR",
"rate": 92.68,
"amount": 23170
},
{
"currency": "JPY",
"rate": 158.64,
"amount": 39660
}
],
"source": "European Central Bank reference rates, via frankfurter.dev"
}
}
],
"permissions": {
"net": true,
"env": [],
"tmp": false
},
"limits": {
"timeoutMs": 15000,
"memoryMb": 128
},
"build": {
"toolpal": "0.1.0",
"esbuild": "0.28.2",
"options": "sha256-tMpkndD8HsDUvZadrPbEAMGGIGK7nvmTGxMMlUxy9Fo="
}
}