Guide · Chile exchange rate

Chile USD/CLP exchange rate API: the observed dollar as JSON for your code and your AI agents

How to get Chile's observed dollar (dólar observado, Chilean pesos per US dollar) into your code or an AI agent: today's rate, the daily series for a month, a range or a year, what happens on weekends and holidays, and why tomorrow's value is sometimes already published. With Better Llama's MCP tool and CMF data, no API key to request.

What is the observed dollar and where is it published?

The observed dollar (dólar observado) is the reference exchange rate between the Chilean peso and the US dollar. The Central Bank of Chile calculates it from the formal foreign exchange market's transactions of the previous business day, and it is used in contracts, invoices and obligations in dollars, in accounting and to reconcile international payments. It is not a bank's or exchange office's buy or sell price: it is the official reference.

Two official sources publish it by API: the API CMF Bancos of Chile's financial market regulator (Comisión para el Mercado Financiero), with the observed dollar for each banking business day plus the UF, euro, UTM and CPI, and the Central Bank's statistical database (BDE), series F073.TCO.PRE.Z.D.

In the query of Monday, November 23, 2026 at 08:22 (Chile time), our tool get_chile_financial_indicators returned an observed dollar of 1,017.17 pesos for that day, with the citation «Fuente: Comisión para el Mercado Financiero (CMF Chile), API CMF Bancos». The BDE series, queried two minutes later with get_chile_central_bank_series, returned the same value.

Why tomorrow's dollar may already be published

Because the observed dollar is calculated from the previous business day's transactions, its value is known before the day it applies to begins. The CMF publishes it in advance: on Sunday, November 22, 2026 its API already had Monday the 23rd's dollar, 1,017.17 pesos.

Since version 0.5.1 of the MCP, the tool keeps both cases apart so your code or agent does not mix up dates:

  • With period current it returns the value in force today in Chile. If there is no publication today (weekend or holiday), it returns the latest published value and says so in warnings.
  • If the CMF has already published a later day's value, it adds a warning. On Sunday, November 22 the tool returned Friday the 20th's dollar (1,008.79 pesos) and this warning: «CMF has already published the value for 2026-11-23 in advance: 1017.17 (after today, 2026-11-22, Chile time).».
  • With period month or range the series includes every published day, the advance one too: the November query ended on Monday the 23rd.

If you ask for a day without publication with period date, you also get the latest previous value. Real answer for Sunday, November 22 (queried on the 23rd): «No value published for 2026-11-22; returning the most recent published value, dated 2026-11-20.»

Three ways to get the observed dollar by API

1. The API CMF Bancos, directly

It requires a free, personal API key requested at api.cmfchile.cl, with a quota of 10,000 requests per month according to the CMF. The dollar in force:

curl · API CMF Bancos
curl -s "https://api.cmfchile.cl/api-sbifv3/recursos_api/dolar?apikey=$CMF_API_KEY&formato=json"

Values come as text in Chilean format («1.017,17») and each period (year, month, day or day range) has its own route. Weekends and holidays have no value.

2. The Central Bank's BDE API

It requires a Central Bank account and token. The observed dollar series is F073.TCO.PRE.Z.D; on days without publication the BDE returns NaN. Our Central Bank series (BDE) tool queries it with no sign-up on your side; details are in the Chile economic indicators guide.

3. Better Llama's CMF tool (over MCP)

Our tool UF, dollar, UTM and CPI (CMF Chile), get_chile_financial_indicators, queries the CMF API and returns the dollar ready to use:

  • No API key of your own during the beta (we use ours, with a 30-minute cache). To use yours, send it in the X-CMF-Api-Key header; it is never stored.
  • Numeric value (1017.17) with the original text in valueRaw, ISO date and unit CLP.
  • Clear warnings for weekends, holidays and values published in advance.
  • The same tool returns the euro, UF, UTM and CPI. For example, the euro on Monday, November 23, 2026 was 1,116.54 pesos. The Chile CMF API guide covers all seven series.

Step by step: the observed dollar as JSON

Step 1. Choose the period

Always use source dolar and pick the period:

periodWhat it returnsArguments
currentValue in force today (Chile time). On weekends or holidays, the latest published one, with a warning{"source": "dolar", "period": "current"}
dateOne day: year, month and day{"source": "dolar", "period": "date", "year": 2026, "month": 11, "day": 20}
monthEvery business day of a month{"source": "dolar", "period": "month", "year": 2026, "month": 11}
rangeBetween two dates: year, month, day and yearTo, monthTo, dayTo{"source": "dolar", "period": "range", "year": 2026, "month": 10, "day": 1, "yearTo": 2026, "monthTo": 11, "dayTo": 23}
yearA full year (raise maxItems to 300){"source": "dolar", "period": "year", "year": 2025, "maxItems": 300}

Real examples from November 23, 2026: with period month for November, 16 business days came back, between 969.80 pesos (November 10, 2026) and 1,017.17 pesos (November 23, 2026). The range from October 1 to November 23 returned 37 values; October's 21 went from 967.79 to 994.29 pesos. And the whole of 2025 returned 248 values, from 904.54 pesos (December 29, 2025) to 1,012.76 pesos (January 14, 2025).

Step 2. Connect the MCP server

Use the MCP https://mcp.betterllama.com/mcp in your client (setup below) or call it over HTTP with JSON-RPC. No account or sign-up is needed during the beta.

Step 3. Call the tool

With curl, the observed dollar in force:

curl
curl -s https://mcp.betterllama.com/mcp \
  -H "Content-Type: application/json" \
  -H "Accept: application/json, text/event-stream" \
  -d '{"jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": {"name": "get_chile_financial_indicators", "arguments": {"source": "dolar", "period": "current"}}}'

In Python, today's dollar with its warnings and the month series:

python
import json
import requests

URL = "https://mcp.betterllama.com/mcp"
HEADERS = {"Accept": "application/json, text/event-stream"}

def cmf(arguments):
    body = {"jsonrpc": "2.0", "id": 1, "method": "tools/call",
            "params": {"name": "get_chile_financial_indicators", "arguments": arguments}}
    resp = requests.post(URL, json=body, headers=HEADERS, timeout=60)
    resp.raise_for_status()
    return json.loads(resp.json()["result"]["content"][0]["text"])

# Observed dollar in force and its warnings (weekend, holiday or value published in advance)
today = cmf({"source": "dolar", "period": "current"})
r = today["results"][0]
print(r["indicatorName"], r["date"], r["value"], r["unit"])
for w in today["warnings"]:
    print("Warning:", w)

# Month series: one value per banking business day
month = cmf({"source": "dolar", "period": "month", "year": 2026, "month": 11, "maxItems": 31})
values = [x["value"] for x in month["results"]]
print(len(values), "business days; min", min(values), "max", max(values))
print(today["attribution"])

Real output (November 23, 2026, 08:24 Chile time):

output
Dólar observado (USD) 2026-11-23 1017.17 CLP
16 business days; min 969.8 max 1017.17
Fuente: Comisión para el Mercado Financiero (CMF Chile), API CMF Bancos — https://www.cmfchile.cl

In JavaScript (Node.js 18 or later, as an .mjs module), one day's dollar and 100 US dollars converted to pesos:

javascript
const URL = "https://mcp.betterllama.com/mcp";

async function cmf(args) {
  const res = await fetch(URL, {
    method: "POST",
    headers: { "Content-Type": "application/json", "Accept": "application/json, text/event-stream" },
    body: JSON.stringify({ jsonrpc: "2.0", id: 1, method: "tools/call",
      params: { name: "get_chile_financial_indicators", arguments: args } }),
  });
  const data = await res.json();
  return JSON.parse(data.result.content[0].text);
}

// Observed dollar for one day and 100 US dollars converted to pesos
const out = await cmf({ source: "dolar", period: "date", year: 2026, month: 11, day: 20 });
const { date, value } = out.results[0];
console.log(`${date}: 1 USD = ${value} CLP; 100 USD = ${(100 * value).toFixed(0)} CLP`);

Real output:

output
2026-11-20: 1 USD = 1008.79 CLP; 100 USD = 100879 CLP

Step 4. Read the value and the warnings

Use value to calculate, date to know which day it belongs to, and always check warnings: if it is empty, the value is the one for the day you asked for. To convert amounts, multiply the dollars by value: with the dollar of Monday, November 23, 2026, 100 US dollars are 101,717 pesos.

Observed dollar in November 2026

What the tool returned with period month on November 23, 2026 (Chilean pesos per US dollar, newest first):

DateObserved dollar (CLP)
Monday, November 23, 20261,017.17
Friday, November 20, 20261,008.79
Thursday, November 19, 20261,002.07
Wednesday, November 18, 2026996.68
Tuesday, November 17, 20261,001.17
Monday, November 16, 2026999.10
Friday, November 13, 2026992.48
Thursday, November 12, 2026984.49
Wednesday, November 11, 2026977.05
Tuesday, November 10, 2026969.80
Monday, November 9, 2026979.88
Friday, November 6, 2026970.94
Thursday, November 5, 2026970.95
Wednesday, November 4, 2026980.59
Tuesday, November 3, 2026981.82
Monday, November 2, 2026992.66

The observed dollar in your AI agent (MCP)

Add Better Llama's MCP server in your client (Claude, Cursor, VS Code or any other with remote MCP). One MCP brings get_chile_financial_indicators, get_chile_central_bank_series and the rest of the catalog, with no sign-up during the beta.

Cursor · mcp.json
{
  "mcpServers": {
    "better-llama": {
      "url": "https://mcp.betterllama.com/mcp"
    }
  }
}
Claude Code
claude mcp add --transport http better-llama https://mcp.betterllama.com/mcp

Setup for Claude, Codex, Gemini CLI, Windsurf, VS Code and other clients: connect your agent.

Ready-to-run Python and Node.js examples, with config files for each client: examples repository on GitHub.

Then ask, for example: «What is today's observed dollar in Chile and how many pesos are 2,500 US dollars? Cite the source.» or «Give me Chile's observed dollar for every day of October 2026 and tell me the highest day.» The agent gets the date, the value and the warnings, so it can explain when it used another day's value.

Beta: free and with no sign-up while we test the service.

Which fields it returns

Each item in results has indicator, indicatorName, date (ISO), year, month, value (numeric), valueRaw (the CMF's original text), unit (CLP) and validFrom. The answer includes count, warnings, stopReason, attribution, source and retrievedAt.

Real, complete answer to the curl call above (November 23, 2026, 08:22 Chile time):

json
{
  "tool": "get_chile_financial_indicators",
  "count": 1,
  "results": [
    {
      "indicator": "dolar",
      "indicatorName": "Dólar observado (USD)",
      "date": "2026-11-23",
      "year": 2026,
      "month": 11,
      "value": 1017.17,
      "valueRaw": "1017,17",
      "unit": "CLP",
      "validFrom": "2026-11-23",
      "redacted": false,
      "source": "dolar",
      "kind": "indicador",
      "officialUrl": "https://api.cmfchile.cl/documentacion/index.html",
      "dataSource": "Comisión para el Mercado Financiero (CMF Chile), API CMF Bancos. Fuente: https://www.sbif.cl / https://www.cmfchile.cl",
      "retrievedAt": "2026-11-23T11:22:27.960Z"
    }
  ],
  "warnings": [],
  "stopReason": "completed",
  "attribution": "Fuente: Comisión para el Mercado Financiero (CMF Chile), API CMF Bancos — https://www.cmfchile.cl",
  "source": "https://api.cmfchile.cl/",
  "retrievedAt": "2026-11-23T11:22:27.960Z"
}

If you reuse the data, cite «Fuente: Comisión para el Mercado Financiero (CMF Chile), API CMF Bancos» with the link https://www.cmfchile.cl/.

Pricing

Free during the beta, with no sign-up and a limit of 60 requests per minute per IP; with the shared CMF key, repeated queries come from a 30-minute cache. If paid plans come later, we will announce them first on betterllama.com.

FAQ

What is Chile's observed dollar?

It is the reference exchange rate between the Chilean peso and the US dollar, calculated by the Central Bank of Chile from the formal foreign exchange market's transactions of the previous business day. The CMF publishes it in its API for each banking business day. It is used in contracts, invoices and accounting; it is not a bank's or exchange office's buy or sell price.

What is the USD/CLP observed dollar today?

In the query of Monday, November 23, 2026, the observed dollar was 1,017.17 Chilean pesos. For the current value, call get_chile_financial_indicators with source dolar and period current: it always returns the value in force today in Chile, or the latest published one with a warning when there is no publication today.

Is there a free API for Chile's exchange rate?

Yes. The API CMF Bancos and the Central Bank's BDE API are free, but they require sign-up and a key. With Better Llama you need no key during the beta: get_chile_financial_indicators returns the dollar as JSON over MCP or JSON-RPC, with a limit of 60 requests per minute per IP.

Why is tomorrow's dollar already published?

Because it is calculated from the previous business day's transactions and the CMF publishes it in advance. With period current the tool returns the value in force today and, if a later one already exists, reports it in warnings; on Sunday, November 22, 2026 it warned that Monday the 23rd's value was already published: 1,017.17 pesos.

What happens on weekends and holidays?

There is no observed dollar on those days. The tool returns the latest published value and explains it in warnings. For example, for Sunday, November 22, 2026 it returned Friday the 20th's value, 1,008.79 pesos.

Should I use the CMF or the Central Bank?

Both sources are official and returned the same value in our query of November 23, 2026 (1,017.17 pesos). The CMF is the simplest for the dollar, euro, UF and UTM; the Central Bank's BDE is useful if you also need the policy rate, the Imacec or other series. Both are on the same Better Llama MCP.

How do I convert US dollars to Chilean pesos?

Multiply the dollar amount by value. With the observed dollar of Friday, November 20, 2026 (1,008.79 pesos), 100 US dollars are 100,879 pesos, as in the JavaScript example. For invoices or contracts, use the value of the day the document specifies.

Is Better Llama affiliated with the CMF or the Central Bank?

No. Better Llama is an independent project, not affiliated with, sponsored or endorsed by the Comisión para el Mercado Financiero or the Central Bank of Chile. The data comes from the API CMF Bancos and every answer includes the source attribution.

Keep going

Other guides

This guide is also available en español.