SourceFinch Verified · Disasters & emergency management

DataSetCodes

DataSetCodes from FEMA OpenFEMA: the 200 most recently ordered records (or the whole small reference set), as structured fields for change monitoring.

Monitor this sourceAPI, CLI, SDK and MCP

What changed4 changes in 7 days, latest

At a glance

Jurisdiction
United States (federal)
Publisher updates
Updated when FEMA publishes dataset changes
Recommended schedule
Daily for your monitor; SourceFinch verifies the recipe daily
Records per run
200 in the latest run
Record key
id
Acquired from
Publisher's public API: https://www.fema.gov/api/open/v1/DataSetCodes?$top=200&$orderby=id%20desc
Recipe
v1.0.0, approved November 17, 2026
Version notes
First Verified version generated 2026-11-17 from batch backlog.
Verified since
November 18, 2026
Last green run
November 21, 2026
Changes, last 7 days
4 · see what changed

What the data contains

DataSetCodes published through FEMA's keyless OpenFEMA API. Each run reads up to 200 records ordered for monitoring new and changed rows. Personal contact fields are not selected. OpenFEMA terms require citing the dataset and stating that products using the API are not endorsed by FEMA. SourceFinch is independent of FEMA.

Fields and types

Every record has these fields. The key field id identifies a record across runs, so changes are reported field by field.

FieldTypeDescription
datasetidstring, nullableOpenFEMA field `datasetId`.
datasetnamestring, nullableOpenFEMA field `datasetName`.
datasetversioninteger, nullableOpenFEMA field `datasetVersion`.
fieldnamestring, nullableOpenFEMA field `fieldName`.
codestring, nullableOpenFEMA field `code`.
descriptionstring, nullableOpenFEMA field `description`.
idkeystringPublisher identifier `id`. The record key.
lastrefreshdatetime, nullableOpenFEMA field `lastRefresh`.
hashstring, nullableOpenFEMA field `hash`.

Sample output

The first 5 of 200 records from SourceFinch's own run on November 21, 2026, exactly as delivered.

FieldRecord 1Record 2Record 3Record 4Record 5
datasetidopenfema-95openfema-95openfema-35openfema-96openfema-95
datasetnameFimaNfipClaimsFimaNfipClaimsIpawsArchivedAlertsFimaNfipPoliciesFimaNfipClaims
datasetversion33133
fieldnameobstructionTypeobstructionTypeeventCodecrsClassificationCodecontentsDeductibleCode
code5498RMT2A
descriptionWith obstruction: nonbreakawaywalls/crawlspace or finished enclosure with machinery or equipment attached to building below lowest elevated floorWith Obstruction: Elevated buildings with elevator below the BFE in V zones. Breakaway walls obstruction and M&E servicing the building are located below the BFE.Required Monthly Test4,000 - 4,499 CRS Credit Points; 40% SFHA premium reduction; 10% Non-SFHA premium reduction$10,000
idff3cf23e-7d62-44b4-9a13-68ba2a2c2e49ff3664f4-d9c4-4f4d-a3f4-cec06f47079dff32a05c-6e1f-45ea-adf8-5957d0f54d4eff1871bf-4378-4332-abb7-5d8ffb546280fef21006-d1f0-4fb6-97a0-d251037cc289
lastrefresh2026-07-21T03:00:19.033Z2026-07-21T03:00:19.033Z2025-03-05T19:40:45.115Z2026-07-21T03:00:19.033Z2026-07-21T03:00:19.033Z
hashcc8216a9bd8202e3eb3a08112fcab735a1fba03bb61993b7dfb910a755c75ee9cba69e4581d94dcc929c041b86c9a4cc687dcbec25d26c451be75fab626fbd47b4988a09d6449f91e32ac6193daa3d5b783ac37dbcd8bd1ba6b8ec1cbc75d33c4a0156c9
Sample as JSON
[
  {
    "id": "ff3cf23e-7d62-44b4-9a13-68ba2a2c2e49",
    "code": "54",
    "hash": "cc8216a9bd8202e3eb3a08112fcab735a1fba03b",
    "datasetid": "openfema-95",
    "fieldname": "obstructionType",
    "datasetname": "FimaNfipClaims",
    "description": "With obstruction: nonbreakawaywalls/crawlspace or finished enclosure with machinery or equipment attached to building below lowest elevated floor",
    "lastrefresh": "2026-07-21T03:00:19.033Z",
    "datasetversion": 3
  },
  {
    "id": "ff3664f4-d9c4-4f4d-a3f4-cec06f47079d",
    "code": "98",
    "hash": "b61993b7dfb910a755c75ee9cba69e4581d94dcc",
    "datasetid": "openfema-95",
    "fieldname": "obstructionType",
    "datasetname": "FimaNfipClaims",
    "description": "With Obstruction: Elevated buildings with elevator below the BFE in V zones. Breakaway walls obstruction and M&E servicing the building are located below the BFE.",
    "lastrefresh": "2026-07-21T03:00:19.033Z",
    "datasetversion": 3
  },
  {
    "id": "ff32a05c-6e1f-45ea-adf8-5957d0f54d4e",
    "code": "RMT",
    "hash": "929c041b86c9a4cc687dcbec25d26c451be75fab",
    "datasetid": "openfema-35",
    "fieldname": "eventCode",
    "datasetname": "IpawsArchivedAlerts",
    "description": "Required Monthly Test",
    "lastrefresh": "2025-03-05T19:40:45.115Z",
    "datasetversion": 1
  },
  {
    "id": "ff1871bf-4378-4332-abb7-5d8ffb546280",
    "code": "2",
    "hash": "626fbd47b4988a09d6449f91e32ac6193daa3d5b",
    "datasetid": "openfema-96",
    "fieldname": "crsClassificationCode",
    "datasetname": "FimaNfipPolicies",
    "description": "4,000 - 4,499 CRS Credit Points; 40% SFHA premium reduction; 10% Non-SFHA premium reduction",
    "lastrefresh": "2026-07-21T03:00:19.033Z",
    "datasetversion": 3
  },
  {
    "id": "fef21006-d1f0-4fb6-97a0-d251037cc289",
    "code": "A",
    "hash": "783ac37dbcd8bd1ba6b8ec1cbc75d33c4a0156c9",
    "datasetid": "openfema-95",
    "fieldname": "contentsDeductibleCode",
    "datasetname": "FimaNfipClaims",
    "description": "$10,000",
    "lastrefresh": "2026-07-21T03:00:19.033Z",
    "datasetversion": 3
  }
]

Evidence behind every value

  • Each run keeps the publisher's exact response, hashed with SHA-256. This sample came from a response with hash cc9aacdb82ff69c6ff1185dfc2132a2cc010abb9096a08b7f57fb1d9a2bb40a5.
  • Every value records where it came from in that response: a JSON Pointer into the retained capture.
  • Each run gets a signed manifest (Ed25519) timestamped by an RFC 3161 authority: this run's manifest hash is a2bb13b93ecda8be4ff046748395eaa86abac9998b4cd107a5ee2e84b2f96025, timestamped November 21, 2026.
  • The compliance state at capture is recorded with the evidence: robots.txt hash and verdict, AI-preference signals, crawler identity and the usage rights below.
  • Download any run as an evidence bundle (WACZ) and check it offline, without trusting SourceFinch: sourcefinch verify-bundle run.wacz.

Terms posture and usage rights

Terms
Automated access permitted · publisher's terms
robots.txt
Allows this path · SHA-256 0d0ff477a1a86c3e…
AI-preference signals
None observed at review
Public record
Yes. FEMA OpenFEMA public datasets; U.S. government work, 17 U.S.C. 105.
Reviewed
November 17, 2026; next review May 17, 2027
Licence basis
Publisher's terms of use
Commercial use
Allowed with conditions
Redistribution
Allowed with conditions
Attribution
Required (text below)

OpenFEMA offers FEMA's public data through an API without a key. Its terms require citing the dataset and the access date, stating that the product uses the OpenFEMA API but is not endorsed by FEMA, not modifying the data while presenting it as FEMA's, and not using FEMA or DHS logos.

Federal Emergency Management Agency (FEMA), OpenFEMA: DataSetCodes. This product uses the FEMA OpenFEMA API, but is not endorsed by FEMA.

Usage rights travel with every record SourceFinch delivers (API, exports, webhooks and evidence bundles). They are our documented understanding of the publisher's stated terms, not legal advice.

Reliability

Runs, last 30 days
4
Green
100%
Failed
0
Median run time
1.0 s
Latest run
success, November 21, 2026

Measured on completed runs of this recipe version across SourceFinch, anonymized, within a rolling 30-day window. First successful observation: November 18, 2026. A new recipe has only the history collected since that date; this is not a 30-day uptime guarantee.

Use it

Every surface creates the same monitor from this Verified recipe. Monitors keep record history, report field-level changes and deliver by webhook, export or email. You confirm you have the right to collect the source (rights: true).

Console

Open this recipe in the console: it preserves the reviewed URL, fields and record key. Review the latest captured sample, confirm source rights, and choose a schedule before creating your monitor.

Portable recipe

Copy into the console's Import or share a recipe panel to customize fields, types and schedules. This configuration contains no captured records or workspace IDs.

{
  "schema": "sourcefinch/source@1",
  "name": "DataSetCodes",
  "url": "https://www.fema.gov/api/open/v1/DataSetCodes?$top=200&$orderby=id%20desc",
  "recipe": {
    "mode": "http",
    "format": "json",
    "items": "DataSetCodes[*]",
    "fields": {
      "id": "id",
      "code": "code",
      "hash": "hash",
      "datasetid": "datasetId",
      "fieldname": "fieldName",
      "datasetname": "datasetName",
      "description": "description",
      "lastrefresh": "lastRefresh",
      "datasetversion": "datasetVersion"
    },
    "required": [
      "id"
    ],
    "types": {
      "datasetversion": "integer",
      "lastrefresh": "datetime"
    }
  },
  "schedule": "daily",
  "key_field": "id"
}

source.json

The request body used by the API, CLI and SDK examples.

{
  "name": "DataSetCodes",
  "url": "https://www.fema.gov/api/open/v1/DataSetCodes?$top=200&$orderby=id%20desc",
  "recipe": {
    "mode": "http",
    "format": "json",
    "items": "DataSetCodes[*]",
    "fields": {
      "id": "id",
      "code": "code",
      "hash": "hash",
      "datasetid": "datasetId",
      "fieldname": "fieldName",
      "datasetname": "datasetName",
      "description": "description",
      "lastrefresh": "lastRefresh",
      "datasetversion": "datasetVersion"
    },
    "required": [
      "id"
    ],
    "types": {
      "lastrefresh": "datetime",
      "datasetversion": "integer"
    }
  },
  "key_field": "id",
  "schedule": "daily",
  "rights": true,
  "catalog": {
    "slug": "openfema-datasetcodes",
    "version_id": "01b7a0de-7ce0-4724-a5e8-7f63530530be"
  }
}

REST API

Create an API key under Console → API keys. Reference: /docs/api.

# the Verified entry (fields, recipe, sample, terms) as JSON
curl https://sourcefinch.com/v1/catalog/openfema-datasetcodes -H "Authorization: Bearer $SOURCEFINCH_API_KEY"

# create the monitor from source.json (below)
curl -X POST https://sourcefinch.com/v1/sources \
  -H "Authorization: Bearer $SOURCEFINCH_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d @source.json

# then run it now (later runs follow the schedule)
curl -X POST https://sourcefinch.com/v1/sources/$SOURCE_ID/runs \
  -H "Authorization: Bearer $SOURCEFINCH_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)"

CLI

The sourcefinch CLI is not on npm yet; see /docs/cli.

sourcefinch login
sourcefinch catalog get openfema-datasetcodes --source-json > source.json
sourcefinch sources create --file source.json
sourcefinch runs create $SOURCE_ID --wait
sourcefinch records $SOURCE_ID

TypeScript SDK

The SDK is not on npm yet; see /docs/sdk.

import { SourceFinch } from "@sourcefinch/sdk";

const sf = new SourceFinch({ apiKey: process.env.SOURCEFINCH_API_KEY });
const entry = await sf.catalog.get("openfema-datasetcodes");
const source = await sf.sources.create({
  catalog: { slug: entry.slug, version_id: entry.recipe.version_id },
  name: entry.name.slice(0, 100),
  url: entry.acquisition_path.endpoint,
  recipe: entry.recipe.definition,
  key_field: entry.recipe.key_field,
  schedule: entry.recipe.schedule,
  rights: true, // you confirm you have the right to collect this source
});
const run = await sf.runs.wait((await sf.runs.create(source.id)).id);
console.log(run.status);

MCP

Remote MCP server with OAuth; see /docs/mcp.

claude mcp add --transport http sourcefinch https://sourcefinch.com/mcp

# then ask your agent:
"Use SourceFinch to monitor DataSetCodes: get_catalog_source openfema-datasetcodes,
then create_source with its create_source_args (dry run first), then run_source."

Pricing

Each check is one run, whatever the number of records, and failed runs are free. On its default daily schedule this source uses about 30 runs a month, which fits the Free plan's 300 runs. It uses HTTP acquisition, so no browser runs are needed. See plans.

More from Federal Emergency Management Agency (FEMA) and in disasters & emergency management.

SourceFinch is independent and is not affiliated with or endorsed by Federal Emergency Management Agency (FEMA). This page describes datasetcodes as SourceFinch acquires it.