Brazil Electricity & Solar Tariffs API (ANEEL)
Pricing
from $5.00 / 1,000 electricity tariff record extracteds
Brazil Electricity & Solar Tariffs API (ANEEL)
Extract official Brazilian electricity tariffs (TE & TUSD in R$/MWh and R$/kWh) homologated by ANEEL for all utilities (CPFL, Enel, Cemig, Equatorial, Neoenergia, Copel, EDP, Light). Built for Solar GD integrators & Mercado Livre de Energia.
Pricing
from $5.00 / 1,000 electricity tariff record extracteds
Rating
0.0
(0)
Developer
BR Data Hub
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
10 days ago
Last modified
Categories
Features
Share
Extract official Brazilian electricity tariffs (TE & TUSD in R$/MWh and R$/kWh) homologated by ANEEL for all utilities (CPFL, Enel, Cemig, Equatorial, Neoenergia, Copel, EDP, Light). Built for Solar GD integrators & Mercado Livre de Energia.
Categories: BUSINESS, LEAD_GENERATION, AI | Billing Model: Pay-Per-Event ($0.01 start + $0.005 per tariff-extracted) | Permissions: LIMITED_PERMISSIONS (Safe for AI Agents & MCP)
Why Use brazil-aneel-solar-tariffs?
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-aneel-solar-tariffs 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 on256 MBRAM — 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
| Field | Type | Default | Description |
|---|---|---|---|
distributorQuery | string | "" | Search by distributor name/acronym (e.g. 'CPFL PAULISTA', 'ENEL SP', 'CEMIG', 'COPEL', 'LIGHT'). Leave empty for newest tariffs across all utilities. |
subGrupo | string | "" | Filter by voltage subgroup: 'B1' (Residential), 'B2' (Rural), 'B3' (Commercial/Small Business), 'A4' (2.3-25kV Medium Voltage), or leave empty for all. |
onlyActiveVigencia | boolean | true | Filter to tariffs whose validity window (DatInicioVigencia..DatFimVigencia) is active or most recent. |
maxItems | integer | 100 | Maximum tariff rows to return. |
Example Input (JSON)
{"distributorQuery": "CPFL","onlyActiveVigencia": true,"maxItems": 20}
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.
{"utility_sigla": "CPFL-PIRATINING","utility_cnpj": "04172213000151","resolution": "DESPACHO Nº 3.612, DE 16 DE OUTUBRO DE 2026","tariff_base": "Tarifa de Aplicação","subgroup": "B4","modality": "Convencional","consumer_class": "Iluminação pública","subclass": "Iluminação pública – B4b","tariff_post": "Não se aplica","unit": "MWh","te_mwh_brl": 41.88,"tusd_mwh_brl": 258.24,"total_mwh_brl": 300.12,"total_kwh_brl": 0.30012,"valid_from": "2026-10-23","valid_until": "2027-10-22","dataset_generated_at": "2026-11-12","source": "ANEEL Dados Abertos"}
Quick Integration Examples
1. Python (apify-client)
from apify_client import ApifyClientclient = ApifyClient("YOUR_APIFY_API_TOKEN")run = client.actor("brdatahub/brazil-aneel-solar-tariffs").call(run_input={"distributorQuery": "CPFL","onlyActiveVigencia": true,"maxItems": 20})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-aneel-solar-tariffs').call({"distributorQuery": "CPFL","onlyActiveVigencia": true,"maxItems": 20});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-aneel-solar-tariffs/run-sync-get-dataset-items?token=YOUR_APIFY_API_TOKEN" \-H "Content-Type: application/json" \-d '{"distributorQuery": "CPFL", "onlyActiveVigencia": true, "maxItems": 20}'
4. AI Agents & Apify MCP Server
Add brdatahub/brazil-aneel-solar-tariffs 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.01per run initializationtariff-extracted:$0.005per 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.jsontyped fields,output_schema.jsonv1 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.