cambio_dolar
Retrieve the official PTAX USD/BRL exchange rate from Brazil's Central Bank. Use it for tax conversions and contracts; weekends and holidays return the last business day.
Instructions
Retorna a cotação PTAX oficial do dólar americano (USD/BRL).
Fonte: Banco Central do Brasil (API Olinda/PTAX). PTAX é a taxa de câmbio de referência oficial para contratos e conversões tributárias. Em fins de semana e feriados, retorna o último dia útil.
Returns: Dicionário com: fonte, moeda_origem (USD), moeda_destino (BRL), compra, venda, data_hora_cotacao, data_consulta, cache_hit.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||