drought.county_stats
mock data$0.001 / callUS County Drought Statistics
Retrieve weekly county-level drought statistics from the USDA/NOAA US Drought Monitor for a specific county or all counties in a US state. Pass a 5-digit FIPS code (e.g. "48113" for Dallas County TX, "06037" for Los Angeles County CA) to get a single county, or a 2-letter state abbreviation (e.g. "TX", "CA", "NE") to get all counties in that state. Returns drought severity by area (square miles) at each drought level (D0–D4) per week. Useful for granular agricultural impact assessment, insurance risk modeling, and local government drought planning.
Input schema
Area of interest: either a 5-digit county FIPS code (e.g. "48113" for Dallas County TX, "06037" for Los Angeles County CA) or a 2-letter state abbreviation to get all counties in a state (e.g. "TX", "CA", "NE").
End date for the query range in YYYY-MM-DD format (e.g. "2022-08-14"). Maximum range is 1 year from start_date.
Start date for the query range in YYYY-MM-DD format (e.g. "2022-08-01"). USDM publishes weekly on Tuesdays; dates snap to the nearest release.
How drought levels are counted: "cumulative" (default) means each D-level includes worse levels; "categorical" means each level is non-overlapping and mutually exclusive.
Call via REST
curl -X POST https://unifyapi.pro/api/call/drought.county_stats \
-H "Authorization: Bearer uak_live_..." \
-H "Content-Type: application/json" \
-d '{"aoi":"<aoi>","end_date":"<end_date>","start_date":"<start_date>","statistics_type":"<statistics_type>"}'