Brazil PIX Volume & Economic Stats by City API (BCB) avatar

Brazil PIX Volume & Economic Stats by City API (BCB)

Pricing

from $6.00 / 1,000 municipal pix economic stat extracteds

Go to Apify Store
Brazil PIX Volume & Economic Stats by City API (BCB)

Brazil PIX Volume & Economic Stats by City API (BCB)

Extract official monthly PIX payment volume (BRL) and transaction counts (Consumer PF & Business PJ) for every Brazilian municipality from Banco Central do Brasil. High-frequency local economic activity indicator.

Pricing

from $6.00 / 1,000 municipal pix economic stat extracteds

Rating

0.0

(0)

Developer

BR Data Hub

BR Data Hub

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

6 days ago

Last modified

Features

Limited permissions

Share

Extract official monthly PIX payment volume (BRL) and transaction counts (Consumer PF & Business PJ) for every Brazilian municipality from Banco Central do Brasil. High-frequency local economic activity indicator.

Categories: BUSINESS, MARKETING, AI | Billing Model: Pay-Per-Event ($0.01 start + $0.006 per pix-city-stat-extracted) | Permissions: LIMITED_PERMISSIONS (Safe for AI Agents & MCP)


Why Use brazil-bcb-pix-municipality-stats?

Accessing structured Brazilian institutional, financial, regulatory, and B2B datasets normally requires navigating legacy Portuguese portals, handling regional encodings (ISO-8859-1 / Brazilian decimal formats 1.234,56), paginating custom endpoints, and normalizing inconsistent schemas.

brdatahub/brazil-bcb-pix-municipality-stats turns official public records into a clean, fast, schema-validated JSON/CSV API ready for:

  • AI Agents & MCP Workflows: Plug directly into Claude Desktop, Cursor, LangChain, CrewAI, n8n, Make, or Zapier via the official Apify MCP Server.
  • Quantitative, Financial & Market Intelligence: Automate daily ingestion into Snowflake, BigQuery, PostgreSQL, Google Sheets, Power BI, or internal ERPs.
  • B2B Lead Generation & Compliance Automation: Enrich CRMs, underwrite risk, monitor regulatory changes, and size regional markets programmatically.

Key Capabilities

  • Zero-Configuration Start: Includes sensible pre-filled defaults so automated runs and health checks succeed out of the box in seconds.
  • Normalized Numeric & Date Fields: Brazilian currency, percentage, and date formats are parsed into clean standard floats and ISO strings alongside raw source fields.
  • Low Compute Footprint: Optimized async Python (httpx) container running on 256 MB RAM — minimizing Apify compute unit consumption to fractions of a cent per run.
  • Spreadsheet & API Ready: Export results with one click as JSON, CSV, Excel (.xlsx), XML, or Parquet.

Input Parameters

FieldTypeDefaultDescription
dataBasestring"202609"YYYYMM month code for PIX municipal statistics.
stateNamestring"SÃO PAULO"Optional full state name filter in Portuguese (e.g. 'SÃO PAULO', 'PARANÁ').
cityFilterstring""Optional city substring filter.
maxItemsinteger150Maximum municipal PIX records to return.

Example Input (JSON)

{
"dataBase": "202609",
"stateName": "SÃO PAULO",
"cityFilter": "BARRETOS",
"maxItems": 10
}

Output Schema & Real Sample Record

Each extracted item is pushed to the default Apify Dataset and validated against the Actor's structured dataset_schema.json and output_schema.json.

{
"year_month": 202609,
"ibge_code": 3505500,
"city": "BARRETOS",
"state": "SÃO PAULO",
"region": "SUDESTE",
"total_paid_brl": 1857168377.01,
"payer_pf_brl": 870802109.56,
"payer_pf_tx_count": 3813058,
"payer_pj_brl": 986366267.45,
"payer_pj_tx_count": 425928,
"receiver_pf_brl": 938767647.56,
"receiver_pj_brl": 974774003.22,
"source": "Banco Central do Brasil (PIX Dados Abertos)"
}

Quick Integration Examples

1. Python (apify-client)

from apify_client import ApifyClient
client = ApifyClient("YOUR_APIFY_API_TOKEN")
run = client.actor("brdatahub/brazil-bcb-pix-municipality-stats").call(run_input={
"dataBase": "202609",
"stateName": "SÃO PAULO",
"cityFilter": "BARRETOS",
"maxItems": 10
})
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
print(item)

2. Node.js / TypeScript (apify-client)

import { ApifyClient } from 'apify-client';
const client = new ApifyClient({ token: process.env.APIFY_TOKEN });
const run = await client.actor('brdatahub/brazil-bcb-pix-municipality-stats').call({
"dataBase": "202609",
"stateName": "SÃO PAULO",
"cityFilter": "BARRETOS",
"maxItems": 10
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items);

3. cURL (Synchronous REST API — Instant JSON)

curl -X POST "https://api.apify.com/v2/acts/brdatahub~brazil-bcb-pix-municipality-stats/run-sync-get-dataset-items?token=YOUR_APIFY_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{"dataBase": "202609", "stateName": "SÃO PAULO", "cityFilter": "BARRETOS", "maxItems": 10}'

4. AI Agents & Apify MCP Server

Add brdatahub/brazil-bcb-pix-municipality-stats as a tool in https://mcp.apify.com so LLM agents can query live Brazilian data on demand with typed input/output schemas and LIMITED_PERMISSIONS sandboxing.


Pricing & Free-Plan Preview Policy

This Actor uses transparent Pay-Per-Event (PPE) pricing:

  • apify-actor-start: $0.01 per run initialization
  • pix-city-stat-extracted: $0.006 per structured record written to the dataset

Note for Apify Free-tier accounts: Users on the Apify Free plan automatically receive a clean preview sample per run and exit gracefully with a status message so you can test schema compatibility before upgrading to a paid Apify plan for full bulk extractions.


Changelog & Maintenance

  • v1.0 (2026-11): Initial production release with full input_schema.json, dataset_schema.json typed fields, output_schema.json v1 export links, and automated cloud health monitoring.
  • Support: Open an issue in the Issues tab on Apify Store if you need custom filters, additional fields, or enterprise SLAs.