json_serie-sgs-22906

URL: http://api.bcb.gov.br/dados/serie/bcdata.sgs.22906/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:

There are no views created for this resource yet.

Additional Information

Field Value
Last updated July 31, 2017
Created July 31, 2017
Format JSON
License Open Data Commons Open Database License (ODbL)
createdover 4 years ago
formatJSON
id4e91a02a-149f-4133-9247-6174064e8488
package id22906-portfolio-investment---net-acquisition-of-financial-assets---monthly---net
revision id7e345d7e-9afd-4dfd-8845-7393d46be9b1
stateactive