# Brazil Fire Hotspots (INPE Queimadas) - Farms, Cities & Biomes (`kman-br/inpe-focos-queimadas`) Actor

Satellite fire hotspots in Brazil from INPE's official Programa Queimadas: every detection with coordinates, city, state, biome, fire risk, FRP and days without rain, or summaries by city, state, biome or within a radius of your farms and assets.

- **URL**: https://apify.com/kman-br/inpe-focos-queimadas.md
- **Developed by:** [Kman](https://apify.com/kman-br) (community)
- **Categories:** Business, Developer tools
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.50 / 1,000 record returneds

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 Fire Hotspots (INPE Queimadas) - Farms, Cities & Biomes

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

Satellite **fire hotspots in Brazil** from INPE's official *Programa Queimadas*, ready as JSON, with no CSV downloads or GIS work:

- **Every detection**: date/time (UTC), lat/lon, satellite, city (IBGE code), state, biome, **fire risk**, **FRP** (fire radiative power, MW), days without rain, precipitation.
- **Summaries** ranked by **city**, **state** or **biome**: hotspots, days with fire, hotspots per day, total/mean/max FRP, mean fire risk, first/last detection, count per satellite.
- **Your own points**: farms, plantations, power lines, pipelines, insured assets. Give lat/lon and a radius, get only the hotspots nearby with the **distance in km**, or one summary row per point.
- **Reference satellite** (AQUA_M-T, INPE's standard for time series) by default, or all satellites for maximum coverage.

Use it for **EUDR / ESG due diligence**, agricultural insurance, farm monitoring, carbon projects, utility and transmission line risk, commodity supply chains and environmental journalism.

### Input

```json
{ "modo": "resumo_ponto", "satelites": "todos", "pontos": [{ "nome": "Fazenda A", "lat": -12.5, "lon": -55.7, "raioKm": 50 }], "dataInicio": "2026-10-13", "dataFim": "2026-11-12" }
```

```json
{ "modo": "resumo_municipio", "estados": ["MT", "PA"], "dataInicio": "2026-11-01", "dataFim": "2026-11-12" }
```

### Output

```json
{ "tipo": "foco", "data_hora_utc": "2026-11-11T17:20:00Z", "lat": -12.53, "lon": -55.71, "satelite": "AQUA_M-T", "municipio": "SORRISO", "municipio_ibge": "5107925", "uf": "MT", "bioma": "Amazônia", "risco_fogo": 0.9, "frp_mw": 30.5, "dias_sem_chuva": 10, "ponto_referencia": "Fazenda A", "distancia_km": 3.4 }
```

```json
{ "tipo": "resumo", "agrupamento": "municipio", "municipio": "SORRISO", "uf": "MT", "focos": 42, "dias_com_foco": 9, "focos_por_dia": 1.35, "frp_total_mw": 812.4, "risco_fogo_medio": 0.71, "posicao": 1 }
```

### Pricing (pay per event)

- US$ 0.02 per run (only after at least one INPE daily file is read)
- US$ 0.0005 per record (hotspot or summary row)

Invalid input and source outages are not charged. Up to 31 days per run (last ~12 months of daily files).

### Source and licence

INPE - Programa Queimadas (https://terrabrasilis.dpi.inpe.br/queimadas), daily Brazil hotspot files at dataserver-coids.inpe.br, open data with source citation. Environmental data only, no personal data. Not affiliated with INPE.

***

### PT-BR

**Focos de queimadas** do INPE (Programa Queimadas) prontos em JSON:

- Cada foco com coordenadas, município, UF, bioma, risco de fogo, FRP e dias sem chuva.
- Resumos por município, estado ou bioma, com ranking.
- **Pontos próprios** (fazendas, ativos, linhas de transmissão): focos dentro de um raio, com distância em km.
- Satélite de referência AQUA_M-T (padrão INPE) ou todos os satélites.
- Preço: US$ 0,02 por execução + US$ 0,0005 por registro.
- Fonte: INPE, dados abertos. Sem dado pessoal.

# Actor input Schema

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

Individual detections or ranked summaries.

## `dataInicio` (type: `string`):

AAAA-MM-DD. Default: yesterday. Max 31 days per run, last ~12 months.

## `dataFim` (type: `string`):

AAAA-MM-DD. Default: today (partial day).

## `satelites` (type: `string`):

referencia = AQUA_M-T (INPE reference, comparable over time), todos = all satellites (more detections, duplicates of the same fire), or a list like NOAA-20,NOAA-21,GOES-19.

## `estados` (type: `array`):

State abbreviations. Empty = Brazil.

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

IBGE 7-digit code or city name (accents optional).

## `biomas` (type: `array`):

Amazonia, Cerrado, Mata Atlantica, Caatinga, Pantanal, Pampa.

## `pontos` (type: `array`):

Farms, plants, power lines, insured assets: \[{"nome":"Fazenda A","lat":-12.5,"lon":-55.7,"raioKm":20}]. Only hotspots within the radius are returned, with distance.

## `riscoMinimo` (type: `number`):

INPE fire risk from 0 to 1.

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

Cap on charged records.

## Actor input object example

```json
{
  "modo": "focos",
  "satelites": "referencia",
  "estados": [
    "MT",
    "PA"
  ],
  "maxItems": 5000
}
```

# Actor output Schema

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

No description

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

RUN_SUMMARY: days read, hotspots read and after filters, 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 = {
    "estados": [
        "MT",
        "PA"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("kman-br/inpe-focos-queimadas").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 = { "estados": [
        "MT",
        "PA",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("kman-br/inpe-focos-queimadas").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 '{
  "estados": [
    "MT",
    "PA"
  ]
}' |
apify call kman-br/inpe-focos-queimadas --silent --output-dataset

```

## MCP server setup

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

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/QOk4r6ZQc3Elwa8uH/builds/3xkqrByTAQieZfYgJ/openapi.json
