Actions12
- CPF/CNPJ Actions
- Indicators Actions
- Issue NFe Actions
Indicators → CDI
AI-generatedSummary
Retrieve the latest CDI (Certificado de Depósito Interbancário) interbank interest rate from the Brazilian Central Bank's API or a fallback source.
Inputs
None.
Output shape
a single JSON object with the CDI indicator name, value as a float percentage per year, the date of the rate, its source, and a descriptive note.
The returned data includes fields: indicator (string, "CDI"), value (number, percent per year), date (string, date of the rate), source (string, data provider), and note (string, explanatory). If the primary API request fails, the operation returns a fallback estimated rate with the current date.
Examples
Example 1: Fetch current CDI rate for use in financial calculations
Select resource 'Indicators' and operation 'CDI' with no additional parameters.