csv_serie-sgs-20886
URL: http://api.bcb.gov.br/dados/serie/bcdata.sgs.20886/dados?formato=csv
CSV intaface 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=csv&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=csv
Some URL samples:
Additional Information
| Field | Value |
|---|---|
| Metadata last updated | July 31, 2017 |
| Created | July 31, 2017 |
| Format | CSV |
| License | Open Data Commons Open Database License (ODbL) |
| Datastore active | False |
| Has views | True |
| Id | a7b032fb-59a1-40c9-9c12-3234f02cf80b |
| Package id | 6ebf2e6f-8c28-45c2-8986-26c1d3269060 |
| Position | 1 |
| State | active |