Chile and LATAM data
for your automations.
Convert UF, check tax-ID formats, calculate business days and fetch regional exchange rates.
Get a result in your browser, then connect the tools to your agent.
No account or wallet for the demo · 30 free MCP calls per client per UTC day · production HTTP calls from $0.002 USDC.
Exchange rates from /latam/fx, including the Argentine blue market quote. This page refreshes its snapshot every 15 min; observation dates can differ by source.
Production HTTP calls with x402
GET /fx/convert?from=USD&to=EUR&amount=100
402 Payment Required { "amount": "0.003 USDC", "networks": ["base", "solana"], "payTo": "…" }
GET /fx/convert?… PAYMENT-SIGNATURE: <signed payment>200 OK { "converted": 87.45, "source": "European Central Bank" }An x402 client and a wallet with USDC are required for paid HTTP calls. The payer selects Base or Solana; settlement uses Coinbase CDP. Start with the integration guide.
Choose the access that fits your workflow
Start with a working example, then connect your automation.
Free MCP demo
- Try UF, RUT and business days in your browser
- Connect 28 JSON tools to an MCP client
- 30 tool calls per client per UTC day
- Check dates, sources and coverage before using the result
Paid HTTP API
- Configure an x402 client and funded wallet
- Inspect the price before signing a payment
- Pay the listed USDC price for each call
- Access the full catalog, including PDF and QR generation
Built for agents like yours
Commerce & payment agents
Validate a counterparty's tax ID (7 countries), fetch the legal FX rate, compute VAT, and issue the invoice as a PDF — all mid-flow, paying cents per step.
Back-office agents
Deadline math over real business days in supported countries, IBAN checks before payouts, phone normalization for CRMs — the boring rails every workflow needs.
LATAM reporting workflows
Exchange rates, indexed units (UF · UVA · UVR · UDI), SELIC and TRM — with source and date information to check before using a result.
Connect to your agent
Claude Code · Cursor · Claude Desktop/Web · paid HTTP examples
Use Toolrail to convert 50 UF to Chilean pesos. Include the value date and source.
No wallet? Try MCP free
claude mcp add --transport http toolrail https://toolrail.dev/mcp
MCP is a free demo limited to 30 tool calls per UTC day per anonymous client. For production automation and higher volume, use the x402 API above (USDC per call) — the same underlying tools without accounts or subscriptions.
Endpoints & pricing
🌎 LATAM data
Exchange rates, indexed and tax units (UIT, UVT, UMA), VAT for 17 countries and indicators across Latin America
/latam/indexacion
0.005 USDC
Latin American inflation-indexed units used in real contracts, mortgages and rents: UF (Chile), UVA (Argentina), UVR (Colombia), UDI (Mexico) — live official central-bank values with local-currency conversion. Use when a contract, rent or loan is expressed in UF, UVA, UVR or UDI and you need its value in local currency.
example
curl "https://toolrail.dev/latam/indexacion?unidad=uva&monto=100"
/latam/dolar-argentina
0.005 USDC
Argentine dollar quotes in one call: oficial, blue (parallel) and euro rates plus the gap percentage — the region's most watched FX spread. Use when you need the Argentine peso exchange rate, the blue (parallel) dollar or the official-blue gap.
example
curl "https://toolrail.dev/latam/dolar-argentina"
/latam/fx
0.015 USDC
LATAM exchange rates against USD in one call: CLP, ARS oficial+blue with gap, BRL PTAX, MXN FIX, COP TRM and PEN SBS. Returns source and observation information per currency; Argentine blue is a market quote, not an official central-bank rate. Partial results are identified. Use when you need official central-bank exchange rates for several Latin American currencies against the US dollar in a single call.
example
curl "https://toolrail.dev/latam/fx"
/latam/iva
0.002 USDC
VAT (IVA) rates for 17 Latin American countries, including Argentina, Chile, Colombia, Mexico, Peru (IGV) and the Dominican Republic (ITBIS): standard and reduced rates, plus net-to-gross or gross-to-net calculation. Reviewed dataset with source and review date; Brazil is excluded because it has no single rate. Use when pricing, quoting or invoicing in Latin America and you need the local VAT rate or the amount with or without tax.
example
curl "https://toolrail.dev/latam/iva?pais=CL&monto=100000&direccion=neto-a-bruto"
/latam/unidades-tributarias
0.003 USDC
Annual tax units used to express fines, thresholds and fees in Latin America: UIT (Peru), UVT (Colombia) and UMA (Mexico). Official value for a date with its legal act and validity window, plus conversion of N units to local currency. Use when a law, fine, tax threshold or fee is stated in UIT, UVT or UMA and you need the amount in local currency.
example
curl "https://toolrail.dev/latam/unidades-tributarias?unidad=uvt&cantidad=10"
/br/indices
0.005 USDC
Brazil's key official rates in one call: SELIC target, annualized CDI, monthly IPCA inflation and PTAX dollar — straight from Banco Central do Brasil's SGS API. Use when you need Brazil's interest rate (SELIC/CDI), inflation (IPCA) or official dollar (PTAX).
example
curl "https://toolrail.dev/br/indices"
/br/cep
0.002 USDC
Brazilian postal code (CEP) lookup: street, neighborhood, city, state and IBGE code for any of Brazil's 700k+ CEPs. Use when you have a Brazilian postal code (CEP) and need the full address.
example
curl "https://toolrail.dev/br/cep?cep=01310-100"
/ar/indices
0.005 USDC
Argentina's macro pulse: latest monthly inflation, compounded year-over-year inflation, and country risk (riesgo país) in basis points. Use when you need Argentina's latest inflation or country risk for a report or a price adjustment.
example
curl "https://toolrail.dev/ar/indices"
/co/trm
0.005 USDC
Colombia's official TRM (Tasa Representativa del Mercado) — the legal COP/USD rate used for taxes and contracts, with validity dates. Use when you need the official COP/USD rate for Colombian taxes, invoices or contracts.
example
curl "https://toolrail.dev/co/trm"
/pe/tipo-cambio
0.005 USDC
Peru's official SBS exchange rate (buy/sell PEN per USD) from the central bank (BCRP). Use when you need the official PEN/USD exchange rate for Peru.
example
curl "https://toolrail.dev/pe/tipo-cambio"
/mx/indicadores
0.005 USDC
Mexico's official FIX dollar rate (used for obligations) and TIIE 28-day interest rate, from Banco de México. Use when you need Mexico's official FIX dollar rate or the TIIE interest rate.
example
curl "https://toolrail.dev/mx/indicadores"
📄 Documents
Print-ready PDFs from JSON or HTML
/pdf
0.01 USDC
Generate a print-ready PDF from JSON data (invoice, report, contract templates) or raw HTML. Returns application/pdf. No account or subscription needed. Use when an agent must hand a person a document: invoices, quotes, reports or contracts as a PDF file.
example
curl -X POST https://toolrail.dev/pdf -H "Content-Type: application/json" -d '{"template":"invoice","data":{"number":"F-001","currency":"USD","tax_rate":19,"issuer":{"name":"Acme"},"client":{"name":"Client Inc"},"items":[{"description":"Consulting","quantity":2,"unit_price":150}]}}' -o invoice.pdf📅 Global calendar
Public holidays & business-day math for supported countries
/days/holidays
0.003 USDC
Official public holidays for supported countries (any year 1975-2075): date, local and English name, nationwide vs regional flag. Chile enhanced with a curated statutory table. Use when checking whether a date is a public holiday in a country or listing a year's holidays.
example
curl "https://toolrail.dev/days/holidays?country=DE&year=2026"
/days/business-days
0.003 USDC
Business-day calculator for supported countries: add N working days to a date skipping weekends and official public holidays. Essential for scheduling, deadlines and logistics. Use when computing a deadline, delivery or payment date that must skip weekends and public holidays.
example
curl "https://toolrail.dev/days/business-days?country=US&from=2026-08-01&days=10"
🇪🇺 EU VAT
Rates for supported countries, official VIES validation and price math
/vat/rates
0.002 USDC
Current VAT rates for supported European countries (EU-27 + UK, CH, NO...). Standard, reduced and super-reduced rates, provided through the third-party vatnode dataset; verify applicability for your transaction. Use when pricing, invoicing or checking tax for a customer in Europe and you need that country's VAT rate.
example
curl "https://toolrail.dev/vat/rates?country=DE"
/vat/validate
0.003 USDC
Validate an EU VAT number against the official European Commission VIES registry, with retries and caching for reliability. Returns validity, company name and address. Use when onboarding or invoicing an EU business and you must confirm its VAT number is registered.
example
curl -X POST https://toolrail.dev/vat/validate -H "Content-Type: application/json" -d '{"countryCode":"IE","vatNumber":"6388047V"}'/vat/price
0.002 USDC
VAT price calculator for supported European countries: net-to-gross or gross-to-net with the current standard or reduced rate. Returns net, VAT amount and gross. Use when you have a price and a European country and need the amount with or without VAT.
example
curl -X POST https://toolrail.dev/vat/price -H "Content-Type: application/json" -d '{"amount":100,"country":"DE","direction":"net-to-gross"}'💱 Currencies
Official ECB reference rates since 1999
/fx/convert
0.003 USDC
Convert between 30+ major currencies using official European Central Bank reference rates, current or historical since 1999. Use when converting an amount between major currencies at an official reference rate, today or on a past date.
example
curl "https://toolrail.dev/fx/convert?from=USD&to=EUR&amount=100"
/fx/rates
0.003 USDC
Full ECB reference rate table for any base currency, current or for a historical date since 1999. Use when you need many exchange rates at once against one base currency, today or historically.
example
curl "https://toolrail.dev/fx/rates?base=USD"
✅ Validation
IBANs, phone numbers, and tax IDs for LATAM + Spain
/validate/iban
0.002 USDC
Validate an IBAN (international bank account number): ISO 13616 mod-97 check digits and per-country length registry for 88 countries. Returns formatted IBAN and BBAN. Use when someone enters a bank account (IBAN) and you must catch typos before a transfer.
example
curl -X POST https://toolrail.dev/validate/iban -H "Content-Type: application/json" -d '{"iban":"DE89 3704 0044 0532 0130 00"}'/validate/phone
0.002 USDC
Validate and format phone numbers for ~240 regions (Google libphonenumber): validity, region, line type, E.164 / international / national formats. Use when normalizing or checking phone numbers before saving a contact or sending SMS or WhatsApp.
example
curl -X POST https://toolrail.dev/validate/phone -H "Content-Type: application/json" -d '{"phone":"+56 9 6123 4567"}'/validate/tax-id
0.002 USDC
Validate the format and supported check-digit rules of tax IDs across Latin America and Spain: Chile RUT, Argentina CUIT/CUIL, Brazil CPF/CNPJ, Mexico RFC, Peru RUC, Colombia NIT, Spain NIF/NIE. Does not verify identity or registration with a tax authority. Use when checking a Latin American or Spanish tax ID's format before saving a customer or an invoice.
example
curl -X POST https://toolrail.dev/validate/tax-id -H "Content-Type: application/json" -d '{"country":"BR","id":"529.982.247-25"}'🔳 QR codes
PNG or SVG, one call
/qr
0.002 USDC
Generate a QR code as PNG or SVG from any text or URL (up to 2000 chars, 64-2048 px). Pairs with the PDF endpoint for payment links and labels. Use when you need a scannable QR image for a URL, payment link or label.
example
curl -X POST https://toolrail.dev/qr -H "Content-Type: application/json" -d '{"data":"https://toolrail.dev","format":"png","size":512}' -o qr.png🇨🇱 Chile tools
UF, IPC adjustment, business days, RUT and payroll estimates
/cl/reajuste
0.01 USDC
Chilean IPC adjustment calculator: compound official monthly inflation between two months to reajust any amount — the standard calculation for rents, alimony and contracts in Chile. Use when adjusting a Chilean rent, debt or alimony amount for inflation (IPC) between two months.
example
curl "https://toolrail.dev/cl/reajuste?desde=2025-01&hasta=2025-06&monto=500000"
/cl/indicadores
0.005 USDC
Chilean economic indicators: UF, UTM, dolar observado, euro, IPC — current or for a given date. Official Banco Central de Chile data. Use when you need the UF, UTM, dollar or euro value in Chile for today or a past date.
example
curl "https://toolrail.dev/cl/indicadores?indicador=uf"
/cl/uf
0.005 USDC
Convert amounts between UF (Unidad de Fomento) and Chilean pesos at any date. Essential for Chilean contracts, rents and insurance. Use when an amount is expressed in UF and you need Chilean pesos, or the reverse.
example
curl "https://toolrail.dev/cl/uf?monto=50&direccion=uf-clp"
/cl/dias-habiles
0.003 USDC
Chilean business-day calculator: add N working days to a date respecting national holidays. Types: administrativo (Mon-Fri) or corrido. Use when computing a legal or administrative deadline in Chile in business days (días hábiles).
example
curl "https://toolrail.dev/cl/dias-habiles?desde=2026-08-01&plazo=10"
/cl/feriados
0.003 USDC
Official Chilean public holidays for 2026-2027 as structured JSON, including statutory moved holidays. Use when you need Chile's official holiday calendar (feriados) for scheduling.
example
curl "https://toolrail.dev/cl/feriados?ano=2026"
/cl/rut
0.002 USDC
Validate and format a Chilean RUT (tax ID) including check digit (modulo 11). Use when a Chilean RUT is entered in a form or file and you must catch typos before saving.
example
curl -X POST https://toolrail.dev/cl/rut -H "Content-Type: application/json" -d '{"rut":"12.345.678-5"}'/cl/sueldo-liquido
0.01 USDC
Chilean net salary calculator: gross to net with AFP, health, unemployment insurance and impuesto unico using live UF/UTM values and current legal brackets. Use when estimating a Chilean employee's take-home (líquido) pay from a gross salary.
example
curl -X POST https://toolrail.dev/cl/sueldo-liquido -H "Content-Type: application/json" -d '{"bruto":1500000,"afp":"modelo"}'📘 Learn (Spanish)
Build your own x402 API — a real-world walkthrough with the bugs we actually hit
/guia/pdf
7.00 USDC
PDF edition of 'Build your own x402 API' — available in Spanish, English or Portuguese (?lang=es|en|pt). A real-world walkthrough of building Toolrail: architecture, real bugs found and fixed, security checklist, discovery channels, and an honest revenue simulation. Includes a printable launch checklist. One-time purchase. Use when you want a practical guide to building and selling your own paid API with x402.
example
curl "https://toolrail.dev/guia/pdf?lang=en" -o guide-x402.pdf
Chile integration recipes
UF conversion API · RUT format and checksum API · Chilean business-day API · How Toolrail was built
Sources
vatnode open VAT dataset (reviewed third-party dataset, refreshed daily) · EC VIES registry · European Central Bank reference rates via Frankfurter · Nager.Date public-holiday dataset · CMF Chile & Banco Central de Chile · MINSAL · ArgentinaDatos (UVA) · Bluelytics (dólar Argentina) · Banco de la República (UVR Colombia) · Banxico (UDI México) · Chilean statutory tables maintained by us — tax brackets defined in UTM auto-track the monthly UTM value. Machine-readable: /llms.txt · /openapi.json
FAQ
What is x402?
An open payment standard using HTTP 402. The server quotes a price; an x402-capable client signs a payment and retries the request. Toolrail accepts USDC on Base or Solana.
Do I need an account or API key?
No. Payment is the authentication. Call an endpoint, pay the quoted amount, receive the resource. Nothing to sign up for, nothing to rotate, nothing to leak.
How do agents pay?
In USDC, on Base or Solana mainnet — every 402 response offers both and the payer picks. x402 client libraries handle the whole loop (call, pay, retry) automatically, and gas is sponsored by the facilitator: the paying wallet only needs USDC.
Can I try it without paying?
Yes. Use /try for three browser demos, or connect the quota-limited MCP demo through /integrate. Calling a paid HTTP endpoint without payment returns a free 402 quote; illustrative samples are not live results. The catalog, PDF template schemas and OpenAPI are free.
What does a call cost?
Between $0.002 and $0.015 per call depending on the endpoint. No minimums, no subscriptions, no expiring credits — $0.00 when you don't use it.
Do I pay if a call fails?
Ordinary server errors are not settled. A network interruption does not by itself prove whether a payment settled or the client received the result; check the payment receipt before retrying a paid call.
Where does the data come from?
Official sources are preferred: European Commission VIES, European Central Bank data, central banks and government datasets across LATAM, MINSAL, and statutory tables we maintain. Where a direct official API is unavailable or unreliable, the response identifies the reviewed open-data mirror used, including vatnode, Frankfurter, ArgentinaDatos and Bluelytics.
Can humans use it too?
Yes. Try UF conversion, RUT checks and Chilean business-day calculations in the browser at /try, without a wallet. Developers can connect the same tools to agents through MCP or use the paid x402 HTTP API for production automation.