How to query N
ational Flood Insurance Program
with AgentQL

Looking for a better way to query National Flood Insurance Program? Say goodbye to fragile XPath or DOM selectors that easily break with website updates. AI-powered AgentQL ensures consistent data querying across various platforms, from National Flood Insurance Program to any other website, regardless of UI changes.

Not just for National Flood Insurance Program

Smart selectors work anywhere

https://floodsmart.gov/

URL

Input any webpage.

{
  flood_map_search_tool(Tool to search for flood maps) {
    search_bar
    search_button
    results[] {
      address
      flood_risk
    }
  }
}

Query

Describe data in natural language.

{
  "flood_map_search_tool": {
    "search_bar": "Search for an address",
    "search_button": "Search",
    "results": [
      {
        "address": "1600 Pennsylvania Ave NW, Washington, DC 20500",
        "flood_risk": "Low"
      }
    ]
  }
}

Returns

Receive accurate output in seconds.

How to use AgentQL on National Flood Insurance Program

A dotted lineA blue lineA blue line
1

Install the SDK

Install code for JS and Python

npm install agentql

pip3 install agentql

2

Test and refine

Use the query debugger

3

Run your script

Install code for both JS and Python

agentql init

python example.py

More Websites to Query

Get started

Holds no opinions on what’s and how’s. Build whatever makes sense to you.