json_serie-sgs-21141
URL: http://api.bcb.gov.br/dados/serie/bcdata.sgs.21141/dados?formato=json
Json interface of BCData/SGS service.
To access the service it is necessary to use the default address and inform the following parameters:
Default address:http://api.bcb.gov.br/dados/serie/bcdata.sgs.{codigo_serie}/dados?formato=json&dataInicial={dataInicial}&dataFinal={dataFinal}
Parameters:
-
codigo_Serie (required): numeric parameter representing the SGS code of the series.
-
dataInicial (optional): textual parameter representing the start date of the query (dd/mm/yyyy).
-
dataFinal (optional): textual parameter representing the end date of the query (dd/mm/yyyy).
This service also allows to retrieve the last N values of a given series:
http://api.bcb.gov.br/dados/serie/bcdata.sgs.{codigo_serie}/dados/ultimos/{N}?formato=json
Some URL samples:
Ainda não há vistas criadas para este recurso.
Informação adicional
| Campo | Valor |
|---|---|
| Metadata last updated | 26 de março de 2026 |
| Data de criação | 31 de julho de 2017 |
| Formato | JSON |
| Licença | Open Data Commons Open Database License (ODbL) |
| Datastore active | False |
| Has views | False |
| Id | f8e2d10e-4791-4b8e-bac5-735879f44751 |
| Package id | ae80c15e-fe17-4610-bd57-3425f190a044 |
| Position | 0 |
| State | active |