Skip to main content
POST
Ptax currency

Request contract

  • Method and path: POST /apis/v1/bcb-gov-br/economic-data/ptax-currency
  • Availability: enabled
  • Request URL template: https://api.aisa.one/apis/v1/bcb-gov-br/economic-data/ptax-currency
Complete OpenAPI definition Effective request declaration (including authentication and referenced schemas):

Cost and request rules

Usage-based pricing. Default request estimate: $0.0005 USD. The final charge depends on actual usage. Your account price may differ; use a request quote where supported.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
date
string
required

One quotation date, YYYY-MM-DD. Mutually exclusive with the range. Pattern: ^[0-9]{4}-[0-9]{2}-[0-9]{2}$.

moeda
string
required

Currency symbol from ptax_currencies, e.g. EUR. Pattern: ^[A-Za-z]{3}$.

end_date
string

Range end (inclusive), YYYY-MM-DD. Pattern: ^[0-9]{4}-[0-9]{2}-[0-9]{2}$.

skip
number
default:0

skip

Provider reference: minimum 0; default 0.

start_date
string

Range start (inclusive), YYYY-MM-DD. Pattern: ^[0-9]{4}-[0-9]{2}-[0-9]{2}$.

top
number
default:100

top

Provider reference: minimum 1; maximum 1000; default 100.

Response

PTAX bulletins for one non-BRL currency from the Olinda PTAX service: every bulletin of one date (CotacaoMoedaDia: opening, intermediates, closing) or of a start_date..end_date range (CotacaoMoedaPeriodo), paged with top/skip. Each row carries the parity against USD (paridade_*), the BRL rate (cotacao_*), the timestamp and the bulletin type (tipo_boletim: Abertura, Intermediário, Fechamento PTAX, ...). An empty quotes list on a weekend or holiday is legitimate; a symbol that is not in ptax_currencies is not_found.

The response contains the tool result directly.

The provider identifies quotes as the primary payload key.

These are the provider's documented fields. Field requiredness, nullability and nested object structures are specified only where the descriptions explicitly say so.