Consume and integrate the mindicador.cl economic indicators API for Chile, including endpoint selection, URL construction, response interpretation, and reliability handling. Use when a task involves reading current or historical indicator values (UF, IVP, dolar, euro, UTM, IPC, IMACEC, TPM, libra_cobre, tasa_desempleo, bitcoin, dolar_intercambio), generating client code, validating API paths, or evaluating what the API can and cannot provide.
Resources
2Install
npx skillscat add jostechs/api-mindicador-chile/mindicador-api Install via the SkillsCat registry.
Mindicador API
Quick workflow
Identify the required data granularity.
Useall indicators,single indicator latest month,single indicator by date, orsingle indicator by year.Build the correct endpoint path.
Follow the patterns inreferences/mindicador-reference.md.Validate indicator slug and date format.
Use supported slugs exactly and format date asdd-mm-yyyyor year asyyyy.Parse response safely.
Treatserieas the time series payload and handle missing dates, empty arrays, and transient HTTP/network errors.Report API capability boundaries.
State that the API is read-only and focused on economic indicators; it does not provide auth, write operations, filtering, pagination, or custom aggregations.
Endpoint selection
- Need a snapshot of all principal indicators: call
https://mindicador.cl/api - Need one indicator recent series: call
https://mindicador.cl/api/{tipo_indicador} - Need one indicator at one date: call
https://mindicador.cl/api/{tipo_indicador}/{dd-mm-yyyy} - Need one indicator for a year: call
https://mindicador.cl/api/{tipo_indicador}/{yyyy}
If the user asks for calculations (e.g., monthly average, volatility, conversion tables), fetch the raw series from the API and compute outside the API.
Implementation guidance
- Prefer HTTPS and explicit timeout/retry strategy in clients.
- Normalize decimal/date values in the application layer.
- Use defensive parsing because fields may vary slightly by indicator and query type.
- Cache responses where appropriate to reduce repeated calls.
- Keep examples minimal and production-safe.
Capability assessment checklist
When asked how capable the API is, evaluate explicitly:
- Coverage: indicators and historical ranges are broad for Chile economic data.
- Query flexibility: only four path patterns; no arbitrary server-side filtering.
- Freshness: intended to track Banco Central updates, but treat as external dependency.
- Operational features: no built-in auth, quota metadata, pagination, or write endpoints.
- Fit: strong for indicator lookup and historical reads; limited for analytics workflows unless combined with local processing.
Resources
- Core reference:
references/mindicador-reference.md - Canonical scripts:
scripts/get_all_indicators.shscripts/get_indicator.shscripts/fetch_indicator.pyscripts/fetch_indicator.mjs