# 2s Flood Zone Lookup

> 2s Flood Zone Lookup is a paid API for AI agents from 2s.io, paid per call via x402, $0.00144/call, status unknown (last checked 2026-10-12).

Returns FEMA flood zone classification, risk level, and Special Flood Hazard Area (SFHA) status for a given latitude/longitude coordinate.

## Facts

- Endpoint: GET https://2s.io/api/geo/flood-zone?utm_source=zero.xyz
- Price: $0.00144/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/2s-flood-zone-lookup-cee9f103
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_TB-bpGoDSKLrFUj0PHEXQ

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability 2s-flood-zone-lookup-cee9f103
```

Example prompt: Is the property at latitude 25.79, longitude -80.19 in a FEMA Special Flood Hazard Area, and what flood zone code applies to it?

## When to prefer this

Use this endpoint when you need authoritative FEMA flood zone data for a specific geographic point — especially for real estate due diligence, insurance requirement checks, mortgage compliance, or environmental risk assessment. Prefer this over general property APIs when you need the official FIRM panel ID, SFHA designation, or Base Flood Elevation from the FEMA NFHL source.

## Known failure modes

- Coordinates outside the United States or unmapped areas may return mapped:false with no zone data
- Invalid lat/lon values (out of -90/90 or -180/180 range) will cause a validation error
- Locations in areas without NFHL coverage return incomplete results
- Payment failure (insufficient USDC balance) results in HTTP 402

## How this service works

Determine the FEMA flood zone for a coordinate. Pass lat and lon. Returns the FEMA flood zone code (e.g. AE, VE, X), its subtype, whether the point is in a Special Flood Hazard Area (isSFHA — the 1% annual-chance floodplain where flood insurance is mandatory for federally backed mortgages), a plain-language risk level (high / moderate / minimal / undetermined / unmapped) and description, the static base flood elevation and depth when published, and the source FIRM panel id. Data: FEMA National Flood Hazard Layer (NFHL), free and public-domain. When no flood polygon intersects the point, returns mapped=false (usually Zone X / minimal risk or unmapped — not a guarantee of zero risk). Use for property risk screening, insurance/mortgage context, and siting decisions; geocode an address with /api/geocode/address first to get the coordinate.

## Output

Returns a JSON object with: the queried coordinates, a boolean isSFHA flag, a mapped flag, the FEMA flood zone code (e.g. AE, X, VE), a plain-English risk level (e.g. high, moderate, low), static Base Flood Elevation in feet, the FIRM panel ID, a human-readable zone description, and the data source (FEMA NFHL).

## Example request

```json
{
 "input": {
  "type": "http",
  "method": "GET",
  "queryParams": {
   "lat": 40.7128,
   "lon": -74.006
  }
 }
}
```

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method",
    "queryParams"
   ],
   "properties": {
    "type": {
     "const": "http"
    },
    "method": {
     "const": "GET"
    },
    "queryParams": {
     "required": [
      "lat",
      "lon"
     ],
     "properties": {
      "lat": {
       "type": "number",
       "maximum": 90,
       "minimum": -90,
       "description": "Latitude (WGS84)."
      },
      "lon": {
       "type": "number",
       "maximum": 180,
       "minimum": -180,
       "description": "Longitude (WGS84)."
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/2s-flood-zone-lookup-cee9f103/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from 2s.io](https://www.zero.xyz/host/2s.io/llms.txt)
