Guide · Chile financial indicators

Chile CMF API: how to get the UF value, the dollar, the UTM and the maximum conventional interest rate

What the API of Chile's financial market regulator (Comisión para el Mercado Financiero, API CMF Bancos) returns, which series it has, what its API key requires, and how to receive the UF, the observed dollar, the euro, the UTM, CPI, TMC and TIP as clean JSON from your code or an AI agent with Better Llama's MCP tool, with no key to request.

What is the CMF Chile API and what does it publish?

The Comisión para el Mercado Financiero (CMF) is the regulator of Chile's financial market. Its API CMF Bancos publishes seven indicator series and the banks' reports as JSON or XML:

  • Unidad de Fomento (UF): Chile's inflation-indexed unit of account, one value for every day, weekends included, known in advance.
  • Observed dollar and euro: value in Chilean pesos for each banking business day.
  • UTM (Unidad Tributaria Mensual): one value per month, used for taxes and fines.
  • CPI (IPC): monthly change of the consumer price index, in percent.
  • Maximum conventional rate (TMC) and average interest rate (TIP): one rate for each type of credit operation, by currency, term and amount in UF.
  • Bank reports: balance sheets, income statements, profile, shareholders, board and capital adequacy per bank.

For example, in the query of November 22, 2026 at 12:21 (Chile time), the UF in force was 41,384.81 pesos, the latest observed dollar (November 20, 2026) was 1,008.79 pesos and the UTM for November 2026 was 72,440 pesos. Every answer from our tool carries the citation «Fuente: Comisión para el Mercado Financiero (CMF Chile), API CMF Bancos» with the link www.cmfchile.cl.

If you also need the policy rate, the Imacec or other Central Bank series, see the Chile economic indicators guide, which compares the CMF with the Central Bank's BDE.

If you only need the dollar (today's rate, series by month, range or year, and what happens when the CMF publishes the next business day's value in advance), see the Chile USD/CLP exchange rate API guide.

If you only need the UF (today's value, the full month, next month's days already published, range or year, and how to convert UF to pesos), see the Chile UF API guide.

If you need Central Bank series that the CMF does not publish, such as the policy rate, Imacec, GDP or unemployment, see the Central Bank of Chile API guide.

Two ways to use the CMF API

1. The API CMF Bancos, directly

The CMF requires a free, personal API key, requested with a form at api.cmfchile.cl. According to the CMF, each key has a quota of 10,000 requests per month; above it, the API answers with a notice until the monthly period elapses. The key goes as the apikey parameter in every call. For example, the UF in force:

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

And the maximum conventional rates in force:

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

The integration is up to you: values come as text in Chilean format («41.384,81»), each series has its own routes for years, months, days and ranges, day ranges are only documented for dollar and euro, and days without publication (weekends and holidays for dollar and euro) have no value.

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

Our tool UF, dollar, UTM and CPI (CMF Chile), get_chile_financial_indicators, queries that same API and returns a ready-to-use result:

  • No API key to request: 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 used only for that request and never stored.
  • One source parameter for the seven series and one period parameter for the value in force, a year, a month, a day or a range.
  • Numeric values (41384.81) with the original text in valueRaw, ISO date and unit.
  • If you ask for the dollar or euro on a weekend or holiday, it returns the latest published value and explains it in warnings.

Use it as an MCP tool from Claude, Cursor or other agents, or over HTTP with JSON-RPC from any language.

Step by step: query the CMF API

Step 1. Choose the series

Pass one of these seven values in source. The last column is what the tool returned with period current on November 22, 2026 at 12:21, Chile time:

sourceSeries and frequencyLatest value (query of 2026-11-22)
ufUnidad de Fomento (UF)
Daily (every day)
41,384.81 CLP (November 22, 2026)
dolarObserved US dollar
Banking business days
1,008.79 CLP (November 20, 2026)
euroEuro
Banking business days
1,107.59 CLP (November 20, 2026)
utmMonthly Tax Unit (UTM)
Monthly
72,440 CLP (November 2026)
ipcCPI (monthly change)
Monthly
0.5% (October 2026)
tmcMaximum conventional rate (TMC)
Per period, by type of operation
12 rates, in force from November 14, 2026
tipAverage interest rate (TIP)
Per period, by type of operation
12 rates, in force from November 14, 2026

The dollar and the euro are not published on weekends or holidays. On Sunday, November 22 the tool returned Friday the 20th's value with this notice: «No value published for 2026-11-22; returning the most recent published value, dated 2026-11-20.».

Step 2. Connect the MCP server

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

Step 3. Set the period

ParameterWhat it does
sourceThe series (table above) or a bank report. Default uf
periodcurrent (value in force, default), year, month, date or range
year / month / dayYear, month and day. day only applies to UF, dollar and euro
yearTo / monthTo / dayToEnd of the range with period range. Day ranges are for dollar and euro; UF, UTM, CPI, TMC and TIP use month or year ranges
maxItemsMaximum results (1 to 500, default 50)

Real examples from November 22, 2026: with source uf, period month, year 2026 and month 11 the tool returned 30 values, from 41,252.94 pesos on November 1 to 41,439.89 pesos on November 30. With source dolar and a range from November 1 to 21 it returned 15 business days, between 969.80 pesos (November 10, 2026) and 1,008.79 pesos (November 20, 2026). And with source utm and period year the December 2026 UTM was already there: 72,802 pesos.

The maximum conventional interest rate (TMC)

The TMC (tasa máxima convencional) is the highest interest that can be agreed in a money-lending operation in Chile. The CMF publishes it for each type of operation together with the average interest rate (TIP). These are the rates the tool returned with source tmc and tip (period current, in force from November 14, 2026; annual rates in percent):

TypeOperation (CMF wording, in Spanish)TMCTIP
26Operaciones no reajustables en moneda nacional de menos de 90 días. Inferiores o iguales al equivalente de 5.000 unidades de fomento46.89%31.26%
25Operaciones no reajustables en moneda nacional de menos de 90 días. Superiores al equivalente de 5.000 unidades de fomento8.46%5.64%
45Operaciones no reajustables en moneda nacional 90 días o más. Inferiores o iguales al equivalente de 50 unidades de fomento41.12%31.85%
44Operaciones no reajustables en moneda nacional 90 días o más. Inferiores o iguales al equivalente de 200 unidades de fomento y superiores al equivalente de 50 unidades de fomento34.12%29.15%
35Operaciones no reajustables en moneda nacional 90 días o más. Inferiores o iguales al equivalente de 5.000 unidades de fomento y superiores al equivalente de 200 unidades de fomento30.18%20.12%
43Operaciones cuyo mecanismo de pago consista en la deducción de las respectivas cuotas directamente de la pensión del deudor27.12%—
21Operaciones reajustables en moneda nacional. Menores a un año5.12%3.12%
24Operaciones reajustables en moneda nacional. De un año o más. Inferiores o iguales al equivalente de 2000 unidades de fomento6.66%4.44%
22Operaciones reajustables en moneda nacional. De un año o más. Superiores al equivalente de 2000 unidades de fomento5.77%3.77%
46Operaciones en moneda extranjera y expresadas en moneda extranjera. Inferiores o iguales al equivalente de 2.000 unidades de fomento15.3%10.2%
47Operaciones en moneda extranjera y expresadas en moneda extranjera. Superiores al equivalente de 2.000 unidades de fomento9.18%6.12%
34Operaciones no reajustables en moneda nacional 90 días o más. Superiores al equivalente de 5.000 unidades de fomento10.05%6.7%

For example, for a non-indexed peso loan of 90 days or more for up to 50 UF, the TMC in force is 41.12% and the TIP 31.85%. The typeCode field identifies each type of operation; filter by it in your code, as in the Python example.

Step 4. Call the tool with curl

A JSON-RPC POST returns the result as JSON. This call asks for the UF 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": "uf", "period": "current"}}}'

The same in Python

The UF, dollar and UTM in force, and the TMC for one type of operation:

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"])

# Current value of the UF, the observed dollar and the UTM
for source in ("uf", "dolar", "utm"):
    r = cmf({"source": source, "period": "current"})["results"][0]
    print(f'{r["indicatorName"]:<32} {r["date"]}  {r["value"]:>10,.2f} {r["unit"]}')

# Current maximum conventional rate: peso loans of 90 days or more up to 50 UF
tmc = cmf({"source": "tmc", "period": "current"})
for r in tmc["results"]:
    if r["typeCode"] == "45":
        print("TMC", r["typeCode"], r["validFrom"], r["value"], "%", "-", r["subtitle"])

Real output (November 22, 2026, 12:22 Chile time):

output
Unidad de Fomento (UF)           2026-11-22   41,384.81 CLP
Dólar observado (USD)            2026-11-20    1,008.79 CLP
Unidad Tributaria Mensual (UTM)  2026-11-01   72,440.00 CLP
TMC 45 2026-11-14 41.12 % - Inferiores o iguales al equivalente de 50 unidades de fomento

From JavaScript or any other language, a POST with the same JSON-RPC body is enough (for example, with fetch).

Use the CMF API from an AI agent (MCP)

Add the Better Llama MCP server to your client (Claude, Cursor, VS Code or any other with remote MCP). One MCP brings get_chile_financial_indicators 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

If you prefer to use your own CMF API key, add it as a header:

Cursor · mcp.json with your key
{
  "mcpServers": {
    "better-llama": {
      "url": "https://mcp.betterllama.com/mcp",
      "headers": {
        "X-CMF-Api-Key": "<your CMF API key>"
      }
    }
  }
}

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 the UF worth today, and how much are 25 UF in Chilean pesos? Cite the source.» or «What is the maximum conventional rate in force for a 40 UF consumer loan over 12 months?»

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 or percent) and validFrom; TMC and TIP add title, subtitle and typeCode. The answer includes count, warnings, stopReason, attribution, source and retrievedAt.

Real, complete response to the curl call above (November 22, 2026, 12:21 Chile time):

json
{
  "tool": "get_chile_financial_indicators",
  "count": 1,
  "results": [
    {
      "indicator": "uf",
      "indicatorName": "Unidad de Fomento (UF)",
      "date": "2026-11-22",
      "year": 2026,
      "month": 11,
      "value": 41384.81,
      "valueRaw": "41.384,81",
      "unit": "CLP",
      "validFrom": "2026-11-22",
      "redacted": false,
      "source": "uf",
      "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-22T15:21:12.585Z"
    }
  ],
  "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-22T15:21:12.585Z"
}

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 on betterllama.com first.

Frequently asked questions

Does the CMF Chile have an API?

Yes. The API CMF Bancos (api.cmfchile.cl) returns the UF, observed dollar, euro, UTM, CPI, TMC and TIP, plus bank reports, as JSON or XML, with a free API key. Better Llama's get_chile_financial_indicators tool queries that API and returns clean JSON over MCP or JSON-RPC, without you requesting the key.

What is the UF value according to the CMF?

In the query of November 22, 2026, the UF in force was 41,384.81 pesos. Each day's UF is known in advance: that day the API already returned all 30 values for November 2026, up to 41,439.89 pesos on November 30. For today's value, call get_chile_financial_indicators with source uf and period current.

What is the maximum conventional interest rate?

It is the highest interest that can be agreed in a money-lending operation in Chile. The CMF publishes it by type of operation, by currency, term and amount in UF, together with the average interest rate (TIP). With source tmc and period current you get the rates in force; those from November 14, 2026 included 41.12% for peso loans of 90 days or more for up to 50 UF.

Do I need a CMF API key?

Not to use Better Llama: during the beta the server uses a Better Llama key with a 30-minute cache. To call the CMF API directly you do need one; it is free and personal, requested at api.cmfchile.cl, with a quota of 10,000 requests per month. To use yours with our tool, send it in the X-CMF-Api-Key header; it is used only for that request and never stored.

Why does today's dollar carry another day's date?

The CMF publishes the observed dollar and the euro only on banking business days. If you ask for a weekend or holiday, the tool returns the latest published value and says so in warnings: on Sunday, November 22, 2026 it returned Friday the 20th's dollar, 1,008.79 pesos.

How is this different from the economic indicators guide?

This guide covers only the CMF API: its seven series, TMC and TIP, its API key and how to use it over MCP. The Chile economic indicators guide compares the CMF with the Central Bank's statistical database (BDE), which also has the policy rate, the Imacec and thousands of series.

Is Better Llama affiliated with the CMF?

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

Other guides

This guide is also available en español.