FEMA Disaster & Emergency Declarations Scraper avatar

FEMA Disaster & Emergency Declarations Scraper

Pricing

from $2.00 / 1,000 scraped results

Go to Apify Store
FEMA Disaster & Emergency Declarations Scraper

FEMA Disaster & Emergency Declarations Scraper

Scrapes recent FEMA disaster declarations with optional state and incident-type filters. Returns disaster notice, type, location, date, FEMA link, and scrape timestamp.

Pricing

from $2.00 / 1,000 scraped results

Rating

0.0

(0)

Developer

Data Pilot

Data Pilot

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

a day ago

Last modified

Categories

Share

๐Ÿšจ FEMA Disaster & Emergency Declarations Scraper is a powerful Apify Actor designed to discover, track, and collect official FEMA Disaster & Emergency Declarations directly from FEMA's OpenFEMA API. This tool provides comprehensive FEMA Disaster & Emergency Declarations intelligence including declaration title, incident type, affected location, declaration date, and direct listing link for any state or incident type. Whether you're building an emergency-response dashboard, tracking disaster trends, or conducting risk research, the FEMA Disaster & Emergency Declarations Scraper delivers actionable FEMA Disaster & Emergency Declarations insights efficiently.

With direct OpenFEMA API integration, OData filtering, automatic historical fallback, and reliable Apify Dataset delivery, the FEMA Disaster & Emergency Declarations Scraper ensures comprehensive FEMA Disaster & Emergency Declarations coverage across any state, incident type, or date window. It focuses on key FEMA Disaster & Emergency Declarations signals including type, location, and date, making it an essential tool for emergency management research and disaster-risk intelligence.


๐Ÿ“‹ Table of Contents


๐Ÿ”ฅ Features

  • OpenFEMA API Integration โ€“ Direct integration with FEMA's official Disaster Declarations Summaries API for accurate FEMA Disaster & Emergency Declarations data.
  • State-Level Filtering โ€“ Narrow FEMA Disaster & Emergency Declarations results to a specific U.S. state using standard state codes.
  • Incident Type Filtering โ€“ Filter declarations by incident type (e.g., Fire, Hurricane, Severe Storm) with automatic title-case normalization.
  • Configurable Date Window โ€“ Search declarations from any number of days back via daysBack.
  • OData Query Building โ€“ Constructs proper OData $filter expressions combining date, state, and incident type conditions.
  • Automatic Historical Fallback โ€“ Falls back to the most recent matching declarations if no results are found within the requested date window.
  • Paginated Fetching โ€“ Automatically pages through results using $top/$skip until maxResults is reached.
  • Proxy Fallback Handling โ€“ Automatically retries without a proxy if a proxied request fails.
  • Residential Proxy Support โ€“ Optional Apify residential proxy for reliable FEMA Disaster & Emergency Declarations access.
  • Retry Logic with Backoff โ€“ Automatically retries failed requests with increasing delay between attempts.
  • Incremental Dataset Push โ€“ Pushes each page's FEMA Disaster & Emergency Declarations records to Apify Dataset immediately.
  • Detailed Logging โ€“ Comprehensive progress logging for every stage of the FEMA Disaster & Emergency Declarations run.

๐Ÿ“Š Data Source

OpenFEMA Disaster Declarations Summaries API

  • Authority: Official U.S. Federal Emergency Management Agency (FEMA) open data platform
  • Endpoint: fema.gov/api/open/v2/DisasterDeclarationsSummaries
  • Coverage: All U.S. states and territories with federally declared disasters and emergencies
  • Data: Declaration title, incident type, location, declaration date, and disaster page link
  • Access: Public, key-less JSON API
  • Update Frequency: Reflects FEMA's current official declarations at time of run

โš™๏ธ How It Works

The FEMA Disaster & Emergency Declarations Scraper accepts an optional state, incident type, and lookback window, then builds an OData filter expression combining all three conditions. It queries the OpenFEMA API in pages, ordered by most recent declaration date, normalizing each result into a clean record with title, incident type, location, date, and a direct link to the disaster's FEMA page. If no declarations are found within the requested date window, the Actor automatically falls back to fetching the most recent historical declarations matching the same state/type filters, so a run never returns empty due to an overly narrow date range. Every batch of FEMA Disaster & Emergency Declarations records is pushed to the Apify Dataset as it's collected.

Key Processing Steps:

  1. Input Parsing โ€“ Accept state, incident type, days-back window, and result cap
  2. Proxy Setup โ€“ Configure Apify residential proxy if enabled
  3. Filter Construction โ€“ Build an OData $filter expression from date, state, and incident type
  4. Session Init โ€“ Create a Chrome-impersonated HTTP session for reliable API access
  5. Page Loop โ€“ Request successive pages of FEMA Disaster & Emergency Declarations using $top/$skip
  6. Record Normalization โ€“ Build a clean record with notice, type, location, date, and link
  7. Incremental Push โ€“ Push each page's records immediately as they're fetched
  8. Result Capping โ€“ Stop once maxResults is reached or no further items are returned
  9. Historical Fallback โ€“ Re-query without a date filter if zero results were found initially
  10. Proxy Fallback โ€“ Retry without a proxy if the proxied request fails
  11. Rate Limiting โ€“ Apply a short delay between page requests
  12. Summary Logging โ€“ Report the total number of declarations collected

Key Benefits:

  • Pull official FEMA Disaster & Emergency Declarations for any state or incident type without manual searching
  • Never come back empty thanks to automatic historical fallback
  • Track new federal disaster activity as it's declared
  • Feed emergency-response dashboards, risk-assessment tools, or research pipelines
  • Automate recurring FEMA Disaster & Emergency Declarations checks as new events are declared

๐Ÿ“ฅ Input

The Actor accepts the following input parameters:

FieldTypeDefaultDescription
statestring""Two-letter U.S. state code to filter FEMA Disaster & Emergency Declarations by (e.g., "CA", "TX").
incidentTypestring""Incident type to filter by (e.g., "Fire", "Hurricane", "Severe Storm").
daysBackinteger90Number of days back from today to search for declarations.
maxResultsinteger100Maximum number of FEMA Disaster & Emergency Declarations records to collect.
proxyConfigurationobject{"useApifyProxy": true}Apify Proxy configuration.

Example Input:

{
"state": "FL",
"incidentType": "Hurricane",
"daysBack": 180,
"maxResults": 100
}

Search Nationwide for Recent Declarations:

{
"daysBack": 30
}

Search a Specific State Only:

{
"state": "CA",
"maxResults": 50
}

๐Ÿ“ค Output

The Actor pushes FEMA Disaster & Emergency Declarations records with the following structure:

FieldTypeDescription
noticestringOfficial declaration title
typestringIncident type (e.g., Fire, Flood, Hurricane)
locationstringAffected area and state
datestringDeclaration date (YYYY-MM-DD)
linkstringDirect URL to the FEMA Disaster & Emergency Declarations page
scraped_atstringISO 8601 timestamp of when the record was scraped

Example FEMA Disaster & Emergency Declarations Record:

{
"notice": "Florida Hurricane Milton",
"type": "Hurricane",
"location": "Sarasota County, FL",
"date": "2026-07-22",
"link": "https://www.fema.gov/disaster/4801",
"scraped_at": "2026-08-17T09:00:00.000Z"
}

๐Ÿงฐ Technical Stack

  • API: OpenFEMA Disaster Declarations Summaries API (JSON, OData-filterable)
  • HTTP Client: curl_cffi with Chrome TLS fingerprint impersonation for reliable FEMA Disaster & Emergency Declarations access
  • Query Language: OData $filter, $orderby, $top, $skip for filtering and pagination
  • Date Handling: date/datetime with timezone-aware UTC timestamps
  • Async: asyncio with executor-run blocking requests for non-blocking page fetching
  • Proxy: Apify Proxy, optional via useApifyProxy, with automatic no-proxy fallback on failure
  • Logging: Apify Actor logging system
  • Platform: Apify Actor serverless environment

๐Ÿ“Š Data Fields Explained

Identification

  • notice / link: The official declaration title and direct link to the FEMA Disaster & Emergency Declarations page

Incident Details

  • type: The category of disaster or emergency (e.g., Hurricane, Fire, Flood)
  • location: The designated area and state affected

Timing

  • date: The official declaration date
  • scraped_at: When this FEMA Disaster & Emergency Declarations record was collected

๐ŸŽฏ Use Cases

  • Emergency Management โ€“ Track active and historical FEMA Disaster & Emergency Declarations by state or type
  • Risk Assessment โ€“ Analyze disaster frequency and type patterns for insurance or planning purposes
  • Academic Research โ€“ Study disaster trends and federal response patterns at scale
  • News & Media Monitoring โ€“ Source authoritative declaration data for disaster reporting
  • Nonprofit & Relief Coordination โ€“ Identify newly declared disaster areas for aid deployment
  • Policy Analysis โ€“ Monitor federal disaster response activity over time
  • Real Estate & Insurance Research โ€“ Cross-reference property locations against declared disaster history
  • Alert Systems โ€“ Build recurring state or incident-type alerts for new declarations

๐Ÿš€ Quick Start

1. Prepare Input

Go to Apify Console and enter:

{
"state": "TX",
"daysBack": 60,
"maxResults": 50
}

2. Run the Actor

Click Start. The Actor will:

  • Build an OData filter from your state, type, and date window
  • Query the OpenFEMA API and page through results
  • Fall back to historical data automatically if nothing matches the date window
  • Push each batch of FEMA Disaster & Emergency Declarations records to the Dataset

3. Monitor Progress

Console shows:

๐Ÿšจ Querying FEMA declarations for the last 60 days (State: TX)...
๐ŸŽ‰ Complete! Successfully collected 18 FEMA declarations.

4. View & Download Results

  • Results Tab: All FEMA Disaster & Emergency Declarations records
  • Export: JSON, CSV, Excel, or HTML
  • Filter: By state, incident type, or date
  • API Access: Available via the Apify API

โš™๏ธ Configuration

State and type filtered:

{
"state": "LA",
"incidentType": "Flood"
}

Nationwide, most recent:

{
"daysBack": 14,
"maxResults": 100
}

No filters, broad historical pull:

{
"daysBack": 365,
"maxResults": 200
}

๐Ÿ“ˆ Performance

Processing Speed

  • One request per page of up to 100 declarations, with automatic retry on failures
  • 0.3 second delay between page requests to reduce blocking
  • Automatic historical fallback adds one additional request only when needed

Resource Usage

  • Memory: Low, since no browser instance is launched
  • Network: One request per result page, plus a fallback request if applicable
  • Proxy: Optional residential proxy tunnel with automatic no-proxy fallback on failure

โš ๏ธ Important Notes

  • Fair Use: Respects the OpenFEMA public API and applies pacing delays between requests
  • Public Data Only: Retrieves only publicly published FEMA Disaster & Emergency Declarations
  • Legal: Not legal, emergency-management, or insurance advice โ€” consult official FEMA resources and qualified professionals for decisions based on this data

Data Quality

  • Freshness: Reflects OpenFEMA's published declarations at time of run
  • Completeness: Very recent or narrow date windows may trigger the historical fallback if no declarations exist yet
  • Accuracy: Sourced directly from FEMA's official OpenFEMA API
  • Verification: Cross-check high-stakes figures against the official FEMA disaster page for each declaration

Best Practices

  • Combine state and incidentType filters together for the most targeted FEMA Disaster & Emergency Declarations results
  • Increase daysBack for broader historical coverage, or keep it short for the freshest declarations
  • Watch the logs for the historical fallback notice, which indicates your date window returned no fresh matches
  • Re-run periodically to catch newly issued declarations
  • Always verify details directly on the official FEMA disaster page before using them for critical decisions

Terms of Use:

  • Use for legitimate research, emergency planning, and risk-assessment purposes
  • Respect FEMA's OpenFEMA API terms of use
  • Attribute FEMA/OpenFEMA as the original data source where required
  • Use data responsibly

Disclaimer: FEMA Disaster & Emergency Declarations Scraper is provided as-is for research and informational purposes. Users are responsible for compliance with OpenFEMA's terms of use. This is not legal, emergency-management, or insurance advice โ€” always verify critical details directly on FEMA's official website.


โš–๏ธ FEMA Disaster & Emergency Declarations Excellence

This Actor is optimized for FEMA Disaster & Emergency Declarations research with:

  • โœ… State and incident-type filtered search
  • โœ… OData-powered date, state, and type filtering
  • โœ… Automatic historical fallback for zero-result windows
  • โœ… Incremental, real-time Dataset push
  • โœ… Retry logic with proxy fallback
  • โœ… Production-ready code