# Brazil Data Center Watch (`kman-br/brazil-datacenter-watch`) Actor

Weekly structured records in English on data centers in Brazil from official sources: bills, laws, decrees, ANEEL open data and municipal gazette acts (Federal Official Gazette temporarily out). Each record has date, jurisdiction, status, source and link. Optional weekly edition. Pay per event.

- **URL**: https://apify.com/kman-br/brazil-datacenter-watch.md
- **Developed by:** [Kman](https://apify.com/kman-br) (community)
- **Categories:** Business, News, Developer tools
- **Security:** 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 Data Center Watch

By Kman.

Structured records in English on data centers in Brazil, taken from official sources: federal bills, laws and decrees, ANEEL open data and municipal gazette acts. Every record has a type, jurisdiction, status, date, source name and link to the official page. An optional weekly edition summarizes the week with a citation for each item.

Public-source compilation. Not legal, credit or investment advice.

### Use this when

- You need the bills, laws, decrees and regulatory acts on data centers in Brazil that changed since a given date, with their official status.
- You follow the Redata tax regime (Regime Especial de Tributação para Serviços de Datacenter, Law No. 15,504/2026) and the acts that implement it.
- You track ANEEL decisions that grant data center projects access to the Basic Grid (Rede Básica) and ANEEL public consultations. These come from the Federal Official Gazette, which is temporarily out (see Sources).
- You look for municipal acts tied to data center projects (licensing, incentives, commitment agreements).
- You want company names and CNPJ numbers of legal entities named in those acts (developer or supplier).
- An AI agent needs dated, linked Brazilian official records in English.

### Do not use this when

- You need legal advice or a certified translation. English titles and summaries are glossary-based translations of the official Portuguese text.
- You need state legislation (not covered yet), systematic public procurement from the National Public Procurement Portal (PNCP, planned), or import data by NCM code (planned).

### Input

| Field | Type | Default | What it does |
|---|---|---|---|
| `since` | date `YYYY-MM-DD` | 7 days before the run | Keeps records whose official date (publication or latest status change) is on or after this date. |
| `types` | list | all | Record types: `bill`, `law`, `decree`, `ordinance`, `resolution`, `public_consultation`, `gazette_act`, `redata_habilitation`, `auction`, `grid_access`, `project`, `procurement`, `contract`, `company`, `import_pulse`, `dataset`. |
| `jurisdictions` | list | all | `federal`, `state`, `municipal`, `state:SP`, `municipal:Campinas-SP`. `state` and `municipal` match every state or city. |
| `query` | text | empty | Case- and accent-insensitive text in the Portuguese title, English title, summary, tags, company name or CNPJ. Example: `Redata`, `Rede Básica`, `Campinas`. |
| `until` | date | run date | Last official date, `YYYY-MM-DD`. With `since`, queries any closed window of the archive (the archive keeps the 5,000 most recent records, about 4.9 MB). |
| `minRelevance` | number | 0.6 | Minimum relevance, 0 to 1. 1 = names data centers or Redata; 0.6 = grid access for large loads; 0.4 = power self-production; 0.35 = digital infrastructure or cloud, or an act that only defines "data center" in a glossary. Public tenders and contracts score at most 0.5, so the default leaves them out: use 0.5 or lower to receive them. |
| `maxRecords` | integer | 200 | Records returned. Only records not yet delivered to your account count. Hard cap 1000 in the code. |
| `includeEdition` | boolean | true | Returns the weekly edition first, only when it was published in the last 7 days and not yet delivered to your account. |

Example:

```json
{ "since": "2026-10-01", "types": ["bill", "law", "grid_access", "public_consultation"], "maxRecords": 100, "includeEdition": true }
```

### Output

Dataset items with `item_type`:

- `record`: one official record. Fields: `id` (sha1 of source URL + Portuguese title), `type`, `jurisdiction`, `title_pt`, `title_en`, `summary_en`, `status` (`introduced`, `in_committee`, `approved`, `sanctioned`, `in_force`, `consultation_open`, `awarded`, `announced`, `archived`, `vetoed` or empty), `status_pt` (official wording), `date`, `deadline`, `retrieved_at`, `source_name`, `source_url`, `entities` (legal entities only: `cnpj`, `name`, `role`), `tags` (`redata`, `energy`, `water`, `tax`, `zoning`, `environment`, `fiber`, `cooling`, `ai`), `relevance` (0 to 1), `warnings`.
- `edition`: the weekly edition, with `edition.markdown`, `edition.sections`, `edition.period` and `edition.kind` (`editorial` or `extractive`). The Markdown is also saved as `EDITION` in the run's key-value store.
- `notice`: one free item when the run has nothing to deliver, with the reason in `title_en` (no new record since your last run, or no record matching the filters).

Only new items: the Actor keeps, in a named key-value store `bdcw-watch-state` of your own account (key `DELIVERED`), the record ids with their official date and the edition ids already delivered. A record is delivered and charged once per account and comes back only when its official date changes (for example, a new status of a bill). Delete the `DELIVERED` key to receive everything again. Run one schedule at a time per account: two runs started at the same moment read the same state and may both return the same record.

`RUN_SUMMARY` in the run's key-value store lists the filters, records returned, charged events and warnings. A field without an official source is left empty; nothing is inferred.

### Price (pay per event)

| Event | Price (USD) | When |
|---|---|---|
| `inicio-run` | 0.10 | Once per run, after the input is validated and the records store was read. |
| `edition` | 9.00 | When the run returns an editorial weekly edition published in the last 7 days. Includes up to 200 records dated inside the edition week. |
| `record` | 0.02 | Each record not included in a charged edition. |

Examples: a weekly run with a new edition and up to 200 records of that week costs 9.10. A run without edition that returns 50 records costs 1.10. A run that finds no record, or nothing new since your last run, costs 0.10. Not charged: records and editions already delivered to your account, invalid input, missing configuration, records store unavailable, no new edition, and the automatic extractive digest (delivered free when no editorial edition was published). The run stops charging at the spending limit you set (`maxTotalChargeUsd`).

### Sources

> Federal Official Gazette (DOU): temporarily out, awaiting the official route (DOU: temporariamente fora, aguardando rota oficial). Its website disallows automated access in robots.txt, so it is not read until an official reuse route is in place.

| Source | What we read | Link |
|---|---|---|
| Chamber of Deputies (Câmara dos Deputados), Open Data API v2 | Bills (PL, PLP, PEC, MPV, PDL) since 2023-02-01, current status | https://dadosabertos.camara.leg.br/swagger/api.html |
| Federal Senate (Senado Federal), Legislative Open Data, `/processo` | Bills, vetoes and resolutions by keyword, current status | https://legis.senado.leg.br/dadosabertos/v3/api-docs |
| Federal Senate legislation list | Federal laws, complementary laws, decrees and provisional measures, filtered by their summary (ementa) | https://legis.senado.leg.br/dadosabertos |
| Federal Official Gazette (Diário Oficial da União) | **Temporarily out, awaiting the official route.** The gazette website disallows automated access in its robots.txt; gazette acts (ordinances, ANEEL dispatches, notices, contracts) return when an official reuse route is in place | — |
| ANEEL | Datasets on the CKAN open data portal that mention data centers (consultation notices published in the gazette are out with the gazette) | https://dadosabertos.aneel.gov.br |
| Querido Diário (Open Knowledge Brasil) | Municipal official gazettes by search term | https://queridodiario.ok.org.br |
| LexML | Tried; it returned a security-check page to automated requests, so it is not used | https://www.lexml.gov.br |

### Methodology

- A private collector runs once a day. It queries each source with these Portuguese terms: "data center", "datacenter", "centro de dados", "Redata", "centro de processamento de dados", "infraestrutura digital", "computação em nuvem", "conexão de carga", "autoprodução". It waits at least 1.1 seconds between requests to the same host. A source that is down is reported in the run summary; it never stops the other sources.
- Relevance: 1 when a core term (data center, centro de dados, Redata) is in the text, 0.6 for grid-access terms (Rede Básica, load connection), 0.4 for self-production, 0.35 for adjacent terms (digital infrastructure, cloud computing). Procurement and contract notices count half. A core term that only appears as a defined word in an act's glossary (for example an internal IT security policy) counts as 0.35. Records under 0.3 are not kept.
- `date` is the publication date for gazette acts and the date of the latest status change for bills.
- English titles: bills and laws use a glossary-based translation of the official summary (ementa). Gazette acts use a template: act type, number and date in English, a topic phrase inferred from the official text by keyword rules (for example "data center maintenance and support"), and the issuing body's English name. Summaries are glossary-based translations of the first sentences of the official text. A title or summary in which 10% or more of the words are still Portuguese carries `title_en_partial_translation` or `summary_en_partial_translation` in `warnings`.
- The same act published twice (a republication in the gazette, or a law that comes both from the gazette and from the Senate legislation list) is kept once: the record with the earliest date.
- The weekly editorial edition is written from the official texts, every item cited. When no editorial edition was published for 8 days, the collector writes an automatic extractive digest (headlines by section).
- Personal data: only legal entities. Personnel acts (Federal Official Gazette Section 2, civil service exams, appointments) are excluded. CPF numbers, e-mail addresses, phone numbers and names after personal role labels are removed from every text.

### Sample records

Ten real records from the local run of 24 Oct 2026, unedited:

```json
[
  {
    "item_type": "record",
    "id": "0f4dbe5dbb4249951247773940a37884065885ac",
    "type": "bill",
    "jurisdiction": "federal",
    "title_pt": "VET 50/2026: Veto parcial aposto ao Projeto de Lei Complementar nº 74, de 2026, que \"Altera a Lei Complementar nº 229, de 30 de março de 2026, para incluir o regime especial de tributação para serviços de datacenter, os programas federais de financiamento de ações de apoio às pessoas com câncer e…",
    "title_en": "VET 50/2026: Partial veto imposed to the complementary bill No. 74, of 2026, that \"Amends Complementary Law No. 229, of March 30, 2026, to include the Special Tax Regime for Data Center Services (Redata), the programs federal of financing of actions of support to the people with cancer and…",
    "summary_en": "Partial veto imposed to the complementary bill No. 74, of 2026, that \"Amends Complementary Law No. 229, of March 30, 2026, to include the Special Tax Regime for Data Center Services (Redata), the programs federal of financing of actions of support to the people with cancer and to the people with deficiência, as well as the tax relief of the Corporate income tax (IRPJ) (IRPJ) and of the…",
    "status": "",
    "status_pt": "SOBRESTANDO A PAUTA DO CONGRESSO NACIONAL",
    "date": "2026-10-17",
    "deadline": "",
    "retrieved_at": "2026-10-27T23:34:50.824Z",
    "source_name": "Senado Federal",
    "source_url": "https://www25.senado.leg.br/web/atividade/materias/-/materia/175809",
    "entities": [],
    "tags": [
      "redata",
      "tax"
    ],
    "relevance": 1,
    "warnings": [],
    "edition": null,
    "report": null
  },
  {
    "item_type": "record",
    "id": "cdc724ba81ff4d5df2da2c514933e8997ab0a9f0",
    "type": "law",
    "jurisdiction": "federal",
    "title_pt": "Lei nº 15.504 de 15/09/2026: Altera a Lei nº 11.196, de 21 de novembro de 2005, para instituir o Regime Especial de Tributação para Serviços de Datacenter (Redata), e a Lei nº 15.211, de 17 de setembro de 2025 (Estatuto Digital da Criança e do Adolescente).",
    "title_en": "Law No. 15,504: Amends Law No. 11,196, of November 21, 2005, to establish the Special Tax Regime for Data Center Services (Redata) (Redata), and the Law No. 15,211, of September 17, 2025 (Estatuto Digital da Criança and of the Adolescente).",
    "summary_en": "Amends Law No. 11,196, of November 21, 2005, to establish the Special Tax Regime for Data Center Services (Redata) (Redata), and the Law No. 15,211, of September 17, 2025 (Estatuto Digital da Criança and of the Adolescente).",
    "status": "sanctioned",
    "status_pt": "",
    "date": "2026-09-15",
    "deadline": "",
    "retrieved_at": "2026-10-27T23:34:59.251Z",
    "source_name": "Senado Federal — Legislação Federal",
    "source_url": "https://legis.senado.leg.br/norma/43892294",
    "entities": [],
    "tags": [
      "redata",
      "tax"
    ],
    "relevance": 1,
    "warnings": [],
    "edition": null,
    "report": null
  },
  {
    "item_type": "record",
    "id": "ed49eb0eb18f0aecd71cc3d566a3711d44c7f03a",
    "type": "law",
    "jurisdiction": "federal",
    "title_pt": "Lei Complementar nº 237 de 15/09/2026: Altera a Lei Complementar nº 229, de 30 de março de 2026, para incluir o regime especial de tributação para serviços de datacenter, os programas federais de financiamento de ações de apoio às pessoas com câncer e às pessoas com deficiência, bem como a…",
    "title_en": "Complementary Law No. 237: Amends Complementary Law No. 229, of March 30, 2026, to include the Special Tax Regime for Data Center Services (Redata), the programs federal of financing of actions of support to the people with cancer and to the people with deficiência, as well as the tax relief of the Corporate income tax (IRPJ) (IRPJ) and of the social contribution on the Lucro Líquido (CSLL) of the sociedades resseguradoras locais, between the exceções to the rules applicable to the grant of tax benefits; and amends Complementary Law No. 101, of May 4, 2000 (Fiscal Responsibility Law), to desobrigar the Municipalities with until 65,000 (sessenta and cinco mil) habitantes of comprovar, for fins of realização of transferências voluntárias, the pagamento of taxes, empréstimos and financiamentos devidos to the ente transferidor and the provision of contas of resources anteriormente dele recebidos.",
    "summary_en": "Amends Complementary Law No. 229, of March 30, 2026, to include the Special Tax Regime for Data Center Services (Redata), the programs federal of financing of actions of support to the people with cancer and to the people with deficiência, as well as the tax relief of the Corporate income tax (IRPJ) (IRPJ) and of the social contribution on the Lucro Líquido (CSLL) of the sociedades…",
    "status": "sanctioned",
    "status_pt": "",
    "date": "2026-09-15",
    "deadline": "",
    "retrieved_at": "2026-10-27T23:35:00.328Z",
    "source_name": "Senado Federal — Legislação Federal",
    "source_url": "https://legis.senado.leg.br/norma/43892883",
    "entities": [],
    "tags": [
      "redata",
      "tax"
    ],
    "relevance": 1,
    "warnings": [],
    "edition": null,
    "report": null
  },
  {
    "item_type": "record",
    "id": "bfe329bf87bc77b67df55c920f2bcb5c89396355",
    "type": "bill",
    "jurisdiction": "federal",
    "title_pt": "PL 4401/2026: Institui a Política Nacional de Data Centers Estratégicos e dá outras providências.",
    "title_en": "PL 4401/2026: Establishes the National Policy on Strategic Data Centers and makes other provisions.",
    "summary_en": "Establishes the National Policy on Strategic Data Centers and makes other provisions.",
    "status": "",
    "status_pt": "Despacho de Apensação",
    "date": "2026-10-26",
    "deadline": "",
    "retrieved_at": "2026-10-27T23:34:24.716Z",
    "source_name": "Câmara dos Deputados",
    "source_url": "https://www.camara.leg.br/proposicoesWeb/fichadetramitacao?idProposicao=2641088",
    "entities": [],
    "tags": [],
    "relevance": 1,
    "warnings": [],
    "edition": null,
    "report": null
  },
  {
    "item_type": "record",
    "id": "e7cf162197edf6a3eb4d4b9f488cdd3bf6fa05fb",
    "type": "bill",
    "jurisdiction": "federal",
    "title_pt": "PL 5209/2026: Estabelece normas gerais específicas para o licenciamento ambiental de centros de dados.",
    "title_en": "PL 5209/2026: Establishes general rules specific for the environmental licensing of data centers.",
    "summary_en": "Establishes general rules specific for the environmental licensing of data centers.",
    "status": "",
    "status_pt": "Aguardando Autorização do Despacho",
    "date": "2026-08-28",
    "deadline": "",
    "retrieved_at": "2026-10-27T23:34:23.660Z",
    "source_name": "Câmara dos Deputados",
    "source_url": "https://www.camara.leg.br/proposicoesWeb/fichadetramitacao?idProposicao=2644764",
    "entities": [],
    "tags": [
      "energy",
      "water",
      "environment"
    ],
    "relevance": 1,
    "warnings": [],
    "edition": null,
    "report": null
  },
  {
    "item_type": "record",
    "id": "8a61a0ddf54411223198e37e1d10312329b8a8a3",
    "type": "bill",
    "jurisdiction": "federal",
    "title_pt": "PLP 23/2026: Institui a Contribuição de Intervenção no Domínio Econômico incidente sobre Serviços de Datacenter (CIDE–DataCenter); majora as alíquotas da CSLL, do PIS/Pasep e da Cofins aplicáveis ao setor; revoga benefícios fiscais federais e veda a concessão de novos incentivos destinados à…",
    "title_en": "PLP 23/2026: Establishes the Contribution for Intervention in the Economic Domain (CIDE) levied on data center services (CIDE–Data center); increases the rates of the CSLL, of the PIS/Pasep and of the Cofins applicable to the sector; revokes tax benefits federal and prohibits the grant of new incentives intended for…",
    "summary_en": "Establishes the Contribution for Intervention in the Economic Domain (CIDE) levied on data center services (CIDE–Data center); increases the rates of the CSLL, of the PIS/Pasep and of the Cofins applicable to the sector; revokes tax benefits federal and prohibits the grant of new incentives intended for installation, expansion or operation of data centers; and makes other provisions.",
    "status": "in_committee",
    "status_pt": "Aguardando Designação de Relator(a)",
    "date": "2026-03-25",
    "deadline": "",
    "retrieved_at": "2026-10-27T23:34:35.834Z",
    "source_name": "Câmara dos Deputados",
    "source_url": "https://www.camara.leg.br/proposicoesWeb/fichadetramitacao?idProposicao=2602249",
    "entities": [],
    "tags": [
      "tax"
    ],
    "relevance": 1,
    "warnings": [],
    "edition": null,
    "report": null
  },
  {
    "item_type": "record",
    "id": "b8434a9b7f140e5e81494a18285fb1189e34d02a",
    "type": "gazette_act",
    "jurisdiction": "municipal:Campinas-SP",
    "title_pt": "Diário oficial de Campinas-SP, edição 13916 de 2026-09-25",
    "title_en": "Official gazette of Campinas-SP, edition 13916 of 2026-09-25",
    "summary_en": "(Campus Campinas / Actis Invest), due to the implementation of mega data center and substation of extra-high voltage in the Land parcel (gleba) 146 of the Fazenda Pau D'Alho, Distrito de Barão Geraldo.",
    "status": "",
    "status_pt": "",
    "date": "2026-09-25",
    "deadline": "",
    "retrieved_at": "2026-10-27T23:35:03.670Z",
    "source_name": "Querido Diário (Open Knowledge Brasil), diários oficiais municipais",
    "source_url": "https://data.queridodiario.ok.org.br/3509502/2026-09-25/6b553d224a7f771561c6e6ec503ab6d91385f4fd.pdf",
    "entities": [],
    "tags": [
      "energy"
    ],
    "relevance": 1,
    "warnings": [],
    "edition": null,
    "report": null
  },
  {
    "item_type": "record",
    "id": "5f0225d35669e1360cc9f97c4c3e4459244d0e60",
    "type": "bill",
    "jurisdiction": "federal",
    "title_pt": "PL 5319/2026: Estabelece obrigatoriedade de implantação de soluções hídricas próprias e vedação de uso de água de reservatório destinada ao consumo humano pelos centros de processamento de dados, com ressalva, e dá outras providências.",
    "title_en": "PL 5319/2026: Establishes mandatory requirement of implementation of water solutions own and prohibition of use of water of reservoir intended to the human consumption by the data processing centers, with exceptions, and makes other provisions.",
    "summary_en": "Establishes mandatory requirement of implementation of water solutions own and prohibition of use of water of reservoir intended to the human consumption by the data processing centers, with exceptions, and makes other provisions.",
    "status": "introduced",
    "status_pt": "Apresentação de Proposição",
    "date": "2026-09-08",
    "deadline": "",
    "retrieved_at": "2026-10-27T23:34:21.404Z",
    "source_name": "Câmara dos Deputados",
    "source_url": "https://www.camara.leg.br/proposicoesWeb/fichadetramitacao?idProposicao=2646235",
    "entities": [],
    "tags": [
      "water"
    ],
    "relevance": 1,
    "warnings": [],
    "edition": null,
    "report": null
  }
]
```

### How an AI agent can call this

- **Apify MCP server.** Connect `https://mcp.apify.com` and add the Actor `kman-br/brazil-datacenter-watch` as a tool. The tool input is the input table above.
- **REST API.** Run and get the items in one call:

```bash
curl -X POST "https://api.apify.com/v2/acts/kman-br~brazil-datacenter-watch/run-sync-get-dataset-items?maxTotalChargeUsd=2" -H "Authorization: Bearer $APIFY_TOKEN" -H "Content-Type: application/json" -d '{"since":"2026-10-01","types":["bill","law","grid_access"],"maxRecords":50,"includeEdition":false}'
```

- Agent tips: set `maxTotalChargeUsd` to cap the cost of a run. Use `includeEdition: false` when you only need records. Read `item_type` to separate the edition, records and the `notice` item. Calling it on a schedule returns only what is new for your account. `source_url` is the citation for each fact.

### FAQ

- **Is this legal advice?** No. Public-source compilation. Not legal, credit or investment advice.
- **How fresh is it?** Sources are read once a day; `retrieved_at` shows when each record was read.
- **Is there a free version?** Yes: Brazil Data Center Watch Free Headlines returns up to 25 headlines of the last 7 days, without summaries.
- **Errors?** Corrections go into the next edition with a note.

# Actor input Schema

## `since` (type: `string`):

Returns records whose official date (publication or latest status change) is on or after this date, in YYYY-MM-DD. Default: 7 days before the run date.

## `until` (type: `string`):

Returns records whose official date is on or before this date, in YYYY-MM-DD. Use it with since to query a closed past window of the archive (for example a quarter). Default: the run date.

## `types` (type: `array`):

Keep only these record types. Accepted values: bill, law, decree, ordinance, resolution, public_consultation, gazette_act, redata_habilitation, auction, grid_access, project, procurement, contract, company, import_pulse, dataset. Leave empty for all.

## `jurisdictions` (type: `array`):

Keep only these jurisdictions. Use federal, state, municipal, state:SP or municipal:Campinas-SP. "state" and "municipal" match every state or city. Leave empty for all.

## `minRelevance` (type: `number`):

Returns only records with relevance (0 to 1) at or above this value. 1 = names data centers or Redata; 0.6 = grid access for large loads; 0.4 = self-production of power; 0.35 = digital infrastructure or cloud. Public tenders and contracts score at most 0.5, so the default 0.6 leaves them out: set 0.5 or lower to receive them.

## `query` (type: `string`):

Case-insensitive and accent-insensitive text that must appear in the Portuguese title, English title, English summary, tags, company names or CNPJ, for example "Redata", "Rede Básica" or "Campinas". Maximum 200 characters.

## `maxRecords` (type: `integer`):

Maximum number of records returned in the run (0 returns only the edition). Only records not yet delivered to your account are returned (a record comes back when its official date changes). When a new weekly edition is charged, up to 200 records dated inside the edition week are included in the edition price; every other record is one record event. The hard cap is 1000, enforced in the code.

## `includeEdition` (type: `boolean`):

Returns the weekly edition (Markdown brief with sourced items) as the first dataset item and as the EDITION record of the run's key-value store, only when it was published in the last 7 days. An editorial edition is one edition event. An automatic extractive digest is returned without charge. Each edition is returned and charged once per account.

## Actor input object example

```json
{
  "minRelevance": 0.6,
  "maxRecords": 5,
  "includeEdition": false
}
```

# Actor output Schema

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

No description

## `edition` (type: `string`):

Present only when the run returned an edition.

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

RUN_SUMMARY: status, filters, records returned, charged events and warnings.

# 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 = {
    "maxRecords": 5,
    "includeEdition": false
};

// Run the Actor and wait for it to finish
const run = await client.actor("kman-br/brazil-datacenter-watch").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 = {
    "maxRecords": 5,
    "includeEdition": False,
}

# Run the Actor and wait for it to finish
run = client.actor("kman-br/brazil-datacenter-watch").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 '{
  "maxRecords": 5,
  "includeEdition": false
}' |
apify call kman-br/brazil-datacenter-watch --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,kman-br/brazil-datacenter-watch"
        }
    }
}
```

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/OeQCOLLhmUcBTMQcM/builds/rUTvHEi0Ab0zGC1gZ/openapi.json
