FEMA Disaster Declarations Feed avatar

FEMA Disaster Declarations Feed

Pricing

from $20.00 / 1,000 declaration rows

Go to Apify Store
FEMA Disaster Declarations Feed

FEMA Disaster Declarations Feed

Pricing

from $20.00 / 1,000 declaration rows

Rating

0.0

(0)

Developer

Jason Ramirez

Jason Ramirez

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

2 days ago

Last modified

Categories

Features

Limited permissions

Share

An Apify Actor that requests disaster declaration records from the public OpenFEMA DisasterDeclarationsSummaries endpoint and writes normalized rows to the default dataset. No API key is required according to the supplied project brief. Live endpoint behavior has not been verified in this build.

For restoration and roofing contractors watching declared counties, insurance and mortgage teams, and researchers.

One declaration produces one row per designated area. A single disaster therefore appears once per county or area it covers. The Actor preserves these API records without combining areas or inventing missing values.

Inputs

All filters are optional. Dates are UTC calendar dates, inclusive at both ends. The query uses ge on the start and lt on the day after the end. Defaults are computed at runtime: from 90 days before today through today. The default limit is 200 rows, with an allowed range of 1 through 10000. States are normalized to uppercase. Multiple values within a filter are ORed; different filters are ANDed.

{
"states": ["FL", "TX"],
"declarationTypes": ["DR", "EM"],
"incidentTypes": ["Hurricane", "Flood"],
"declaredFrom": "2026-09-01",
"declaredTo": "2026-10-31",
"limit": 200
}

Use {} for the runtime defaults. Declaration types are DR (major disaster), EM (emergency), and FM (fire), as described in the project brief. Incident values are passed through exactly, with OData string escaping.

Output

FieldValue
disasterNumberAPI disaster identifier, or null
femaDeclarationStringAPI declaration string, or null
stateAPI state code, or null
declarationTypeAPI declaration type, or null
incidentTypeAPI incident type, or null
titledeclarationTitle, or null
declarationDateAPI date string, or null
incidentBeginDateAPI date string, or null
incidentEndDateAPI date string, or null
designatedAreaAPI designated area, or null
fiscalYearDeclaredfyDeclared, or null
iaProgramDeclaredBoolean or null
paProgramDeclaredBoolean or null
hmProgramDeclaredBoolean or null
retrievedAtRun timestamp in UTC ISO format
sourceOpenFEMA

Program flags accept booleans, numeric 0/1, and strings 0, 1, true, false. Missing or unrecognized flags remain null.

Summary and limits

The default key-value store receives LAST_RUN_SUMMARY with runAt, windowFrom, windowTo, totalReportedByApi, emitted, complete, and notes. Unknown totals remain null. A successful empty result is valid and explicitly noted. A paging failure retains gathered rows and sets complete: false with the failed offset. A first-page failure stores the summary and throws to fail the run. Reaching the row limit with additional or unknown records sets complete: false.

Requests use a maximum page size of 1000, skip offsets, descending declaration date order, and a 60-second request timeout. There are no automatic retries. Offset paging is not a transactional snapshot; concurrent source changes can affect results, and equal-date records have no additional sort key. API counts are reported as supplied rather than independently verified.

Declarations are added and amended by FEMA on its own schedule. This feed is not a forecast or an assurance of eligibility, coverage, or funding. The API response shape and live filter compatibility are asserted from the supplied brief; tests use synthetic fixtures only.

Local run

Node.js 20 or later is required. Install dependencies with npm install, then run npm start. For local Apify storage, place input JSON at storage/key_value_stores/default/INPUT.json. Dataset output and LAST_RUN_SUMMARY use the SDK default stores. The Dockerfile uses the Apify Node 22 base image.

Run npm test for offline tests. They use Node's built-in test runner, injected fetch functions, and local fixtures; no dependency installation or network is needed for these tests.

Publication gate

This build does not publish or configure billing. Pay-per-event per-row monetization, including any required SDK charge integration and event identifier, must be configured and verified by the owner before publication. No price or demand claim is made. No live API run, dependency installation, Docker build, or Apify runtime integration has been performed here.