Indicadores

Série diária da meta da taxa Selic, definida pelo Copom, em % ao ano.

Endpoint descontinuado. Use as séries macroeconômicas com symbols=selic.

Sem filtros, devolve os últimos 12 meses. Filtre com start e end no formato DD/MM/YYYY. A meta só muda nas reuniões do Copom, então a série repete o mesmo valor entre uma reunião e outra.

Planos Startup e Pro.

get/api/v2/prime-rate

Request

  • Base URL
    https://brapi.dev
  • URL
    https://brapi.dev/api/v2/prime-rate
  • Auth
    HTTP bearer

Query parameters

historicalstring

true devolve a série desde 01/01/2000. Sem datas e sem este parâmetro, devolve os últimos 12 meses.

Example:false
startstring

Data inicial no formato DD/MM/YYYY.

Example:01/01/2023
endstring

Data final no formato DD/MM/YYYY. Padrão: hoje.

Example:31/12/2023
sortBystring

Campo de ordenação: date ou value. Padrão: date.

Example:date
sortOrderstring

Ordem: asc ou desc. Padrão: desc.

Example:desc

Response

Meta da Selic, um ponto por dia, em % ao ano.

requestedAtstring date-time required

Data e hora da requisição em ISO 8601.

tookinteger required

Tempo de processamento, em milissegundos.

Example response

{
  "prime-rate": [
    {
      "date": "08/02/2026",
      "value": "15.00",
      "epochDate": 1770519600000
    },
    {
      "date": "07/02/2026",
      "value": "15.00",
      "epochDate": 1770433200000
    },
    {
      "date": "06/02/2026",
      "value": "15.00",
      "epochDate": 1770346800000
    }
  ],
  "requestedAt": "2026-02-08T16:26:28.456Z",
  "took": 92
}

Changes

    • breaking

      for the query request parameter historical, default value false was removed

    • breaking

      for the query request parameter sortBy, default value date was removed

    • breaking

      for the query request parameter sortOrder, default value desc was removed

    • breaking

      removed the enum value asc from the query request parameter sortOrder

    • breaking

      removed the enum value date from the query request parameter sortBy

    • breaking

      removed the enum value desc from the query request parameter sortOrder

    • breaking

      removed the enum value value from the query request parameter sortBy

    • breaking

      the response's body type changed from object to no type for status

    • breaking

      the // response's property type changed from integer to number, and format from int64 to no format for status

    • breaking

      removed the required property from the response with the status

    • breaking

      removed the required property from the response with the status

    • warning

      deleted the query request parameter country

    • warning

      deleted the query request parameter token

    • 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 Indicadores added

    • info

      api tag Taxa de Juros removed

    • info

      for the query request parameter end, the format was generalized from date to no format

    • info

      for the query request parameter historical, the type was generalized from boolean to string

    • info

      for the query request parameter start, the format was generalized from date to no format

    • info

      added subschema #2 to the response body allOf list for the response status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • 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

      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

    • info

      added the required property to the response with the status