1. Primary data sources
| Source | Coverage | Update Frequency |
|---|---|---|
| ExchangeRate-API.com | USD base pairs for MXN, BRL, ARS, COP, CLP, PEN | Daily API calls with 1-hour browser caching |
| Historical JSON data | Daily closing rates from 2021 to present | Static file updated via fetch-exchange-rates.mjs script |
| Latinometrics Articles JSON | Enhanced tagged list of published articles (confirmed only) | Static file generated from consolidated source via generate-articles-json.mjs |
| Browser localStorage cache | Live rates cached for 1 hour, historical data for 24 hours | Automatic caching with fallback to mock data |
2. Data update schedule
| Currency Pair | API Availability | Update Method |
|---|---|---|
| USD/MXN | 24/7 | Daily API call with 1-hour browser cache |
| USD/BRL | 24/7 | Daily API call with 1-hour browser cache |
| USD/ARS | 24/7 | Daily API call with 1-hour browser cache |
| USD/COP | 24/7 | Daily API call with 1-hour browser cache |
| USD/CLP | 24/7 | Daily API call with 1-hour browser cache |
| USD/PEN | 24/7 | Daily API call with 1-hour browser cache |
3. Data quality and reliability
All exchange rates are validated for format and completeness before being displayed. The system includes comprehensive error handling with automatic fallback to cached data when API calls fail.
Historical data is processed to calculate accurate percentage changes over different time periods, ensuring reliable trend analysis for users.
4. Data transparency and usage
- All displayed rates are sourced from ExchangeRate-API.com and represent real-time market values.
- Update timestamps are displayed to show data freshness, with automatic fallback to cached data when needed.
- Historical data is available for trend analysis and chart visualization.
- For commercial data usage, contact data@latinometrics.com for licensing information.
Data questions?
Write to data-quality@latinometrics.com if something looks off. Include the currency pair, time observed, and what you expected to see.