50trust / 100

Locus Fema Events

by api.locus.report in Other

x402 APIFailing, checked 4 h ago

FEMA disaster declarations by county, NFIP flood-claim history by ZIP, and preliminary FIRM panels at a point for agents checking past events. Returns the same records as locus_fema_events. Use this when your client can only call paid x402 routes. Use locus_fema_events instead when you can call Locus free tools (REST tools/call or MCP).

POST
https://api.locus.report/api/locus-fema-events
Price
$0.01
per call in USDC
Uptime
38.5%
last 30 days
Response time
6.3 s
7.6 s slowest 5%
Last check
Failed
4 h ago, next any minute now

Run a free test callHow to call it

Reliability

All checks passedSome failedAll failedNot checked

Latest check failed 4 h ago: Timed out

Status and outage history · Atom feed

How to call it

POST https://api.locus.report/api/locus-fema-events

Each call costs $0.01 in USDC on Base, paid with the request over x402.

Run a free test callOne unpaid request, the way an agent sends it. You see the payment challenge it gets back. Nothing is charged.

Example request

From the listing.

POST https://api.locus.report/api/locus-fema-events
content-type: application/json

{
  "address": "1 E Edenton St, Raleigh, NC 27601"
}

Parameters

ParameterTypeRequiredDescription
addressstringNo
countyFips3stringNo
latitudenumberNo
longitudenumberNo
statestringNo
zipstringNo

Example response

The provider's example. We can't check it without paying.

Example response, 101 lines
{
  "caveats": [
    "Disaster declarations open dated federal assistance windows; eligibility and deadlines are program-specific - verify on the declaration's FEMA page.",
    "NFIP claims are redacted federal records (no addresses; coarse coordinates); counts reflect filed claims, not all flood losses."
  ],
  "componentStatus": [
    {
      "component": "declarations",
      "status": "ok"
    },
    {
      "component": "nfip_claims",
      "status": "unavailable"
    }
  ],
  "declarations": [
    {
      "declarationDate": "2026-01-24T00:00:00.000Z",
      "declarationRequestDate": "2026-01-23T00:00:00.000Z",
      "declarationRequestNumber": "26016",
      "declarationTitle": "SEVERE WINTER STORM",
      "declarationType": "EM",
      "designatedArea": "Wake (County)",
      "designatedIncidentTypes": "5,W",
      "disasterCloseoutDate": null,
      "disasterNumber": 3637,
      "femaDeclarationString": "EM-3637-NC",
      "fipsCountyCode": "183",
      "fipsStateCode": "37",
      "fyDeclared": 2026,
      "hash": "4acd89c73cdee8be1738ad6329b1237dda2665a1",
      "hmProgramDeclared": false,
      "iaProgramDeclared": false,
      "id": "f9b7fb8f-b9de-483b-a597-98c959984478",
      "ihProgramDeclared": false,
      "incidentBeginDate": "2026-01-21T00:00:00.000Z",
      "incidentEndDate": "2026-01-27T00:00:00.000Z",
      "incidentId": "2026012101",
      "incidentType": "Winter Storm",
      "lastIAFilingDate": null,
      "lastRefresh": "2026-08-20T20:50:08.994Z",
      "paProgramDeclared": true,
      "placeCode": "99183",
      "region": 4,
      "state": "NC",
      "tribalRequest": false
    },
    {
      "declarationDate": "2024-09-26T00:00:00.000Z",
      "declarationRequestDate": "2024-09-25T00:00:00.000Z",
      "declarationRequestNumber": "24162",
      "declarationTitle": "HURRICANE HELENE",
      "declarationType": "EM",
      "designatedArea": "Wake (County)",
      "designatedIncidentTypes": "4,8,F,H,M,W",
      "disasterCloseoutDate": "2024-12-19T00:00:00.000Z",
      "disasterNumber": 3617,
      "femaDeclarationString": "EM-3617-NC",
      "fipsCountyCode": "183",
      "fipsStateCode": "37",
      "fyDeclared": 2024,
      "hash": "50fbc717253a23843b32e7c1f220a7c3b8e56a43",
      "hmProgramDeclared": false,
      "iaProgramDeclared": false,
      "id": "57300218-94e5-42de-9b19-4cddb5189dbc",
      "ihProgramDeclared": false,
      "incidentBeginDate": "2024-09-25T00:00:00.000Z",
      "incidentEndDate": "2024-12-18T00:00:00.000Z",
      "incidentId": "2024092301",
      "incidentType": "Tropical Storm",
      "lastIAFilingDate": null,
      "lastRefresh": "2026-08-20T20:50:08.994Z",
      "paProgramDeclared": true,
      "placeCode": "99183",
      "region": 4,
      "state": "NC",
      "tribalRequest": false
    }
  ],
  "note": "Awareness/diagnostic only. Full briefs are x402-paid. Agents can discover live free tools at https://api.locus.report/tools/list and paid tools, prices, and manifests at https://api.locus.report/.well-known/ai-tool/index.json.",
  "ok": true,
  "provenance": {
    "coverage": "national",
    "declarations": "https://www.fema.gov/api/open/v2/DisasterDeclarationsSummaries",
    "lomrs": "https://hazards.fema.gov/arcgis/rest/services/public/NFHL/MapServer/1",
    "nfipClaims": "https://www.fema.gov/api/open/v3/NfipClaims",
    "preliminaryFirm": "https://hazards.fema.gov/arcgis/rest/services/PrelimPending/Prelim_NFHL/MapServer/0",
    "source": "FEMA OpenFEMA API + National Flood Hazard Layer services",
    "sourcePage": "https://www.fema.gov/about/openfema/api"
  },
  "verifyNext": [
    {
      "step": "Open a declaration's official page for program deadlines.",
      "url": "https://www.fema.gov/disaster/declarations"
    },
    {
      "step": "Effective Letters of Map Revision for a county query NFHL layer 1 by DFIRM_ID (county FIPS5 + 'C').",
      "url": "https://hazards.fema.gov/arcgis/rest/services/public/NFHL/MapServer/1"
    }
  ]
}

Call it from code

The curl command shows the payment challenge. The JavaScript and Python versions pay and call, and never pay more than $0.01.

curl: see the payment challenge
# bash or zsh: see the payment challenge. Nothing is charged.
curl -sS -g -i -X POST 'https://api.locus.report/api/locus-fema-events' \
  -H 'content-type: application/json' \
  --data-raw '{"address":"1 E Edenton St, Raleigh, NC 27601"}'

# x402 v2 sends the challenge base64-encoded in the PAYMENT-REQUIRED header (v1 sends it in the body).
# To read the header:
curl -sS -g -o /dev/null -D - -X POST 'https://api.locus.report/api/locus-fema-events' \
  -H 'content-type: application/json' \
  --data-raw '{"address":"1 E Edenton St, Raleigh, NC 27601"}' \
  | grep -i '^payment-required:' | cut -d' ' -f2 | tr -d '\r' | base64 --decode
JavaScript: pay and call
// npm i @x402/fetch @x402/evm viem
import { wrapFetchWithPayment, x402Client } from "@x402/fetch";
import { registerExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

// Pays at most $0.01 per call.
const client = new x402Client().setSpendControls({ maxAmountPerPayment: "$0.01" });
registerExactEvmScheme(client, { signer: privateKeyToAccount(process.env.EVM_PRIVATE_KEY) });
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? ToolVet checks it first for $0.005. Pay for that from a separate
// client: this one is capped at $0.01 per payment. GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fapi.locus.report%2Fapi%2Flocus-fema-events&method=POST
const res = await pay("https://api.locus.report/api/locus-fema-events", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({
    "address": "1 E Edenton St, Raleigh, NC 27601"
  }),
});
console.log(res.status, await res.text());
Python: pay and call
# pip install "x402[requests,evm]"
import os
from eth_account import Account
from x402 import x402ClientSync
from x402.http.clients import x402_requests
from x402.mechanisms.evm import EthAccountSigner
from x402.mechanisms.evm.exact.register import register_exact_evm_client

# Pays at most $0.01 per call.
client = x402ClientSync().set_spend_controls({"max_amount_per_payment": "$0.01"})
register_exact_evm_client(client, EthAccountSigner(Account.from_key(os.environ["EVM_PRIVATE_KEY"])))

with x402_requests(client) as session:
    res = session.post(
        "https://api.locus.report/api/locus-fema-events",
        json={
            "address": "1 E Edenton St, Raleigh, NC 27601",
        },
    )
    print(res.status_code, res.text)

Security scan

No findings

We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
4 h agoTimed out---
8 h agoTimed out---
12 h agoTimed out---
17 h agoPassed4026.5 s$0.01
21 h agoPassed4026.8 s$0.01
Show 10 older checks
26 h agoTimed out---
29 h agoTimed out---
33 h agoTimed out---
37 h agoPassed4022.6 s$0.01
41 h agoPassed4027.1 s$0.01
45 h agoPassed4026.3 s$0.01
2 days agoTimed out---
2 days agoTimed out---
2 days agoPassed4026.0 s$0.01
2 days agoTimed out---