indextek API

Economic indexes behind one stable contract. Ask by code, get a coefficient between two dates, and multiply your amount by it. The full contract is at /openapi.json.

Indexes

CodeNameTypeFrequency
ICLÍndice para Contratos de Locaciónindexdaily
UVAUnidad de Valor Adquisitivoindexdaily
UVIUnidad de Viviendaindexdaily
INFLATIONInflación mensualmonthlyRatemonthly
USD_RETAILDólar minorista (promedio vendedor)indexdaily
USD_WHOLESALEDólar mayorista de referenciaindexdaily

GET /api/v1/indexes returns this list with each index's last published date. Always read the list from there instead of copying it.

One period

GET /api/v1/indexes/ICL/coefficient?from=2026-01-01&to=2026-04-01

{ "from": "2026-01-01", "to": "2026-04-01",
  "coefficient": 1.08123456, "rate": 0.08123456,
  "status": "actual", "interpolated": false }

Many periods, for tables of rent

Build your periods and send them in one call. For rent periods, to is the start of the next period. A period with no data has status: "no_data" and doesn't fail the others.

POST /api/v1/indexes/ICL/coefficients
{ "periods": [{ "from": "2026-01-01", "to": "2026-04-01" },
              { "from": "2026-04-01", "to": "2026-07-01" }],
  "estimate": true }

Values as published

GET /api/v1/indexes/ICL/values?from=2026-01-01&to=2026-01-31

The rules

Errors

Errors use real HTTP codes and one format: { "error": { "code", "message", "field" } }.

CodeHTTP
invalid_request, invalid_range400
unknown_index404
no_data422
rate_limited429
source_unavailable503

Access

Open, with a limit per IP. Services that send many users from one IP can use an X-Api-Key header for a higher limit. Browsers can only call it from allowed sites.