curl --request POST \
--url https://api.aisa.one/apis/v1/bcb-gov-br/economic-data/pix-statistics \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"dataset": "transacoes_por_municipio"
}
'import requests
url = "https://api.aisa.one/apis/v1/bcb-gov-br/economic-data/pix-statistics"
payload = { "dataset": "transacoes_por_municipio" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({dataset: 'transacoes_por_municipio'})
};
fetch('https://api.aisa.one/apis/v1/bcb-gov-br/economic-data/pix-statistics', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.aisa.one/apis/v1/bcb-gov-br/economic-data/pix-statistics",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'dataset' => 'transacoes_por_municipio'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.aisa.one/apis/v1/bcb-gov-br/economic-data/pix-statistics"
payload := strings.NewReader("{\n \"dataset\": \"transacoes_por_municipio\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.aisa.one/apis/v1/bcb-gov-br/economic-data/pix-statistics")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"dataset\": \"transacoes_por_municipio\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/bcb-gov-br/economic-data/pix-statistics")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"dataset\": \"transacoes_por_municipio\"\n}"
response = http.request(request)
puts response.read_body{
"count": 1,
"entity": "TransacoesPixPorMunicipio",
"next_skip": null,
"observed_at_ms": 1790048493056,
"rows": [
{
"AnoMes": 202507,
"Estado": "SÃO PAULO",
"Estado_Ibge": 35,
"Municipio": "SÃO PAULO",
"Municipio_Ibge": 3550308,
"QT_PES_PagadorPF": 9343896,
"QT_PES_PagadorPJ": 1076202,
"QT_PES_RecebedorPF": 9183716,
"QT_PES_RecebedorPJ": 995818,
"QT_PagadorPF": 303386198,
"QT_PagadorPJ": 194758728,
"QT_RecebedorPF": 182931874,
"QT_RecebedorPJ": 843231874,
"Regiao": "SUDESTE",
"Sigla_Regiao": "SE",
"VL_PagadorPF": 79084373380.65,
"VL_PagadorPJ": 385878773282.29,
"VL_RecebedorPF": 83709839045.21,
"VL_RecebedorPJ": 370858515479.84
}
],
"servico": "Pix_DadosAbertos",
"skip": 0,
"top": 100,
"url": "https://olinda.bcb.gov.br/olinda/servico/Pix_DadosAbertos/versao/v1/odata/TransacoesPixPorMunicipio(DataBase=@DataBase)?@DataBase=%27202507%27&$filter=AnoMes%20eq%20202507%20and%20Municipio_Ibge%20eq%203550308&$top=100&$format=json"
}Pix statistics
PIX volumes by municipality or segment, registered keys, DICT users.
curl --request POST \
--url https://api.aisa.one/apis/v1/bcb-gov-br/economic-data/pix-statistics \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"dataset": "transacoes_por_municipio"
}
'import requests
url = "https://api.aisa.one/apis/v1/bcb-gov-br/economic-data/pix-statistics"
payload = { "dataset": "transacoes_por_municipio" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({dataset: 'transacoes_por_municipio'})
};
fetch('https://api.aisa.one/apis/v1/bcb-gov-br/economic-data/pix-statistics', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.aisa.one/apis/v1/bcb-gov-br/economic-data/pix-statistics",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'dataset' => 'transacoes_por_municipio'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.aisa.one/apis/v1/bcb-gov-br/economic-data/pix-statistics"
payload := strings.NewReader("{\n \"dataset\": \"transacoes_por_municipio\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.aisa.one/apis/v1/bcb-gov-br/economic-data/pix-statistics")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"dataset\": \"transacoes_por_municipio\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/bcb-gov-br/economic-data/pix-statistics")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"dataset\": \"transacoes_por_municipio\"\n}"
response = http.request(request)
puts response.read_body{
"count": 1,
"entity": "TransacoesPixPorMunicipio",
"next_skip": null,
"observed_at_ms": 1790048493056,
"rows": [
{
"AnoMes": 202507,
"Estado": "SÃO PAULO",
"Estado_Ibge": 35,
"Municipio": "SÃO PAULO",
"Municipio_Ibge": 3550308,
"QT_PES_PagadorPF": 9343896,
"QT_PES_PagadorPJ": 1076202,
"QT_PES_RecebedorPF": 9183716,
"QT_PES_RecebedorPJ": 995818,
"QT_PagadorPF": 303386198,
"QT_PagadorPJ": 194758728,
"QT_RecebedorPF": 182931874,
"QT_RecebedorPJ": 843231874,
"Regiao": "SUDESTE",
"Sigla_Regiao": "SE",
"VL_PagadorPF": 79084373380.65,
"VL_PagadorPJ": 385878773282.29,
"VL_RecebedorPF": 83709839045.21,
"VL_RecebedorPJ": 370858515479.84
}
],
"servico": "Pix_DadosAbertos",
"skip": 0,
"top": 100,
"url": "https://olinda.bcb.gov.br/olinda/servico/Pix_DadosAbertos/versao/v1/odata/TransacoesPixPorMunicipio(DataBase=@DataBase)?@DataBase=%27202507%27&$filter=AnoMes%20eq%20202507%20and%20Municipio_Ibge%20eq%203550308&$top=100&$format=json"
}Request contract
- Method and path: POST /apis/v1/bcb-gov-br/economic-data/pix-statistics
- Availability: enabled
- Request URL template:
https://api.aisa.one/apis/v1/bcb-gov-br/economic-data/pix-statistics
{
"operationId": "bcb-gov-br.economic-data.pix-statistics",
"method": "POST",
"path": "/apis/v1/bcb-gov-br/economic-data/pix-statistics",
"servers": [
{
"url": "https://api.aisa.one"
}
],
"parameters": [],
"security": [
{
"bearerAuth": []
}
],
"requestBody": {
"content": {
"application/json": {
"examples": {
"provider": {
"summary": "Official provider example; checked against AIsa request constraints",
"value": {
"ano_mes": "202507",
"dataset": "transacoes_por_municipio",
"municipio_ibge": 3550308
}
}
},
"schema": {
"additionalProperties": true,
"properties": {
"ano_mes": {
"description": "Month yyyyMM, e.g. 202507. Required by `transacoes_por_municipio` and `estatisticas_transacoes`. Pattern: ^[0-9]{6}$.",
"type": "string",
"x-alexandria-option-metadata": {
"in": "body"
}
},
"data": {
"description": "Month-end date YYYY-MM-DD for `chaves` (e.g. 2026-08-31). Pattern: ^[0-9]{4}-[0-9]{2}-[0-9]{2}$.",
"type": "string",
"x-alexandria-option-metadata": {
"in": "body"
}
},
"dataset": {
"description": "dataset\n\nProvider reference: allowed values [\"transacoes_por_municipio\", \"estatisticas_transacoes\", \"chaves\", \"usuarios_dict\"].",
"type": "string"
},
"estado": {
"description": "`transacoes_por_municipio`: exact state name as served, upper case, e.g. SÃO PAULO.",
"type": "string",
"x-alexandria-option-metadata": {
"in": "body"
}
},
"municipio_ibge": {
"description": "`transacoes_por_municipio`: IBGE municipality code, e.g. 3550308.\n\nProvider reference: minimum 1.",
"type": "number",
"x-alexandria-option-metadata": {
"in": "body",
"min": 1
}
},
"skip": {
"default": 0,
"description": "Must be 0: Pix_DadosAbertos rejects $skip on the server. Kept for symmetry with the other Olinda functions.\n\nProvider reference: minimum 0; default 0.",
"type": "number",
"x-alexandria-option-metadata": {
"in": "body",
"min": 0
}
},
"top": {
"default": 100,
"description": "Page size.\n\nProvider reference: minimum 1; maximum 1000; default 100.",
"type": "number",
"x-alexandria-option-metadata": {
"in": "body",
"max": 1000,
"min": 1
}
}
},
"required": [
"dataset"
],
"type": "object"
}
}
},
"required": true
},
"x-aisa-status": "enabled",
"components": {
"securitySchemes": {
"bearerAuth": {
"scheme": "bearer",
"type": "http"
}
}
}
}
Cost and request rules
Usage-based pricing. Default request estimate: $0.0005 USD. The final charge depends on actual usage. Your account price may differ; use a request quote where supported.Authorizations
Body
Response
PIX open statistics from the Olinda Pix_DadosAbertos service, one dataset per call: transacoes_por_municipio (values and counts of payers/receivers per municipality for one ano_mes, optionally narrowed to an estado name or a municipio_ibge code), estatisticas_transacoes (aggregate value and count by payer/receiver type, region, age, initiation form, nature and purpose for one ano_mes), chaves (registered PIX keys per institution ISPB, user nature and key type at a month-end data), usuarios_dict (users registered in DICT per month, newest first). Month keys are pinned with an OData $filter because the service's function parameter alone acts as a lower bound. Rows are returned as served (Portuguese property names). The service cannot be paged: every path answers 500 to $skip, so skip must be 0, next_skip is always null and a full page (count == top) is reported as partial coverage; narrow with estado/municipio_ibge or raise top (up to 1000). count 0 means the month or date has no rows (statistics are published monthly with a lag).
The response contains the tool result directly.
The provider identifies rows as the primary payload key.
| Documented field | Provider type | Description |
|---|---|---|
AnoMes | number | |
Data | string | |
DataReferencia | string | |
DesvioPadrao | number | |
Estado | string | |
Indicador | string | |
InstituicaoFinanceira | string | |
Maximo | number | |
Media | number | |
Mediana | number | |
Mes | string | |
Minimo | number | |
Modalidade | string | |
Municipio | string | |
Municipio_Ibge | number | |
Posicao | number | |
Quantidade | number | |
Reuniao | string | |
TaxaJurosAoAno | number | |
TaxaJurosAoMes | number | |
Total | number | |
Valor | number | |
baseCalculo | number | |
numeroRespondentes | number |
These are the provider's documented fields. Field requiredness, nullability and nested object structures are specified only where the descriptions explicitly say so.