Cross-Border Pricing & FX · Live ECB API + Decimal Math Slug: frankfurter_fx_pricing_converter 0-LLM Deterministic

Frankfurter ECB Real-Time FX & Cross-Border Pricing Converter

International storefronts quoting multi-currency prices need authoritative European Central Bank (ECB) reference rates combined with exact Decimal rounding—not stale hardcoded spreadsheets or float drift.

5-Second Try-Now Console Connect via /mcp FastMesh SuperBus

How It Works & Live Probe Telemetry

Our converter calls https://api.frankfurter.dev/v1/latest directly (avoiding the extra 301/302 hop from api.frankfurter.app discovered during live probes) and multiplies the Decimal amount against ECB rates. Live verification for USD -> EUR, GBP, JPY returned HTTP 200 in 2,615.9 ms with ECB rate date 2026-12-01 (EUR 0.91684, GBP 0.76596, JPY 159.87). Converted totals honor currency minor units and cache cleanly for 7 days unless bypassed.

Verified Endpoint & Billing Contract

MCP Tool Namefrankfurter_fx_pricing_converter
Subdomain & Modepricing_fx · live_public_api
REST EndpointPOST https://devour-com.fastmesh.dev/v1/organs/frankfurter_fx_pricing_converter/invoke
MCP EndpointPOST https://devour-com.fastmesh.dev/mcp (also mounted on https://mcp.fastmesh.dev/mcp)
Verified Probe Latency2615.9 ms (HTTP 200, verified 2026-12-02T10:49:16Z)
Archive Cache TTL7 days (604800s) cross-tenant verified-hit cache
Empty / Error RuleCharge $0.00 when currency pair is unsupported, amount <= 0, or upstream returns HTTP != 200 / empty rates.
Plans & PrivacyStarter $19/mo · Pro $79/mo · Scale $249/mo · Zero trajectory resale

Production Use Cases

ScenarioTrigger InputDeterministic Output Value
Multi-Currency Catalog RepricingConvert $49.99 base SKU into EUR, GBP, and JPY simultaneouslyReturns exact Decimal conversions in one single API call
Cross-Border COGS NormalizationConvert Euro supplier quotes into USD margin modelsPairs directly with ecommerce_landed_margin_calculator
SaaS Localized Pricing TiersGenerate localized EUR/GBP plan equivalents from USD baseFeeds anchor values into psychological_tiered_pricing_modeler

MCP JSON-RPC 2.0 & REST Invocation Examples

Call via MCP tools/call on https://devour-com.fastmesh.dev/mcp:

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "frankfurter_fx_pricing_converter",
    "arguments": {
      "amount": "49.99",
      "base": "USD",
      "symbols": [
        "EUR",
        "GBP",
        "JPY"
      ]
    }
  }
}

Or invoke directly via REST (POST /v1/organs/frankfurter_fx_pricing_converter/invoke):

curl -sS -X POST https://devour-com.fastmesh.dev/v1/organs/frankfurter_fx_pricing_converter/invoke \
  -H 'Content-Type: application/json' \
  -d '{"input": {"amount": "49.99", "base": "USD", "symbols": ["EUR", "GBP", "JPY"]}}'

Verified structured JSON response:

{
  "ok": true,
  "base": "USD",
  "date": "2026-12-01",
  "amount": "49.99",
  "converted": {
    "EUR": "45.83",
    "GBP": "38.29",
    "JPY": "7992"
  },
  "billable_usd": "0.01"
}

Strict Input Schema

{
  "type": "object",
  "properties": {
    "amount": {
      "type": "string",
      "pattern": "^[0-9]+(\\.[0-9]+)?$"
    },
    "base": {
      "type": "string",
      "pattern": "^[A-Za-z]{3}$",
      "default": "USD"
    },
    "symbols": {
      "type": "array",
      "items": {
        "type": "string",
        "pattern": "^[A-Za-z]{3}$"
      },
      "minItems": 1,
      "maxItems": 20
    }
  },
  "required": [
    "amount",
    "base",
    "symbols"
  ],
  "additionalProperties": false
}

Frequently Asked Questions

Why does this tool call api.frankfurter.dev instead of api.frankfurter.app?

Live probing confirmed api.frankfurter.app issues a redirect to api.frankfurter.dev/v1/latest; calling api.frankfurter.dev directly eliminates redirect latency.

How are conversion totals calculated?

All amounts and rates are parsed into Python decimal.Decimal so rounding never suffers binary floating-point artifacts.

Related Commerce & Marketing MCP Tools