# Banco Central do Brasil open data · Pix statistics

Get market and financial data with Banco Central do Brasil open data · Pix statistics from Alexandria through one Spiral API key. PIX volumes by municipality or segment, registered keys, DICT users. It runs in the background and returns structured JSON. Pay as you go, with no subscription.

- Provider: Alexandria
- Category: Finance
- Runs: In the background
- Returns: json
- Tool id: `alexandria` / `bcb-gov-br/economic-data/pix_statistics`
- Page: https://spiral.ai/tools/alexandria/bcb-gov-br/economic-data/pix_statistics

## Pricing

$0.00873 per call.

## Limits

- Longest queue wait: 1 hour
- Run deadline: 5 minutes
- Longest run, end to end: 225 minutes
- Largest inline input: 1 MB
- Largest input file: 2 GB
- Largest output: 5 GB

## Input

| Field | Kind | Allowed | Default | Description |
| --- | --- | --- | --- | --- |
| `dataset` (required) | one of | transacoes_por_municipio, estatisticas_transacoes, chaves, usuarios_dict | — | dataset |
| `top` | number | 1 to 1000 | 100 | Page size. |
| `data` | text |  | — | Month-end date YYYY-MM-DD for `chaves` (e.g. 2026-08-31). Pattern: ^[0-9]{4}-[0-9]{2}-[0-9]{2}$. |
| `skip` | number | 0 to … | 0 | Must be 0: Pix_DadosAbertos rejects $skip on the server. Kept for symmetry with the other Olinda functions. |
| `estado` | text |  | — | `transacoes_por_municipio`: exact state name as served, upper case, e.g. SÃO PAULO. |
| `ano_mes` | text |  | — | Month yyyyMM, e.g. 202507. Required by `transacoes_por_municipio` and `estatisticas_transacoes`. Pattern: ^[0-9]{6}$. |
| `municipio_ibge` | number | 1 to … | — | `transacoes_por_municipio`: IBGE municipality code, e.g. 3550308. |

## Example

```bash
curl https://api.spiral.ai/v1/runs \
  -H "Authorization: Bearer $SPIRAL_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
    "provider": "alexandria",
    "model": "bcb-gov-br/economic-data/pix_statistics",
    "input": {
      "dataset": "transacoes_por_municipio"
    }
  }'
```

Try it in the Playground: https://spiral.ai/start?provider=alexandria&model=bcb-gov-br%2Feconomic-data%2Fpix_statistics

## Common questions

### Banco Central do Brasil open data · Pix statistics

**How much does Banco Central do Brasil open data · Pix statistics cost?**

$0.00873 per call. You pay as you go from one Spiral balance, with no subscription, and a failed run is not charged.

**How do I use Banco Central do Brasil open data · Pix statistics through an API?**

Send `POST /v1/runs` with `"provider": "alexandria"`, `"model": "bcb-gov-br/economic-data/pix_statistics"` and the input fields on this page, using one Spiral API key. It runs in the background: poll the run, or name a webhook to be told when it finishes.

**Do I need an account with Alexandria to use Banco Central do Brasil open data · Pix statistics?**

No. Spiral runs it on its own Alexandria account and charges your Spiral balance.

**Can my AI agent use Banco Central do Brasil open data · Pix statistics?**

Yes. Agents find and run it through Spiral's MCP server, CLI or agent skill, with the same API key.

