# housing_units_within_1km

> 2020 Census housing units summed over whole Census blocks intersecting 1 km around the point (TIGERweb HU100).

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

|  |  |
| --- | --- |
| Name | `housing_units_within_1km` |
| Layer | hazards |
| Type, unit | integer, housing units |
| Sources (in order) | `CENSUS_TIGERWEB` |
| Cache | 90 days (`ttl_seconds` 7776000) |

## What it is

2020 Census housing units summed over whole Census blocks intersecting 1 km around the point (TIGERweb HU100). Edge blocks are counted whole, so the total runs high. A proximity-to-homes proxy, not sentiment.

## Nulls

"failed": TIGERweb did not answer, returned no blocks (coverage unverified, never zero-filled), a truncated result, or a block with an invalid GEOID, count or area. 0 means the returned blocks hold no housing units.

## 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": ["housing_units_within_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).
