GnistAI GnistAI
Log in

Currency Conversion

Real-time and historical currency conversion — 30+ currencies with ECB reference rates.

Overview   |   MCP   |   REST API   |   OpenAPI   |   CLI   |   Tutorial   |   Toolkits   |   Home
status: healthy status status healthy healthy tools: 4 tools tools 4 4 type: api wrapper type type api wrapper api wrapper lifecycle: maintained lifecycle lifecycle maintained maintained Finance

Data source: Frankfurter API (ECB)

REST Bridge Endpoint https://context.gnist.ai/rest/currency-conversion/
Authentication

All requests require a Gnist-API-Key header (or api_key query parameter).

Free tier: 100 calls/day. Get your API key.

Tools (4)

convert_currency

Convert an amount from one currency to another using real-time or historical rates.

Supports 30+ currencies including USD, EUR, GBP, NOK, SEK, JPY, and more.
Uses European Central Bank reference rates via Frankfurter API.

Args:
amount: The amount to convert (must be positive).
base: Source currency code (e.g. "USD", "EUR", "NOK").
target: Target currency code (e.g. "GBP", "SEK", "JPY").
date: Optional ISO date (YYYY-MM-DD) for historical rate. Omit for latest.

ParameterTypeRequiredDescription
amountnumberrequired
basestringrequired
targetstringrequired
dateanyoptional
Request Body
{
  "amount": 1.0,
  "base": "example",
  "target": "example"
}
get_exchange_rates

Get all exchange rates for a base currency.

Returns rates for 30+ currencies relative to the specified base.

Args:
base: Base currency code (default: "EUR").
date: Optional ISO date (YYYY-MM-DD) for historical rates. Omit for latest.

ParameterTypeRequiredDescription
basestringoptional (default: "EUR")
dateanyoptional
Request Body
{
  "query": "example"
}
list_currencies

List all supported currency codes for conversion.

Returns ISO 4217 currency codes supported by the exchange rate service.

Request Body
{
  "query": "example"
}
report_feedback

Report a bug, feature request, or general feedback for this data source.

Use this when something doesn't work as expected, when you'd like
a new feature, or when you have suggestions for improvement.

Args:
feedback: Describe the issue or suggestion.
feedback_type: One of 'bug', 'feature_request', or 'general'.

ParameterTypeRequiredDescription
feedbackstringrequired
feedback_typestringoptional (default: "general")
Request Body
{
  "feedback": "example"
}

Quick Start

Shell
curl -X POST "https://context.gnist.ai/rest/currency-conversion/convert_currency" \
  -H "Content-Type: application/json" \
  -H "Gnist-API-Key: YOUR_API_KEY" \
  -d '{"amount": 1.0, "base": "example", "target": "example"}'
Python
import httpx

resp = httpx.post(
    "https://context.gnist.ai/rest/currency-conversion/convert_currency",
    headers={"Gnist-API-Key": "YOUR_API_KEY"},
    json={
  "amount": 1.0,
  "base": "example",
  "target": "example"
},
)
print(resp.json())

Related Toolkits (Finance)

Resources