# nearest_documented_orphaned_well_distance_m

> Geodesic distance in metres to the nearest documented unplugged orphaned oil or gas well in the USGS Documented Orphaned Well Database 2026, searched within 50 km.

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

|  |  |
| --- | --- |
| Name | `nearest_documented_orphaned_well_distance_m` |
| Layer | hazards |
| Type, unit | float, meters |
| Sources (in order) | `USGS_ORPHANED_WELLS` |
| Cache | 180 days (`ttl_seconds` 15552000) |

## What it is

Geodesic distance in metres to the nearest documented unplugged orphaned oil or gas well in the USGS Documented Orphaned Well Database 2026, searched within 50 km. The database inventories 28 states.

## Nulls

status "absent": the point's state is not inventoried (unknown, not zero), or no documented well lies within 50 km. "failed": the Census geocoder or the stored reference could not be read.

## 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_documented_orphaned_well_distance_m"]}'
```

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).
