Adjust an amount in pesos for inflation
adjust_for_inflationBring an amount in Argentine pesos from one month to another using an official index: "ipc" (default) composes INDEC's monthly inflation month by month, the way contracts indexed "por IPC" are updated; "cer" and "uva" divide the BCRA index of one month by the other (the way inflation-adjusted loans and deposits work). Use it for "how much is X pesos from worth today", "what would a rent of X from be now" or "how much was today's X worth back in " (pass a "from" later than "to"). Only "ipc" can go past the last published month: up to 12 months ahead are completed with El Tablero's projection of monthly inflation, and the response says exactly which months are published and which are projected, with 80% and 95% ranges for the adjusted amount. Read-only, no side effects, no authentication. Rate limited to 60 calls per minute per IP. Data updates at most once per business day.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | Target month, YYYY-MM. Defaults to the last published month of the index. Earlier than from inverts the adjustment. | |
| from | Yes | Month of the amount, YYYY-MM. | |
| index | No | "ipc" (default), "cer" or "uva". | |
| amount | Yes | Amount in pesos at the month given in from. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | YYYY-MM | |
| key | Yes | ||
| url | Yes | ||
| from | Yes | YYYY-MM | |
| note | Yes | ||
| bands | No | Only when some months are projected | |
| index | Yes | ||
| steps | No | IPC only: the monthly inflation composed, month by month | |
| amount | Yes | ||
| factor | Yes | ||
| source | Yes | ||
| change_pct | Yes | Cumulative change of the index between from and to | |
| disclaimer | No | ||
| index_name | Yes | ||
| attribution | Yes | ||
| index_values | No | CER and UVA only: the index values used | |
| adjusted_amount | Yes | ||
| projected_months | Yes | ||
| published_through | Yes | Last month of the index that is published; later months are projected |