Skip to content
Fourohtwo

natur.halowerk.com/v1/earthquake-brief

Returns a single earthquake in decision-ready form, either by its USGS event identifier or as the most significant event matching a search. Magnitude is reported with the magnitude type, because moment magnitude and local magnitude are not interchangeable at the edges of their ranges.

BaseAnswering
POSThttps://natur.halowerk.com/v1/earthquake-brief

Uptime100% of 4 checks in 30 days

30 days agoToday

Try it

Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.

The response shows up here.

Call it from an agent

// npm install fourohtwo
import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://natur.halowerk.com/v1/earthquake-brief", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"hours":24,"min_magnitude":5,"reference_lat":52.52,"reference_lon":13.405}),
});
console.log(await res.json());

Example input

{
  "hours": 24,
  "min_magnitude": 5,
  "reference_lat": 52.52,
  "reference_lon": 13.405
}