Description

Returns FEMA flood data via a redirect to services provided by National Flood Data .

National Flood Data maintains up-to-date FEMA flood maps, and makes this data available as an API, in geojson format and as a static or dynamic map. National Flood Data is also one of the few companies to offer date from hundreds of older FEMA flood maps that are still valid but are not provided by FEMA in a digital form.

Giraffe Geo users may sign a license agreement for FEMA flood data with either Giraffe Geo or National Flood Data and access the data through Giraffe Geo.

Flood Data

The endpoint

https://floodapi.giraffegeo.com/data

provides a redirect to the Nation Flood Data "data" api: http://nationalflooddata.com/flood/

This is the primary National Flood Data api allows fro several search options and returns exhaustive FEMA flood data.

Example python implementation

import requests
headers = {'x-api-key':'your_key'}

payload = {
        'searchtype':'coord',
        'lat':'34.1',
        'lng':'-118.27'
          }
s = requests.get('https://floodapi.giraffegeo.com/data',headers=headers,params=payload)
s = s.json()

Flood Map Content

The endpoint

https://floodapi.giraffegeo.com/floodmap

provides a redirect to the Nation Flood Data "flood map content" api: http://nationalflooddata.com/flood/floodmapapi/

This api returns flood map polygons in geojson format for a small square around the lat/lng used in the query.

Dynamic Flood Map

The endpoint

http://floodmap.giraffegeo.com/dynamic.html

redirects to National Flood Data's dynamic map: http://nationalflooddata.com/flood/dynamicfloodmap/

This map allows the user to zoom and pan and may be embedded in partner sites. Note that the url uses http rather than https.

Static Flood Map

The endpoint

http://floodmap.giraffegeo.com/static.html

redirects to National Flood Data's static map: http://nationalflooddata.com/flood/staticfloodmap/

This map returns a url for a static map image that loads very quickly and can be embedded in a web display or saved to be embedded in a static display. Note that the url uses http rather than https.