# Brazil Solar & Distributed Generation Radar (ANEEL GD) (`kman-br/aneel-geracao-distribuida-radar`) Actor

Market sizing and project lists for Brazil's 4.7 million distributed-generation (mostly solar) connections from ANEEL's official open data. Aggregate by state, city, utility, source, class, month or size, or list company-owned (PJ) projects with CNPJ. Individuals' names and CPF are never output.

- **URL**: https://apify.com/kman-br/aneel-geracao-distribuida-radar.md
- **Developed by:** [Kman](https://apify.com/kman-br) (community)
- **Categories:** Business, Lead generation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

Pay per event

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Brazil Solar & Distributed Generation Radar (ANEEL GD)

**EN** · [PT-BR abaixo](#pt-br)

Brazil has **4.7 million distributed-generation connections** (rooftop and small solar, plus wind, thermal and hydro), all published by the regulator ANEEL as one 1.5 GB file. This Actor streams the official file on every run and gives you either **market-sizing aggregates** or **project lists**, filtered the way solar companies, distributors, investors and consultants need.

### What you get

- **Aggregate mode**: count, installed kW, average kW, share of the filtered total, PF vs PJ split, credit-receiving consumer units, first and last connection date, grouped by any of: state, city, utility, source, consumer class, month, year, size (micro/mini), modality, holder type.
- **Project mode**: project code, connection date, city/IBGE code, 5-digit CEP prefix, utility, consumer class, tariff subgroup, modality (own use, shared, remote self-consumption), source, size, kW and, **for companies (PJ) only**, CNPJ and company name.
- Filters: states, cities (IBGE code or name), utilities, generation type, consumer class, PF/PJ, connection date range, kW range. Sort by kW, count or most recent.

### Example: where did solar grow in São Paulo in 2026?

```json
{ "modo": "agregado", "ufs": ["SP"], "agruparPor": ["municipio"], "tiposGeracao": ["UFV"], "conectadoDesde": "2026-01-01", "maxItems": 10 }
```

Live result (ANEEL base 10/11/2026): 101,808 new solar systems, 767 MW in SP; São Paulo city 4,344 systems / 61.6 MW, Ribeirão Preto 2,280 / 16.2 MW, São José do Rio Preto 2,354 / 14.2 MW, Campinas 1,993 / 13.6 MW.

### Example: new commercial minigeneration plants (≥500 kW) owned by companies in MG

```json
{ "modo": "empreendimentos", "ufs": ["MG"], "tipoConsumidor": "PJ", "potenciaMinimaKw": 500, "conectadoDesde": "2026-06-01" }
```

### Privacy (LGPD)

Individuals (PF) are always anonymous: no name, no CPF, CEP cut to 5 digits. Company name and CNPJ are delivered only when the name is clearly a legal entity (LTDA, S.A., cooperative, association, public body and similar); names that look like a person (MEI, sole proprietors) are masked with `titular_mascarado: true`. Aggregates never expose individuals.

### Pricing (pay per event)

- US$ 0.03 per run (each run downloads and scans the full official file)
- US$ 0.002 per row returned (1,000 rows = US$ 2)

### Data source and licence

ANEEL – *Relação de empreendimentos de Geração Distribuída*, https://dadosabertos.aneel.gov.br/dataset/relacao-de-empreendimentos-de-geracao-distribuida, published under the **Open Data Commons Open Database License (ODbL)**. Each row carries the ANEEL base date and the licence; attribute ANEEL when you republish, and share derived databases under ODbL.

***

### PT-BR

Radar de **Geração Distribuída** (solar, eólica, térmica, hídrica) a partir dos dados abertos oficiais da ANEEL: 4,7 milhões de conexões, arquivo de 1,5 GB lido inteiro em cada execução.

- **Agregado**: quantidade, kW instalado, média, participação, PF × PJ, UCs que recebem crédito, primeira e última conexão, agrupado por UF, município, distribuidora, fonte, classe, mês, ano, porte, modalidade ou tipo de titular.
- **Empreendimentos**: lista de projetos com código, data, município, CEP de 5 dígitos, distribuidora, classe, modalidade, porte, kW e, **só para PJ**, CNPJ e razão social. Ótimo para integradores, distribuidores de equipamentos, O\&M, comercializadoras e consultorias.
- Pessoa física sempre anônima (sem nome, sem CPF). Razão social e CNPJ só saem quando o nome é claramente de pessoa jurídica (LTDA, S.A., cooperativa, associação, órgão público etc.); nomes que parecem de pessoa (MEI, empresário individual) são mascarados.
- Preço: US$ 0,03 por execução + US$ 0,002 por linha.
- Licença ODbL (ANEEL). Cite a ANEEL ao republicar.

# Actor input Schema

## `modo` (type: `string`):

Agregado soma quantidade e kW por dimensão. Empreendimentos lista projetos (PF sem nome e sem CPF).

## `agruparPor` (type: `array`):

Só no modo agregado.

## `ufs` (type: `array`):

Ex.: SP, MG. Vazio = Brasil todo.

## `municipiosIbge` (type: `array`):

Código de 7 dígitos, ex.: 3550308.

## `municipios` (type: `array`):

Nome exato, sem diferenciar acento.

## `distribuidoras` (type: `array`):

Sigla (CEMIG-D) ou parte do nome (cpfl).

## `tiposGeracao` (type: `array`):

Vazio = todos.

## `classesConsumo` (type: `array`):

Residencial, Comercial, Rural, Industrial, Poder Público…

## `tipoConsumidor` (type: `string`):

PJ traz CNPJ e razão social.

## `conectadoDesde` (type: `string`):

AAAA-MM-DD (data de atualização cadastral do empreendimento).

## `conectadoAte` (type: `string`):

AAAA-MM-DD.

## `potenciaMinimaKw` (type: `integer`):

Ex.: 75 para minigeração.

## `potenciaMaximaKw` (type: `integer`):

Opcional.

## `ordenarPor` (type: `string`):

Ordem das linhas entregues.

## `maxItems` (type: `integer`):

Linhas cobradas no dataset.

## Actor input object example

```json
{
  "modo": "agregado",
  "agruparPor": [
    "uf",
    "municipio",
    "fonte"
  ],
  "tipoConsumidor": "todos",
  "ordenarPor": "potencia",
  "maxItems": 1000
}
```

# Actor output Schema

## `results` (type: `string`):

No description

## `summary` (type: `string`):

RUN_SUMMARY: status, totals, ANEEL base date, charged events.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {};

// Run the Actor and wait for it to finish
const run = await client.actor("kman-br/aneel-geracao-distribuida-radar").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {}

# Run the Actor and wait for it to finish
run = client.actor("kman-br/aneel-geracao-distribuida-radar").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{}' |
apify call kman-br/aneel-geracao-distribuida-radar --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,kman-br/aneel-geracao-distribuida-radar"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/nDz6U7X1VqhMklIjr/builds/NcDs5Jjxwhk2RTy7L/openapi.json
