# NASA FIRMS active fire detections · Fires area

Search public records with NASA FIRMS active fire detections · Fires area from Alexandria through one Spiral API key. Current hotspots around one place (an air base, a city, a park) rather than a whole file. It runs in the background and returns structured JSON. Pay as you go, with no subscription.

- Provider: Alexandria
- Category: Public Records
- Runs: In the background
- Returns: json
- Tool id: `alexandria` / `firms-modaps-eosdis-nasa-gov/wildfire-detections/fires_area`
- Page: https://spiral.ai/tools/alexandria/firms-modaps-eosdis-nasa-gov/wildfire-detections/fires_area

## Pricing

$0.00873 per call.

## Limits

- Longest queue wait: 1 hour
- Run deadline: 5 minutes
- Longest run, end to end: 225 minutes
- Largest inline input: 1 MB
- Largest input file: 2 GB
- Largest output: 5 GB

## Input

| Field | Kind | Allowed | Default | Description |
| --- | --- | --- | --- | --- |
| `area` (required) | text |  | — | `world` or `west,south,east,north` in decimal degrees (longitude -180..180, latitude -90..90, west < east, south < north). Pattern: ^(world\|-?\d{1,3}(\.\d+)?,-?\d{1,2}(\.\d+)?,-?\d{1,3}(\.\d+)?,-?\d{1,2}(\.\d+)?)$. |
| `source` (required) | one of | VIIRS_SNPP_NRT, VIIRS_SNPP_SP, VIIRS_NOAA20_NRT, VIIRS_NOAA20_SP, VIIRS_NOAA21_NRT, MODIS_NRT, MODIS_SP, LANDSAT_NRT | — | FIRMS source product name as used by /api/area. Keyless mode maps the NRT products to the file families; the `_SP` archives need `map_key`. |
| `date` | text |  | — | Last day of the range, UTC. Keyed mode passes it to the API; keyless mode only accepts dates covered by the 7-day files. Pattern: ^\d{4}-\d{2}-\d{2}$. |
| `limit` | number | 1 to 50000 | 5000 | Maximum records returned; `truncated` says when more matched. |
| `map_key` | text |  | — | FIRMS MAP_KEY (32 lowercase hex characters, free by email at /api/map_key/). Omit to use the keyless files. Pattern: ^[0-9a-f]{32}$. |
| `day_range` | number | 1 to 5 | 1 | Days of data ending at `date` (or now). Each day counts as one transaction against the key's 5000 per 10 minutes. |

## Example

```bash
curl https://api.spiral.ai/v1/runs \
  -H "Authorization: Bearer $SPIRAL_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
    "provider": "alexandria",
    "model": "firms-modaps-eosdis-nasa-gov/wildfire-detections/fires_area",
    "input": {
      "area": "<area>",
      "source": "VIIRS_SNPP_NRT"
    }
  }'
```

Try it in the Playground: https://spiral.ai/start?provider=alexandria&model=firms-modaps-eosdis-nasa-gov%2Fwildfire-detections%2Ffires_area

## Common questions

### NASA FIRMS active fire detections · Fires area

**How much does NASA FIRMS active fire detections · Fires area cost?**

$0.00873 per call. You pay as you go from one Spiral balance, with no subscription, and a failed run is not charged.

**How do I use NASA FIRMS active fire detections · Fires area through an API?**

Send `POST /v1/runs` with `"provider": "alexandria"`, `"model": "firms-modaps-eosdis-nasa-gov/wildfire-detections/fires_area"` and the input fields on this page, using one Spiral API key. It runs in the background: poll the run, or name a webhook to be told when it finishes.

**Do I need an account with Alexandria to use NASA FIRMS active fire detections · Fires area?**

No. Spiral runs it on its own Alexandria account and charges your Spiral balance.

**Can my AI agent use NASA FIRMS active fire detections · Fires area?**

Yes. Agents find and run it through Spiral's MCP server, CLI or agent skill, with the same API key.

