# nearest_hazardous_facility_name

> EPA FRS primary name of the nearest RMP-registered facility within 10 km, as published (upstream casing).

Source: https://docs.invariant-ai.com/fields/nearest_hazardous_facility_name

|  |  |
| --- | --- |
| Name | `nearest_hazardous_facility_name` |
| Layer | hazards |
| Type, unit | string, none |
| Sources (in order) | `EPA_FRS_RMP` |
| Cache | 7 days (`ttl_seconds` 604800) |

## What it is

EPA FRS primary name of the nearest RMP-registered facility within 10 km, as published (upstream casing).

## Nulls

status "absent": no RMP facility within 10 km, or the nearest has no usable name. "failed": the FRS service did not answer or returned an incomplete result. Also "failed" when several features are equally near and disagree on this value (all listed in the failure message).

## Example

```bash
curl -s https://api.invariant-ai.com/v1/fetch \
  -H "X-API-Key: $INVARIANT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"lat": 39.0438, "lng": -77.4874, "fields": ["nearest_hazardous_facility_name"]}'
```

Field object keys are described in [Responses](https://docs.invariant-ai.com/responses). Live definition: [`GET /v1/meta/fields`](https://docs.invariant-ai.com/api/meta-fields).
