Actions24
- FIPE – Preço
- CEP (v1)
- CEP (v2)
- DDD → UF & cidades
- Banco por Código
- Câmbio – Cotação
- CNPJ
- Corretora por CNPJ
- Registro.br – Domínio
- Taxa por Sigla
- Feriados por Ano
- FIPE – Marcas
- FIPE – Veículos por Marca
- IBGE – UF por Código
- IBGE – Municípios
- NCM – Lista
- NCM por Código
- ISBN
- CPTEC – Buscar Cidade
- CPTEC – Clima Aeroporto
- CPTEC – Previsão 1 dia
- CPTEC – Previsão N dias
- CPTEC – Ondas 1 dia
- CPTEC – Ondas N dias
Overview
This node integrates with BrasilAPI, a public API providing various Brazilian data endpoints. Specifically, the "Taxa por Sigla" operation fetches financial rate information based on a given abbreviation (sigla). This is useful for workflows that need up-to-date financial indicators such as interest rates or indexes identified by their standard abbreviations.
Practical examples include:
- Automatically retrieving the current CDI rate to calculate investment returns.
- Fetching SELIC or other official rates for financial reports or alerts.
- Integrating financial rate data into accounting or ERP systems.
Properties
| Name | Meaning |
|---|---|
| Sigla Taxa | The abbreviation of the financial rate to retrieve. Common values include "CDI", "SELIC", etc. |
Output
The output JSON contains the data returned by BrasilAPI for the specified financial rate abbreviation. This typically includes fields such as the rate value, date, and possibly metadata describing the rate.
Example output structure (simplified):
{
"sigla": "CDI",
"nome": "Certificado de Depósito Interbancário",
"valor": 13.15,
"data": "2023-06-30"
}
No binary data is produced by this node.
Dependencies
- Requires internet access to call the BrasilAPI public endpoints.
- No authentication or API keys are needed since BrasilAPI is publicly accessible.
- Uses HTTP GET requests with a timeout of 10 seconds per request.
Troubleshooting
- Timeouts: If the API does not respond within 10 seconds, the request will fail. Check network connectivity or BrasilAPI service status.
- Unsupported Operation Error: Occurs if an invalid operation name is set. Ensure the operation is exactly "taxaBySigla".
- Invalid Sigla: If the provided abbreviation does not exist in BrasilAPI, the response may be an error or empty. Verify the sigla spelling and availability.
- API Changes: Since this relies on an external public API, changes or downtime in BrasilAPI can affect node functionality.
Links and References
- BrasilAPI Documentation: https://brasilapi.com.br/
- BrasilAPI Taxas Endpoint: https://brasilapi.com.br/docs#tag/Taxas