# US Address Lookup: Census Tract & FEMA Flood Zone (`hydrocore/us-address-report`) Actor

Turn US addresses or coordinates into one clean row: geocode, county and FIPS, census tract/block group/block, congressional and state legislative districts, city, school district, metro area and FEMA flood zone with risk level and map date. Official Census and FEMA data, no key.

- **URL**: https://apify.com/hydrocore/us-address-report.md
- **Developed by:** [Hydrocore Data](https://apify.com/hydrocore) (community)
- **Categories:** Automation, AI
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.40 / 1,000 addresses

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## US Address Lookup: Census Tract & FEMA Flood Zone

Paste US addresses or latitude/longitude pairs and get one clean row per location: the standardized address and coordinates, county and FIPS codes, census tract, block group and block GEOIDs, the current congressional district, state senate and house districts, city or place, school district, metro and urban area, plus the FEMA flood zone with a plain-English risk level, base flood elevation, FIRM panel and map date. Built on the official US Census Geocoder and FEMA National Flood Hazard Layer, with no API keys.

### ✅ What you get

- Standardized address, latitude, longitude, city, state, ZIP
- County name and FIPS, state FIPS
- Congressional district, state senate district, state house district
- Census tract, block group, block, ZCTA, place, county subdivision, school district, metro and urban area
- FEMA flood zone, subtype, SFHA flag, risk label, base flood elevation, FIRM panel and effective date
- Summary paragraph for AI and a FEMA map link

### 🏆 Why this Actor

- **Two official sources in one row:** Census geographies and FEMA flood data together. One call per address instead of stitching two APIs together.
- **Every district at once:** congressional (as LA-2 style codes), state upper and lower chambers, county, place, school district and metro area for each address.
- **Join-ready GEOIDs:** tract, block group, block, county and state FIPS, ready to join American Community Survey or any Census dataset.
- **Flood risk you can read:** zone, "in special flood hazard area" true/false, and a risk label (high, moderate, minimal, not mapped), plus the FIRM panel date and a FEMA map link.
- **Fair billing:** addresses that do not match, points outside the US, duplicates and filtered rows are free.

### 💡 Use cases

**Apify Store use cases:** Real estate data · Enrich company profiles · Compliance & risk checks

- Real estate and insurance: flood zone and SFHA flag for every property in a list
- Political campaigns, advocacy and civic tech: map supporters or constituents to districts
- Market research and data science: attach census tracts and block groups to customer addresses for ACS joins
- Lending and compliance (CRA, HMDA prep): tract and county codes per address
- AI agents (ChatGPT, Claude, n8n): "which congressional district and flood zone is this address in?"

### 🚀 How to use

1. Paste addresses or "lat, lon" pairs, one per line.
2. Optional: turn the flood lookup off, keep only special flood hazard areas, or sort by flood risk.
3. Run, then open **Overview**, **Districts**, **Census geography** or **Flood**, or export.

### ⚙️ Input

| Field | What it does |
|---|---|
| `addresses` | US addresses or "latitude, longitude", one per line. Default example: the White House, 1 Canal St New Orleans, the Empire State Building. |
| `includeFlood` | FEMA flood zone lookup (default on). |
| `onlyFloodHazard` | Keep only special flood hazard areas (default off; other rows are free). |
| `sortBy` | Input order (default), highest flood risk first, or state then county. |
| `maxResults` | Most rows to save, default 1,000. |

Example input:

```json
{
  "addresses": [
    "2 Ocean Front Walk, Venice, CA 90291",
    "29.9511, -90.0715"
  ],
  "sortBy": "floodRisk"
}
```

### ⬆️ Output

One row per address or coordinate pair. `recordType` is `address` or `status` (a free row for an input that could not be matched). Every row has the same 35 keys in the same order; missing values are `null`. The example is a real row from a test run of the current build.

Overview fields:

| Field | Type | Example | Description |
|---|---|---|---|
| `matchedAddress` | string | "1 CANAL ST, NEW ORLEANS, LA, 70130" | Standardized address from the Census geocoder (null for coordinate inputs). |
| `countyName` | string | "Orleans Parish" | County (or parish / borough / equivalent). |
| `congressionalDistrict` | string | "LA-2" | Current US House district as STATE-NUMBER (AL = at large). |
| `censusTract` | string | "22071013502" | 11-digit census tract GEOID (state + county + tract), the key for ACS demographics. |
| `floodZone` | string | "X" | FEMA flood zone at the point (A, AE, AH, AO, VE, X, D...). null when not mapped or not requested. |
| `floodRisk` | string | "moderate (reduced by levee)" | Plain-English reading of the zone: high, moderate (0.2% annual chance or levee), minimal, undetermined, not mapped, or unknown when FEMA did not answer. |
| `latitude` | number | 29.950287 | Latitude (WGS84). |
| `longitude` | number | -90.064283 | Longitude (WGS84). |
| `status` | string | "ok" | ok, or why there is no report (no match, outside the US, invalid, error). Only address rows are charged. |

All 35 fields (in order): `recordType`, `matchedAddress`, `latitude`, `longitude`, `floodZone`, `specialFloodHazardArea`, `floodRisk`, `countyName`, `countyFips`, `congressionalDistrict`, `stateSenateDistrict`, `stateHouseDistrict`, `city`, `state`, `zip`, `censusTract`, `censusBlockGroup`, `censusBlock`, `incorporatedPlace`, `countySubdivision`, `schoolDistrict`, `metroArea`, `urbanArea`, `zcta`, `stateFips`, `floodZoneSubtype`, `baseFloodElevationFt`, `firmPanel`, `firmEffectiveDate`, `floodMapUrl`, `candidateCount`, `summaryText`, `inputValue`, `status`, `scrapedAt`.

Real row from a test run of the current build:

```json
{
  "recordType": "address",
  "matchedAddress": "1 CANAL ST, NEW ORLEANS, LA, 70130",
  "latitude": 29.950287,
  "longitude": -90.064283,
  "floodZone": "X",
  "specialFloodHazardArea": false,
  "floodRisk": "moderate (reduced by levee)",
  "countyName": "Orleans Parish",
  "countyFips": "22071",
  "congressionalDistrict": "LA-2",
  "stateSenateDistrict": "State Senate District 4",
  "stateHouseDistrict": "State House District 93",
  "city": "NEW ORLEANS",
  "state": "LA",
  "zip": "70130",
  "censusTract": "22071013502",
  "censusBlockGroup": "220710135022",
  "censusBlock": "220710135022023",
  "incorporatedPlace": "New Orleans city",
  "countySubdivision": "New Orleans city",
  "schoolDistrict": "Orleans Parish School District",
  "metroArea": "New Orleans-Metairie, LA Metro Area",
  "urbanArea": "New Orleans, LA Urban Area",
  "zcta": "70130",
  "stateFips": "22",
  "floodZoneSubtype": "AREA WITH REDUCED FLOOD RISK DUE TO LEVEE",
  "baseFloodElevationFt": null,
  "firmPanel": "22051C0225F",
  "firmEffectiveDate": "2018-02-02",
  "floodMapUrl": "https://msc.fema.gov/portal/search?AddressQuery=1%20CANAL%20ST%2C%20NEW%20ORLEANS%2C%20LA%2C%2070130",
  "candidateCount": 1,
  "summaryText": "1 CANAL ST, NEW ORLEANS, LA, 70130. Orleans Parish, LA. Congressional district LA-2. State legislature: State Senate District 4 / State House District 93. Census tract 22071013502. FEMA flood zone X, moderate (reduced by levee) risk, map effective 2018-02-02.",
  "inputValue": "1 Canal St, New Orleans, LA 70130",
  "status": "ok",
  "scrapedAt": "2026-11-11T21:14:40.729Z"
}
```

Views: **Overview**, **Districts**, **Census geography**, **Flood**, **Detailed (all fields)**. Export as JSON, CSV, Excel, XML or HTML from the Storage tab or the API (`/datasets/{id}/items?format=csv&view=overview`). The run summary (`OUTPUT` record in the key-value store) counts addresses requested, saved, not matched, duplicates, filtered out, rows over the cap and flood lookups that failed.

### 💰 Pricing

Competitive pricing, pay per result: **$0.003 per address** on the Free plan, less on higher plans, plus the $0.0005 Actor start. 1,000 addresses cost about $3 on Free, with districts and flood zone included. No-match, outside-US, duplicate and filtered rows are free.

| Event | What it is | Free | Bronze | Silver | Gold+ |
|---|---|---|---|---|---|
| Address | One address report saved (geocode, census geographies, districts and FEMA flood zone). No-match, outside-US, duplicate and filtered rows are free. | $0.003 | $0.0028 | $0.0026 | $0.0024 |
| Actor start | Once per run (Apify standard start event, per GB of memory; the default 256 MB = one fee) | $0.0005 | $0.0005 | $0.0005 | $0.0005 |

### 🔁 Integrations

Works with the Apify API, MCP (AI agents), Make, n8n, Zapier, Google Sheets and webhooks. Field names are stable camelCase, so mappings do not break between runs.

### ❓ FAQ

**Where does the data come from?**

The US Census Bureau Geocoder (current address ranges and current geographies, including the current congressional and state legislative districts) and the FEMA National Flood Hazard Layer map service. Both are official, public and free; no keys or logins.

**Why did an address not match?**

The Census geocoder matches street addresses against Census address ranges. PO boxes, new streets, missing house numbers or a missing city/state/ZIP can fail. Add the ZIP, check the spelling, or use coordinates. No-match rows are free.

**Can I use coordinates?**

Yes. Enter "latitude, longitude" (for example 29.9511, -90.0715) and you get every geography and the flood zone for that point. `matchedAddress` is null for coordinate inputs.

**What does the flood risk label mean?**

High = zones A or V, the 1% annual chance special flood hazard area (V adds coastal wave action). Moderate = zone X with 0.2% annual chance or reduced risk behind a levee. Minimal = other zone X. Not mapped = FEMA has no digital flood map at that point. It is an informational reading of FEMA data, not an official flood determination.

**Is this an official flood zone determination?**

No. Lenders use certified flood zone determinations. This Actor reads the same FEMA map layer and is ideal for screening, research and prioritizing, and `floodMapUrl` links to the official FEMA map.

**Which districts are returned?**

The current US House district and state legislative districts (upper and lower) that the Census geocoder serves today, plus county, place, county subdivision, school district, metro and urban area. Some states have no lower chamber (Nebraska) and DC has a single council layer.

**What are GEOIDs good for?**

`censusTract`, `censusBlockGroup` and `countyFips` are the keys used by the American Community Survey and most Census tables, so you can add income, age or housing data to your addresses.

**How accurate are the coordinates?**

They are interpolated along the street segment by the Census geocoder, usually within a few dozen meters of the building, which is accurate enough for district and tract assignment in most cases.

**Is it good for AI agents?**

Yes. One address in, one row out with a `summaryText` paragraph, stable field names and descriptions in the dataset schema.

**How fast is it?**

About 1 to 2 seconds per address, 4 at a time, so 1,000 addresses take roughly 5 to 10 minutes at 256 MB.

### Ready-made examples

- [US landmarks: districts, census tracts and flood zones](https://apify.com/hydrocore/us-address-report/examples/us-landmarks-districts-census-tracts-and-flood-zones)

### 🛟 Support

Found a problem or need a field? Open an issue on the Issues tab; we read every issue.

### Changelog

- 1.0.4 (2026-11-12): added a ready-made Store example.
- 1.0 (2026-11-11): first release.

# Actor input Schema

## `addresses` (type: `array`):

US street addresses ("1600 Pennsylvania Ave NW, Washington, DC 20500") or latitude, longitude pairs ("29.9511, -90.0715"), one per line. Include the city and state or ZIP for the best match. The same address twice is reported once.

## `includeFlood` (type: `boolean`):

Look up the FEMA National Flood Hazard Layer zone, risk level, base flood elevation and FIRM panel date for each point.

## `onlyFloodHazard` (type: `boolean`):

Keep only addresses in a FEMA special flood hazard area (zones A and V, where flood insurance is usually required for federally backed mortgages). Other rows are free.

## `sortBy` (type: `string`):

Order of the rows (applied before Max results).

## `maxResults` (type: `integer`):

Most address rows to save (and charge). Default 1,000.

## Actor input object example

```json
{
  "addresses": [
    "1600 Pennsylvania Ave NW, Washington, DC 20500",
    "1 Canal St, New Orleans, LA 70130",
    "350 5th Ave, New York, NY 10118"
  ],
  "includeFlood": true,
  "onlyFloodHazard": false,
  "sortBy": "input",
  "maxResults": 1000
}
```

# Actor output Schema

## `overview` (type: `string`):

Address, county, districts and flood zone.

## `districts` (type: `string`):

Political and administrative areas.

## `census` (type: `string`):

GEOIDs for joining Census / ACS data.

## `flood` (type: `string`):

FEMA flood zone details.

## `results` (type: `string`):

Every field for each row.

## `summary` (type: `string`):

Run summary: addresses requested, saved, no match, duplicates, filtered out, rows over the cap, flood lookups that failed and errors.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "addresses": [
        "1600 Pennsylvania Ave NW, Washington, DC 20500",
        "1 Canal St, New Orleans, LA 70130",
        "350 5th Ave, New York, NY 10118"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("hydrocore/us-address-report").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "addresses": [
        "1600 Pennsylvania Ave NW, Washington, DC 20500",
        "1 Canal St, New Orleans, LA 70130",
        "350 5th Ave, New York, NY 10118",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("hydrocore/us-address-report").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "addresses": [
    "1600 Pennsylvania Ave NW, Washington, DC 20500",
    "1 Canal St, New Orleans, LA 70130",
    "350 5th Ave, New York, NY 10118"
  ]
}' |
apify call hydrocore/us-address-report --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,hydrocore/us-address-report"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/APK44N6UuHsV99AaY/builds/pUJtyFD6XMeheIcds/openapi.json
