Skip to content
GET /v1/series

Any SGS time series by code

Try it live

10 free calls per day — no sign-up, no API key. Goes through the oanor gateway.

Custom headers (optional)
api.oanor.com/bcb-api

It works. Grab an API key and use it in your project.

Get an API key

Code snippets

curl "https://api.oanor.com/bcb-api/v1/series" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/bcb-api/v1/series", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/bcb-api/v1/series");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
    "https://api.oanor.com/bcb-api/v1/series",
    headers={"x-oanor-key": "oanor_test_..."}
)

Example response

A real response from this endpoint, captured by the latest health check.

{
    "data": {
        "count": 6,
        "latest": {
            "date": "2026-04-01",
            "value": 0.67
        },
        "source": "Banco Central do Brasil — SGS",
        "sgs_code": 433,
        "observations": [
            {
                "date": "2025-11-01",
                "value": 0.18
            },
            {
                "date": "2025-12-01",
                "value": 0.33
            },
            {
                "date": "2026-01-01",
                "value": 0.33
            },
            {
                "date": "2026-02-01",
                "value": 0.7
            },
            {
                "date": "2026-03-01",
                "value": 0.88
            },
            {
                "date": "2026-04-01",
                "value": 0.67
            }
        ]
    },
    "meta": {
        "timestamp": "2026-06-09T11:38:32.453Z",
        "request_id": "261fce0a-f494-43e0-b85b-fc3b0018952b"
    },
    "status": "ok",
    "message": "Series retrieved successfully",
    "success": true
}