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
periodcurrentit 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 inwarnings. - 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
periodmonthorrangethe 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 -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-Keyheader; it is never stored. - Numeric value (
1017.17) with the original text invalueRaw, ISO date and unitCLP. - Clear
warningsfor 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:
| period | What it returns | Arguments |
|---|---|---|
current | Value in force today (Chile time). On weekends or holidays, the latest published one, with a warning | {"source": "dolar", "period": "current"} |
date | One day: year, month and day | {"source": "dolar", "period": "date", "year": 2026, "month": 11, "day": 20} |
month | Every business day of a month | {"source": "dolar", "period": "month", "year": 2026, "month": 11} |
range | Between 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} |
year | A 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 -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:
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):
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.clIn JavaScript (Node.js 18 or later, as an .mjs module), one day's dollar and 100 US dollars converted to pesos:
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:
2026-11-20: 1 USD = 1008.79 CLP; 100 USD = 100879 CLPStep 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):
| Date | Observed dollar (CLP) |
|---|---|
| Monday, November 23, 2026 | 1,017.17 |
| Friday, November 20, 2026 | 1,008.79 |
| Thursday, November 19, 2026 | 1,002.07 |
| Wednesday, November 18, 2026 | 996.68 |
| Tuesday, November 17, 2026 | 1,001.17 |
| Monday, November 16, 2026 | 999.10 |
| Friday, November 13, 2026 | 992.48 |
| Thursday, November 12, 2026 | 984.49 |
| Wednesday, November 11, 2026 | 977.05 |
| Tuesday, November 10, 2026 | 969.80 |
| Monday, November 9, 2026 | 979.88 |
| Friday, November 6, 2026 | 970.94 |
| Thursday, November 5, 2026 | 970.95 |
| Wednesday, November 4, 2026 | 980.59 |
| Tuesday, November 3, 2026 | 981.82 |
| Monday, November 2, 2026 | 992.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.
{
"mcpServers": {
"better-llama": {
"url": "https://mcp.betterllama.com/mcp"
}
}
}claude mcp add --transport http better-llama https://mcp.betterllama.com/mcpSetup 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):
{
"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
- Chile CMF API guide: the UF, euro, UTM, CPI and maximum conventional rate.
- Chile UF API guide: today's UF, the full month and next month's days already published.
- Central Bank of Chile API guide: the dollar in the BDE, the policy rate, CPI, Imacec and any series by code.
- Chile economic indicators guide: the dollar, policy rate and Imacec from the Central Bank.
- CMF Chile tool page: parameters, example and FAQ.
- Chile UF, dollar and UTM for your agent: use cases.
Other guides
- Chile open data APIs: official sources by API and MCP — map of the official Chilean sources available by API and MCP, how to find the tool with search_tools, one real call per family and an index of every guide.
- Chile CMF API: UF value, dollar, UTM and maximum conventional rate — the seven API CMF Bancos series with no API key to request, curl and Python examples, and MCP usage.
- Chile UF API: the Unidad de Fomento value as JSON — today's UF, full month, next month's days already published, range or year, with CMF data and a Central Bank cross-check, curl, Python and JavaScript examples, and MCP usage.
- Central Bank of Chile API: BDE series as JSON — dollar, UF, policy rate, CPI, Imacec, GDP, unemployment and any series by code, series search, curl, Python and JavaScript examples, and MCP usage.
- Chile economic indicators API: UF, dollar, euro, CPI and TPM — One real call per indicator (UF, dollar, euro, UTM, CPI, TMC, TIP, TPM, Imacec, GDP, unemployment and real exchange rate), from the CMF or the Central Bank, with curl, Python, JavaScript and MCP.
- Chile public procurement API: Mercado Público tenders and purchase orders — ChileCompra ticket, curl and Python examples, and MCP usage.
- Chile public holidays API: 2026 holidays, business days and RUT — National, regional and local holidays with no key, curl and Python examples, and MCP usage.
- Chile fuel prices API: gasoline 93, 95, 97, diesel and LPG from Bencina en Línea — CNE data with no sign-up, the cheapest by comuna or near a point, curl, Python and JavaScript examples, and MCP usage.
- Chilexpress API: coverage by comuna, shipping quotes and tracking — covered comunas and sectors with their code and no key, names that differ from the official ones, quotes and tracking with your free keys, and MCP usage.
- Chile earthquakes API: latest quake, magnitude, depth and alerts — Public-domain USGS data with Chile local time, no USGS key, curl and Python examples, and MCP usage.
- Chile Official Gazette API: laws, decrees and new companies — Laws, decrees, notices and company incorporations with CVE and official PDF, no key, curl and Python examples, and MCP usage.
- Chile electricity market API: marginal cost, generation and demand — Coordinador Eléctrico Nacional grid data with no user_key to request, curl and Python examples, and MCP usage.
- Colombia SECOP II API: public procurement contracts and processes — Open data from datos.gov.co with no key, curl and Python examples, and MCP usage.
- Colombia TRM API: today's TRM and the COP/USD rate — Superintendencia Financiera data via datos.gov.co with no key, curl and Python examples, and MCP usage.
- Peru BCRP API: exchange rate, inflation and rates — BCRPData series with no key, curl and Python examples, and MCP usage.
- Banxico API: Mexico's FIX exchange rate, UDIS and TIIE — Banco de México SIE indicators with no token to request, curl and Python examples, and MCP usage.
- Chile RUT validation API: check digit as JSON — the modulo 11 algorithm, accepted formats, computing the check digit, batches and privacy, curl, Python and JavaScript examples, and MCP usage.
- Chile communes API: regions, provinces and CUT codes — all 346 communes with CUT codes, region filters, name search, curl, Python and JavaScript examples, and MCP usage.
- Chile business days API: deadlines and business-day counts — business-day deadlines from a notice date, Saturdays as business days, calendar days, business days per month, regional holidays and edge cases, with curl, Python and JavaScript, and MCP usage.
This guide is also available en español.