Câmbio

Listar pares de moedas

Changed on

Lista os pares de moedas que a cotação de câmbio aceita, no formato ORIGEM-DESTINO, com o nome de cada par.

Use para montar seletores de moeda e validar pares antes da chamada.

Filtre com search. Planos Startup e Pro.

get/api/v2/currency/available

Request

  • Base URL
    https://brapi.dev
  • URL
    https://brapi.dev/api/v2/currency/available
  • Auth
    HTTP bearer

Query parameters

searchstring

Texto buscado no par e no nome das moedas.

Example:USD

Response

Lista de pares de moedas disponíveis retornada com sucesso.

Example response

{
  "currencies": [
    {
      "name": "USD-BRL",
      "currency": "Dólar Americano/Real Brasileiro"
    },
    {
      "name": "USD-BRLT",
      "currency": "Dólar Americano/Real Brasileiro Turismo"
    },
    {
      "name": "CAD-BRL",
      "currency": "Dólar Canadense/Real Brasileiro"
    },
    {
      "name": "EUR-BRL",
      "currency": "Euro/Real Brasileiro"
    },
    {
      "name": "GBP-BRL",
      "currency": "Libra Esterlina/Real Brasileiro"
    },
    {
      "name": "JPY-BRL",
      "currency": "Iene Japonês/Real Brasileiro"
    }
  ]
}

Changes

    • warning

      deleted the query request parameter token

    • info

      api operation id getAvailableCurrencies removed and replaced with getCurrencyAvailable

    • info

      the endpoint scheme security Bearer was added to the API

    • info

      the endpoint scheme security BearerAuth was removed from the API

    • info

      api tag Câmbio added

    • info

      api tag Moedas removed

    • info

      removed the non-success response with the status

    • info

      removed the non-success response with the status

    • info

      the response property became required for the status

    • info

      the response property // became required for the status

    • info

      added the required property // to the response with the status