Toolrail Cl API
The Cl API from Toolrail — 12 operation(s) for cl.
The Cl API from Toolrail — 12 operation(s) for cl.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/toolrail-dev:toolrail-dev-cl-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Toolrail Cl API
version: 1.0.0
description: 'Pay-per-call utility API for AI agents: PDF generation, global holidays/business days, EU VAT, ECB FX rates, IBAN/phone validation, QR codes, Chilean operational data. x402/USDC on Base & Solana.'
contact:
name: Toolrail support
email: roberto.mena.rodriguez@gmail.com
servers:
- url: https://toolrail.dev
tags:
- name: Cl
paths:
/cl/reajuste:
get:
operationId: get_cl_reajuste
summary: 'Chilean IPC adjustment calculator: official INE inflation between two months…'
description: 'Chilean IPC adjustment calculator: official INE inflation between two months (from the index levels, matching the INE variation) 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. Price: $0.01 per call, paid in USDC via x402 (HTTP 402 flow).'
x-price-usd: $0.01
x-payment-protocol: x402
x-example: curl "https://toolrail.dev/cl/reajuste?desde=2025-01&hasta=2025-06&monto=500000"
responses:
'200':
description: Resource returned after settled payment
content:
application/json:
schema:
type: object
'400':
description: Invalid request
'402':
description: Payment required — PAYMENT-REQUIRED carries the base64 x402 payment requirements
headers:
PAYMENT-REQUIRED:
schema:
type: string
description: Base64-encoded x402 payment envelope
'429':
description: Rate limit exceeded
'502':
description: Upstream data source unavailable
parameters:
- name: desde
in: query
required: false
schema:
type: string
example: 2025-01
- name: hasta
in: query
required: false
schema:
type: string
example: 2025-06
- name: monto
in: query
required: false
schema:
type: string
example: '500000'
tags:
- Cl
/cl/indicadores:
get:
operationId: get_cl_indicadores
summary: 'Chilean economic indicators: UF, UTM, dolar observado, euro, IPC, monetary…'
description: 'Chilean economic indicators: UF, UTM, dolar observado, euro, IPC, monetary policy rate (TPM), IMACEC, copper price, unemployment rate and IVP — current or for a given date (the UF also for future dates up to the 9th of next month, as it is published in advance). Official Banco Central de Chile and INE data. Use when you need a Chilean economic indicator for today or a past date. Price: $0.005 per call, paid in USDC via x402 (HTTP 402 flow).'
x-price-usd: $0.005
x-payment-protocol: x402
x-example: curl "https://toolrail.dev/cl/indicadores?indicador=uf"
responses:
'200':
description: Resource returned after settled payment
content:
application/json:
schema:
type: object
'400':
description: Invalid request
'402':
description: Payment required — PAYMENT-REQUIRED carries the base64 x402 payment requirements
headers:
PAYMENT-REQUIRED:
schema:
type: string
description: Base64-encoded x402 payment envelope
'429':
description: Rate limit exceeded
'502':
description: Upstream data source unavailable
parameters:
- name: indicador
in: query
required: false
schema:
type: string
example: uf
tags:
- Cl
/cl/uf:
get:
operationId: get_cl_uf
summary: Convert amounts between UF (Unidad de Fomento) and Chilean pesos at any past…
description: 'Convert amounts between UF (Unidad de Fomento) and Chilean pesos at any past date, or a future date up to the 9th of next month (the UF is published in advance: on 11 November, 30 November already works). Essential for Chilean contracts, rents and insurance. Use when an amount is expressed in UF and you need Chilean pesos, or the reverse. Price: $0.005 per call, paid in USDC via x402 (HTTP 402 flow).'
x-price-usd: $0.005
x-payment-protocol: x402
x-example: curl "https://toolrail.dev/cl/uf?monto=50&direccion=uf-clp"
responses:
'200':
description: Resource returned after settled payment
content:
application/json:
schema:
type: object
'400':
description: Invalid request
'402':
description: Payment required — PAYMENT-REQUIRED carries the base64 x402 payment requirements
headers:
PAYMENT-REQUIRED:
schema:
type: string
description: Base64-encoded x402 payment envelope
'429':
description: Rate limit exceeded
'502':
description: Upstream data source unavailable
parameters:
- name: monto
in: query
required: false
schema:
type: string
example: '50'
- name: direccion
in: query
required: false
schema:
type: string
example: uf-clp
tags:
- Cl
/cl/dias-habiles:
get:
operationId: get_cl_dias_habiles
summary: 'Chilean business-day calculator: add N working days to a date respecting…'
description: '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). Price: $0.003 per call, paid in USDC via x402 (HTTP 402 flow).'
x-price-usd: $0.003
x-payment-protocol: x402
x-example: curl "https://toolrail.dev/cl/dias-habiles?desde=2026-08-01&plazo=10"
responses:
'200':
description: Resource returned after settled payment
content:
application/json:
schema:
type: object
'400':
description: Invalid request
'402':
description: Payment required — PAYMENT-REQUIRED carries the base64 x402 payment requirements
headers:
PAYMENT-REQUIRED:
schema:
type: string
description: Base64-encoded x402 payment envelope
'429':
description: Rate limit exceeded
'502':
description: Upstream data source unavailable
parameters:
- name: desde
in: query
required: false
schema:
type: string
example: '2026-08-01'
- name: plazo
in: query
required: false
schema:
type: string
example: '10'
tags:
- Cl
/cl/feriados:
get:
operationId: get_cl_feriados
summary: Official Chilean public holidays for 2026-2027 as structured JSON, including…
description: '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. Price: $0.003 per call, paid in USDC via x402 (HTTP 402 flow).'
x-price-usd: $0.003
x-payment-protocol: x402
x-example: curl "https://toolrail.dev/cl/feriados?ano=2026"
responses:
'200':
description: Resource returned after settled payment
content:
application/json:
schema:
type: object
'400':
description: Invalid request
'402':
description: Payment required — PAYMENT-REQUIRED carries the base64 x402 payment requirements
headers:
PAYMENT-REQUIRED:
schema:
type: string
description: Base64-encoded x402 payment envelope
'429':
description: Rate limit exceeded
'502':
description: Upstream data source unavailable
parameters:
- name: ano
in: query
required: false
schema:
type: string
example: '2026'
tags:
- Cl
/cl/rut:
post:
operationId: post_cl_rut
summary: Validate and format a Chilean RUT (tax ID) including check digit (modulo 11)
description: '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. Price: $0.002 per call, paid in USDC via x402 (HTTP 402 flow).'
x-price-usd: $0.002
x-payment-protocol: x402
x-example: 'curl -X POST https://toolrail.dev/cl/rut -H "Content-Type: application/json" -d ''{"rut":"12.345.678-5"}'''
responses:
'200':
description: Resource returned after settled payment
content:
application/json:
schema:
type: object
'400':
description: Invalid request
'402':
description: Payment required — PAYMENT-REQUIRED carries the base64 x402 payment requirements
headers:
PAYMENT-REQUIRED:
schema:
type: string
description: Base64-encoded x402 payment envelope
'429':
description: Rate limit exceeded
'502':
description: Upstream data source unavailable
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
rut:
type: string
example:
rut: 12.345.678-5
tags:
- Cl
/cl/sueldo-liquido:
post:
operationId: post_cl_sueldo_liquido
summary: 'Chilean net salary calculator: gross to net with AFP, health, unemployment…'
description: '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. Price: $0.01 per call, paid in USDC via x402 (HTTP 402 flow).'
x-price-usd: $0.01
x-payment-protocol: x402
x-example: 'curl -X POST https://toolrail.dev/cl/sueldo-liquido -H "Content-Type: application/json" -d ''{"bruto":1500000,"afp":"modelo"}'''
responses:
'200':
description: Resource returned after settled payment
content:
application/json:
schema:
type: object
'400':
description: Invalid request
'402':
description: Payment required — PAYMENT-REQUIRED carries the base64 x402 payment requirements
headers:
PAYMENT-REQUIRED:
schema:
type: string
description: Base64-encoded x402 payment envelope
'429':
description: Rate limit exceeded
'502':
description: Upstream data source unavailable
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
bruto:
type: integer
afp:
type: string
example:
bruto: 1500000
afp: modelo
tags:
- Cl
/cl/honorarios:
get:
operationId: get_cl_honorarios
summary: 'Chilean boleta de honorarios calculator: gross to net, or the gross to issue…'
description: 'Chilean boleta de honorarios calculator: gross to net, or the gross to issue for a target net, with the withholding rate of each year under Ley 21.133 (15.25% in 2026, 16% in 2027, 17% from 2028), in whole pesos. Use when a Chilean freelancer or company needs the net amount of a fee receipt (boleta de honorarios) or the gross amount to issue. Price: $0.002 per call, paid in USDC via x402 (HTTP 402 flow).'
x-price-usd: $0.002
x-payment-protocol: x402
x-example: curl "https://toolrail.dev/cl/honorarios?monto=1000000&direccion=bruto-a-liquido"
responses:
'200':
description: Resource returned after settled payment
content:
application/json:
schema:
type: object
'400':
description: Invalid request
'402':
description: Payment required — PAYMENT-REQUIRED carries the base64 x402 payment requirements
headers:
PAYMENT-REQUIRED:
schema:
type: string
description: Base64-encoded x402 payment envelope
'429':
description: Rate limit exceeded
'502':
description: Upstream data source unavailable
parameters:
- name: monto
in: query
required: false
schema:
type: string
example: '1000000'
- name: direccion
in: query
required: false
schema:
type: string
example: bruto-a-liquido
tags:
- Cl
/cl/finiquito:
get:
operationId: get_cl_finiquito
summary: Chilean severance settlement (finiquito) under the Código del Trabajo…
description: 'Chilean severance settlement (finiquito) under the Código del Trabajo: years-of-service indemnity (art. 163, 90 UF cap of art. 172 with the official UF, 11-year cap), notice-in-lieu, proportional and pending vacation in calendar days (DT method), obra o faena scale, unemployment-insurance offset (Ley 19.728) and court surcharges (art. 168), each item with its article and tax treatment. Use when an agent or HR app must compute what an employee is owed when a Chilean job ends. Price: $0.03 per call, paid in USDC via x402 (HTTP 402 flow).'
x-price-usd: $0.03
x-payment-protocol: x402
x-example: curl "https://toolrail.dev/cl/finiquito?fecha_inicio=2021-03-01&fecha_termino=2026-11-13&causal=necesidades_empresa&remuneracion=1500000&vacaciones_pendientes=5"
responses:
'200':
description: Resource returned after settled payment
content:
application/json:
schema:
type: object
'400':
description: Invalid request
'402':
description: Payment required — PAYMENT-REQUIRED carries the base64 x402 payment requirements
headers:
PAYMENT-REQUIRED:
schema:
type: string
description: Base64-encoded x402 payment envelope
'429':
description: Rate limit exceeded
'502':
description: Upstream data source unavailable
parameters:
- name: fecha_inicio
in: query
required: false
schema:
type: string
example: '2021-03-01'
- name: fecha_termino
in: query
required: false
schema:
type: string
example: '2026-11-13'
- name: causal
in: query
required: false
schema:
type: string
example: necesidades_empresa
- name: remuneracion
in: query
required: false
schema:
type: string
example: '1500000'
- name: vacaciones_pendientes
in: query
required: false
schema:
type: string
example: '5'
tags:
- Cl
/cl/costo-empleador:
get:
operationId: get_cl_costo_empleador
summary: 'Monthly cost of an employee for a Chilean employer: taxable pay with legal…'
description: 'Monthly cost of an employee for a Chilean employer: taxable pay with legal gratificación (art. 50, 4.75 minimum-wage cap) and overtime (art. 32, 42-hour week), plus every employer contribution with its UF ceiling: Ley 21.735 (3.5% from Aug-2026, SIS included), unemployment insurance, Ley 16.744 accident insurance, SANNA and the domestic-worker indemnity, each with its law. Use when an agent, payroll or hiring tool must price a Chilean hire or a salary offer. Price: $0.02 per call, paid in USDC via x402 (HTTP 402 flow).'
x-price-usd: $0.02
x-payment-protocol: x402
x-example: curl "https://toolrail.dev/cl/costo-empleador?sueldo_base=800000&contrato=indefinido&horas_extra=4&colacion=50000"
responses:
'200':
description: Resource returned after settled payment
content:
application/json:
schema:
type: object
'400':
description: Invalid request
'402':
description: Payment required — PAYMENT-REQUIRED carries the base64 x402 payment requirements
headers:
PAYMENT-REQUIRED:
schema:
type: string
description: Base64-encoded x402 payment envelope
'429':
description: Rate limit exceeded
'502':
description: Upstream data source unavailable
parameters:
- name: sueldo_base
in: query
required: false
schema:
type: string
example: '800000'
- name: contrato
in: query
required: false
schema:
type: string
example: indefinido
- name: horas_extra
in: query
required: false
schema:
type: string
example: '4'
- name: colacion
in: query
required: false
schema:
type: string
example: '50000'
tags:
- Cl
/cl/tasa-maxima:
get:
operationId: get_cl_tasa_maxima
summary: Chile's official interés corriente and interés máximo convencional (CMF…
description: 'Chile''s official interés corriente and interés máximo convencional (CMF certificate under Ley 18.010) in force on a date since mid-2019: every operation type with both rates, how each is expressed (linear or compound, base 360), the codes the laws refer to, the validity window and the official PDF. Use when an agent must check a loan''s legal interest cap, a usury limit or the interest rate a Chilean law refers to. Price: $0.01 per call, paid in USDC via x402 (HTTP 402 flow).'
x-price-usd: $0.01
x-payment-protocol: x402
x-example: curl "https://toolrail.dev/cl/tasa-maxima?fecha=2026-11-15"
responses:
'200':
description: Resource returned after settled payment
content:
application/json:
schema:
type: object
'400':
description: Invalid request
'402':
description: Payment required — PAYMENT-REQUIRED carries the base64 x402 payment requirements
headers:
PAYMENT-REQUIRED:
schema:
type: string
description: Base64-encoded x402 payment envelope
'429':
description: Rate limit exceeded
'502':
description: Upstream data source unavailable
parameters:
- name: fecha
in: query
required: false
schema:
type: string
example: '2026-11-15'
tags:
- Cl
/cl/deuda:
get:
operationId: get_cl_deuda
summary: Update a Chilean debt between two dates with the official rates in force each…
description: 'Update a Chilean debt between two dates with the official rates in force each day: labour debts per Código del Trabajo arts. 63 and 173 (IPC adjustment plus the maximum interest for indexed operations), or interest at the CMF''s corriente or máximo convencional rate. Returns adjustment, interest by validity period, total and the certificates used. Use when an agent, lawyer, accountant or payroll app must compute what is owed on a late payment, severance or debt in Chile. Price: $0.03 per call, paid in USDC via x402 (HTTP 402 flow).'
x-price-usd: $0.03
x-payment-protocol: x402
x-example: curl "https://toolrail.dev/cl/deuda?monto=1000000&desde=2025-11-30&hasta=2026-11-13&modo=laboral"
responses:
'200':
description: Resource returned after settled payment
content:
application/json:
schema:
type: object
'400':
description: Invalid request
'402':
description: Payment required — PAYMENT-REQUIRED carries the base64 x402 payment requirements
headers:
PAYMENT-REQUIRED:
schema:
type: string
description: Base64-encoded x402 payment envelope
'429':
description: Rate limit exceeded
'502':
description: Upstream data source unavailable
parameters:
- name: monto
in: query
required: false
schema:
type: string
example: '1000000'
- name: desde
in: query
required: false
schema:
type: string
example: '2025-11-30'
- name: hasta
in: query
required: false
schema:
type: string
example: '2026-11-13'
- name: modo
in: query
required: false
schema:
type: string
example: laboral
tags:
- Cl