Determination (1.0.0)

Download OpenAPI specification:

Introduction

The determination API allows you to see the FEMA flood zone determination for the given address or polygon.

FLOOD ZONE DETERMINATION API

The FLOOD ZONE DETERMINATION API allows users to request a Flood Zone Determination based on an address or property polygon.

A request immediately returns a record id. The determination itself completes later:

  • straight away for properties we can determine automatically, and for trial API keys (which get a draft determination, marked as not valid);
  • otherwise, once it has been reviewed by National Flood Data.

When it completes, a PDF of the Flood Zone Determination form and a JSON copy of its values are produced. If the request included a callback_url, we POST the record id, links to both files and the PDF itself to that url. You can also fetch links to the files at any time with GET /customer/{customerId}/determination/{recordId}/complete/pdf.

The callback's request body is normally about 1.5 MB and is never more than 5 MB (5,000,000 bytes), so make sure your endpoint accepts bodies of at least that size. Many web servers and frameworks default to a lower limit, such as 1 MB for nginx.

Determination JSON

The JSON copy of a completed determination, linked from the callback (presignedUrlJson) and from GET .../complete/pdf (presignedUrlComplete).

lender_name
string

Section 1, lender/servicer name and address, from the request. On draft determinations, a notice that the determination is not valid.

collateral_description
string

Section 1, the property address.

lender_id
string

Section 1, lender/servicer id, from the request.

loan_id
string

Section 1, loan identifier, from the request.

amount
string

Section 1, amount of flood insurance required, from the request.

nfip_community_name
string

A.1

county
string

A.2

state
string

A.3, two-letter state code.

nfip_community_number
string

A.4

nfip_map_number
string

B.1, the FIRM panel number.

nfip_map_panel_effective
string

B.2, the panel's effective date.

letter_of_map_change
boolean

B.3, whether a Letter of Map Change applies.

letter_of_map_change_date
string

B.3

letter_of_map_change_case_no
string

B.3

flood_zone_determination
string

B.4, the flood zone, for example X, X500, A or AE. Empty on draft determinations.

no_nfip_map
string

B.5. Usually empty.

participation
boolean or null

C.1/C.2, whether federal flood insurance is available (the community participates in the NFIP). null if not known.

emergency
boolean or null

C.1, true for the Emergency Program, false for the Regular Program. null if not known.

coastal_barrier_resources_area
boolean

C.3

coastal_barrier_resources_area_date
string

C.3

sfha
boolean

D, whether the building is in a Special Flood Hazard Area.

comments
string
preparer
string
date
string

Date of determination.

{
  • "lender_name": "string",
  • "collateral_description": "6615 CLEVELAND RD\nRAVENNA, OH 44266",
  • "lender_id": "string",
  • "loan_id": "string",
  • "amount": "string",
  • "nfip_community_name": "string",
  • "county": "string",
  • "state": "OH",
  • "nfip_community_number": "390471",
  • "nfip_map_number": "39133C0145D",
  • "nfip_map_panel_effective": "05/03/2010",
  • "letter_of_map_change": true,
  • "letter_of_map_change_date": "string",
  • "letter_of_map_change_case_no": "string",
  • "flood_zone_determination": "X",
  • "no_nfip_map": "string",
  • "participation": true,
  • "emergency": true,
  • "coastal_barrier_resources_area": true,
  • "coastal_barrier_resources_area_date": "string",
  • "sfha": true,
  • "comments": "string",
  • "preparer": "string",
  • "date": "01/01/2021"
}

determination

Requests that a new determination be created for the given address or polygon

Produces a determination for the given address or polygon.

Authorizations:
ApiKeyAuth
query Parameters
searchtype
required
string
Enum: "address" "polygon"
Example: searchtype=polygon

Whether to search using an address or a polygon. Lowercase.

address
string
Example: address=16 Lambert St, Boston, MA 02119

if searchtype is 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 is polygon; the polygon to search (in WKT format)

callback_url
string
Example: callback_url=https://my-service.com/callback

The url to POST to when the determination has completed, that is when the PDF and JSON are ready to download. See the determinationComplete callback for what is sent.

tracking_id
Array of strings

One or more ids, comma-separated, to create tracking entries for. If omitted, a single entry with the id any is created.

lender_name
string
Example: lender_name=First Bank 1 Main St Boston, MA 02119

Section 1 of the form, lender/servicer name and address. Separate lines with newlines (%0A). Not shown on draft determinations.

lender_id
string
Example: lender_id=12345

Section 1 of the form, lender/servicer id.

loan_id
string
Example: loan_id=LN-0001

Section 1 of the form, loan identifier.

amount
string
Example: amount=$250,000

Section 1 of the form, amount of flood insurance required.

Responses

Callbacks

Request samples

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)

Response samples

Content type
application/json
{
  • "record_id": "20210101_0001_001"
}

Callback payload samples

Callback
POST: Sent when the determination has completed
Content type
application/json
{}

Returns links to the PDF and JSON of the completed determination

Returns presigned urls, valid for 60 minutes, for the PDF and the JSON of the completed determination. Until the determination has completed, the urls are null.

Authorizations:
ApiKeyAuth
path Parameters
customerId
required
string
Example: AAABBB123

customer id assigned by National Flood Data

recordId
required
string
Example: 20210101_0001_001

record id returned when the determination was created

Responses

Response samples

Content type
application/json
{}

Creates a tracking entry for the given record id

The entry is created for the customer id that the API key belongs to. The customerId in the path is not used.

Authorizations:
ApiKeyAuth
path Parameters
customerId
required
string
Example: AAABBB123

customer id assigned by National Flood Data

recordId
required
string
Example: 20210101_0001_001

record id returned when the determination was created

Responses

Deletes a tracking entry for the given record id

Deletes the entry for the customer id that the API key belongs to. The customerId in the path is not used. Succeeds whether or not the entry exists.

Authorizations:
ApiKeyAuth
path Parameters
customerId
required
string
Example: AAABBB123

customer id assigned by National Flood Data

recordId
required
string
Example: 20210101_0001_001

record id returned when the determination was created

Responses