# residential_context_class_1km

> Band of 2020 Census housing units within 1 km: isolated (0), sparse (1-49), moderate (50-499) or dense (500 and more).

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

|  |  |
| --- | --- |
| Name | `residential_context_class_1km` |
| Layer | hazards |
| Type, unit | string, none |
| Sources (in order) | `CENSUS_TIGERWEB` |
| Cache | 180 days (`ttl_seconds` 15552000) |

## What it is

Band of 2020 Census housing units within 1 km: isolated (0), sparse (1-49), moderate (50-499) or dense (500 and more). A proxy for community-pushback exposure, not a distance to the nearest home.

## Nulls

"failed": TIGERweb did not answer, returned no blocks, or a block with a malformed GEOID.

## 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": ["residential_context_class_1km"]}'
```

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