The determination API allows you to see the FEMA flood zone determination for the given address or polygon.
The FLOOD ZONE DETERMINATION API allows users to request a Flood Zone Determination based on an address or property polygon. When the user makes a request to the API, a record id is immediately returned. A request must include a callback url to be notified when the Flood Zone Determination is complete. When the Flood Zone Determination is complete, the record id, complete status and a url will be submitted to the callback url. The user may then download the Flood Zone Determination in pdf format from the url provided.
Produces a determination for the given address or polygon.
searchType required | string Enum: "address" "polygon" Example: searchType=polygon Whether to search using an address or a polygon |
address | string Example: address=16 Lambert St, Boston, MA 02119 if searchType of address; the address to search |
polygon | string Example: polygon=POLYGON((-117.887%2033.6558,-117.877%2033.6558,-117.877%2033.6658,-117.887%2033.6658,-117.887%2033.6558)) if searchType of polygon; the polygon to search (in WKT format) |
callback_url | string Example: callback_url=https://my-service.com/callback The url to call after the determination has been finalised. Creating a determination is an asynchronous process and may not complete immediately. This url is called when the determination process has completed; that is:
The callback will receive a POST with the following data of content-type 'application/json'
For example:
This data having the following JSON Schema:
|
tracking_id | Array of strings one or more user ids for which tracking entries should be created. |
import requests import json url = f'https://api.nationalflooddata.com/v1/determination?searchtype=address&address=6615%20Cleveland%20Rd,%20OH%2044266' headers = { 'x-api-key': '<YOUR-API-KEY>' } response = requests.post(url, headers=headers) body = response.json() print(body)
{- "record_id": 20210101001001
}
customerId | string Example: AAABBB123 customer id assigned by National Flood Data |
recordId | string Example: 20210101010100100 record id returned when the determination was created |
{- "record_id": 20210101001001,
}
customerId | string Example: AAABBB123 customer id assigned by National Flood Data |
recordId | string Example: 20210101010100100 record id returned when the determination was created |
customerId | string Example: AAABBB123 customer id assigned by National Flood Data |
recordId | string Example: 20210101010100100 record id returned when the determination was created |