Query library

Currency Intelligence
in Action.

Real questions. Real answers. Available through the REST API, MCP server, and AI endpoint.

Every card maps to a real endpoint call. The worked responses below use the 2026-11-06 data snapshot, so the figures are traceable to a fixed observation; a live call returns the current rate or window. New to the API? Start with getting started, browse the annual series on currency history, read the historical exchange rate API docs, or check pricing for plan limits.

How to read a worked example

Each example shows a real endpoint path, a curl call, and a trimmed JSON response. The request uses your live key in CURRENCYCORE_KEY; the response keeps the fields that answer the question and drops the rest. Dates are UTC, and a non-trading day resolves to the most recent earlier snapshot.

  • date is the observation actually used. requestedDate appears when a requested date had no snapshot, and asOf names any currency that was carried forward.
  • result is the plain FX conversion. With PPP enabled, the adjusted amount lives in ppp.result and is a price-level conversion, not a second FX rate.
  • strengthenedPct is positive when a currency appreciated against the base. Rates are units of currency per 1 base.

Each response is trimmed for readability. Field names, nesting, and types match the live API, and numeric figures are rounded for display where noted. If a field is missing here, the live call omits it under the same conditions; for example, the ppp block is absent unless ppp=true.

Only successful 2xx calls count toward your monthly limit. Errors do not. See the getting started guide for authentication and the pricing page for plan limits.

Examples

Historical performance and rankings

Rank a window, compare a set, or pull the series behind a move. These calls use /v1/history/analysis, which requires Growth or above. Each result carries startDate and endDate so a window is reproducible.

Compare EUR and GBP over the last decade

Returns change %, annualized volatility, period highs and lows, and a yearly trend series for both currencies vs USD.

Rank GCC currencies by performance since 2010

Returns AED, SAR, QAR, KWD, OMR, BHD ranked by strengthenedPct vs USD from 2010-01-01 to today, with volatility notes.

Which currencies strengthened most against INR since 2015?

Returns a ranked list of liquid currencies sorted by strengthenedPct vs INR from 2015-01-01, with the leading currencies and their rates.

Show the strongest currencies against EUR over the last 20 years

Returns currencies ranked by performance against EUR over a 20-year window, identifying which have consistently outperformed.

How has INR trended against USD this year?

Returns YTD change %, current rate, year high and low, and a monthly trend series for USD/INR from January 1st to today.

Worked example

The currencies that strengthened most against USD in 2026 so far

/v1/history/analysis

Which currencies strengthened most against USD in 2026 so far?

curl
curl "https://api.currency-core.com/v1/history/analysis?base=USD&from=2026-01-01&to=2026-11-06&sort=strengthened&limit=3" \
  -H "Authorization: Bearer $CURRENCYCORE_KEY"
Trimmed response
{
  "base": "USD",
  "from": "2026-01-01",
  "to": "2026-11-06",
  "mode": "movers",
  "sort": "strengthened",
  "results": [
    { "currency": "COP", "startRate": 3767.3, "endRate": 3225.58, "strengthenedPct": 16.79 },
    { "currency": "NOK", "startRate": 10.0604, "endRate": 9.2872, "strengthenedPct": 8.33 },
    { "currency": "KRW", "startRate": 1442.12, "endRate": 1345.96, "strengthenedPct": 7.14 }
  ]
}

Rates are units of currency per 1 USD. strengthenedPct is positive when a currency buys more USD; COP moved from 3,767.3 to 3,225.58 per USD, a 16.79% strengthening. Figures from the 2026-11-06 snapshot.

Examples

PPP and purchasing power

Convert an amount at market rates and at purchasing-power parity, or compare how price levels moved over time. PPP factors come from the IMF PPPEX indicator and are annual country estimates. A PPP result is a price-level conversion, not a market rate.

How much purchasing power does $100 in the US represent in India?

Returns the PPP-adjusted equivalent in INR and the implied PPP exchange rate, sourced from the IMF World Economic Outlook.

Compare nominal and PPP exchange rates for India

Returns both the market exchange rate (USD/INR) and the IMF PPP rate, explaining the gap between nominal and real purchasing power.

Worked example

What $100 buys in India: market rate vs PPP

/v1/convert?ppp=true

How much purchasing power does $100 in the US represent in India?

curl
curl "https://api.currency-core.com/v1/convert?from=USD:USA&amount=100&to=INR:IND&ppp=true" \
  -H "Authorization: Bearer $CURRENCYCORE_KEY"
Trimmed response
{
  "from": "USD",
  "fromCountry": "USA",
  "amount": 100,
  "date": "2026-11-07",
  "results": [
    {
      "to": "INR",
      "toCountry": "IND",
      "result": 9419,
      "rate": 94.19,
      "ppp": {
        "fromFactor": 1,
        "toFactor": 20.397,
        "result": 2039.7,
        "year": 2024,
        "source": "IMF World Economic Outlook"
      }
    }
  ]
}

The FX result is 100 × 94.19 = 9,419 INR at the market rate. The PPP result is 100 × (20.397 / 1) = 2,039.70 INR, the price-level equivalent from the 2024 IMF PPP factor. Both figures come from the snapshot published 2026-11-06; the rate date in the response is 2026-11-07.

Examples

Volatility, correlation, and safe havens

Measure annualized volatility, Pearson correlation, drawdown, and safe-haven scores over a window. These endpoints require Growth or above. Volatility is annualized from daily returns, and correlation is the Pearson coefficient of those returns.

Which currencies remained stable against USD in 2024?

Returns a ranked list of currencies by annualized volatility vs USD for the 2024 calendar year, most stable first.

Which currencies were most volatile in 2025?

Returns G10 currencies ranked by annualized volatility for calendar year 2025, most volatile first.

Which currency is the best safe haven in a crisis?

Returns safe-haven scores for major currencies (CHF, JPY, USD, EUR) across stability, drawdown, and crisis resilience dimensions.

How correlated are EUR and GBP?

Returns the Pearson correlation coefficient for EUR/GBP over a configurable window, with an interpretation of what the correlation means for diversification.

Worked example

The most volatile currencies over one year

/v1/volatility

Which currencies were most volatile against USD over the last year?

curl
curl "https://api.currency-core.com/v1/volatility?base=USD&sort=volatile&limit=3" \
  -H "Authorization: Bearer $CURRENCYCORE_KEY"
Trimmed response
{
  "base": "USD",
  "mode": "ranking",
  "sort": "volatile",
  "basis": "annualized-daily",
  "results": [
    { "currency": "BRL", "volatility": 7.95 },
    { "currency": "ZAR", "volatility": 7.29 },
    { "currency": "KRW", "volatility": 5.97 }
  ]
}

Volatility is the annualized standard deviation of daily returns, in percent. Higher means wider swings. Figures from the 2026-11-06 snapshot.

Worked example

The most stable currencies over one year

/v1/volatility

Which currencies were least volatile against USD over the last year?

curl
curl "https://api.currency-core.com/v1/volatility?base=USD&sort=stable&limit=3" \
  -H "Authorization: Bearer $CURRENCYCORE_KEY"
Trimmed response
{
  "base": "USD",
  "mode": "ranking",
  "sort": "stable",
  "basis": "annualized-daily",
  "results": [
    { "currency": "AED", "volatility": 0 },
    { "currency": "HKD", "volatility": 0.43 },
    { "currency": "TRY", "volatility": 0.8 }
  ]
}

AED is pegged to USD, so its measured volatility against USD is 0.00%. Figures from the 2026-11-06 snapshot.

Examples

AI-generated reports

Ask a question in plain English and get a grounded answer plus the structured data behind it. One AI credit per query on CurrencyCore's models. The answer is generated from the data array returned with it, not from model memory.

Generate a performance report on EUR, GBP and INR

Returns a structured multi-currency comparison with YTD change, 5-year change, annualized volatility, and trend series for each currency.

Has India's PPP changed over the last decade?

Returns India's PPP factor trend over the window, with the start and end factors, the percentage change, and a yearly series for charting.

Worked example

A year-to-date report on EUR, GBP, and INR

/v1/ai

Summarize year-to-date performance for EUR, GBP, and INR against USD.

curl
curl "https://api.currency-core.com/v1/ai?q=Summarize%20year-to-date%20performance%20for%20EUR%2C%20GBP%2C%20and%20INR%20against%20USD" \
  -H "Authorization: Bearer $CURRENCYCORE_KEY"
Trimmed response
{
  "query": "Summarize year-to-date performance for EUR, GBP, and INR against USD.",
  "answer": "Year to date against USD, EUR is down 4.32%, GBP is down 0.05%, and INR is down 4.90%.",
  "data": [
    {
      "base": "USD",
      "from": "2026-01-01",
      "to": "2026-11-06",
      "mode": "compare",
      "results": [
        { "currency": "EUR", "startRate": 0.85092, "endRate": 0.88934, "strengthenedPct": -4.32 },
        { "currency": "GBP", "startRate": 0.74234, "endRate": 0.7427, "strengthenedPct": -0.05 },
        { "currency": "INR", "startRate": 89.75, "endRate": 94.37, "strengthenedPct": -4.9 }
      ]
    }
  ],
  "toolCalls": 1
}

Representative response: the model's wording varies, but the figures come from the data array and the 2026-11-06 snapshot. One AI credit on CurrencyCore's models. With BYOK on Growth or above, an answer from your provider is billed as one API request per tool call instead.

The worked examples use the same key, quota, and dataset as the live API. Swap the CURRENCYCORE_KEY value and run them as written; the rate and window change, the schema does not. For the annual series behind these numbers, start with currency history.

FAQ

Common questions

Do these examples consume AI credits?

Only the AI-generated report does. A /v1/ai query consumes 1 AI credit on CurrencyCore's models. The history, PPP, volatility, correlation, and safe-haven examples are REST calls and consume one API request each, never an AI credit. With BYOK on Growth or above, an answer from your provider is billed as one API request per tool call, not AI credits.

Can I run these over MCP?

Yes. The MCP server exposes convert, rates, history analysis, PPP, volatility, correlation, drawdown, safe-haven, and mean-reversion tools to Claude, Cursor, VS Code, and Gemini. Each successful tool call counts as one API request against the same organization and quota. MCP access is included on every plan.

Which plan includes the analytics endpoints?

The analytics endpoints require Growth or above: Growth, Growth Plus, Business, or Enterprise. They include /v1/history/analysis, /v1/volatility, /v1/correlation, /v1/drawdown, /v1/safe-haven, /v1/mean-reversion, and /v1/ppp/analysis. Free and Starter receive HTTP 403. The basic /v1/history time series is available on every plan, with Free limited to the last 30 days.

Are the figures on this page live?

The worked responses use the 2026-11-06 data snapshot so the numbers are traceable to a fixed observation. A live call returns the current rate or window, and the response date fields tell you exactly which observation was used. The endpoint shapes do not change.

How do I authenticate these calls?

Create a key at app.currency-core.com and send it as Authorization: Bearer cc_live_your_key. The same key works for REST and the AI endpoint. MCP uses an OAuth connection instead, then resolves to the same organization and limits. Keep keys out of source control and use test keys for development.

Ask your own
currency question.

Free tier: 100 AI credits/month. No credit card required.

Get your free API key Read the AI docs