Returns a single earthquake in decision-ready form, either by its USGS event identifier or
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.
4000 (raw units)
price
1
calls / 30d
1
unique payers
2026-09-12
updated
Provider
natur.halowerk.com · discovered, not yet claimed by its owner
Payment (x402 accepts[])
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0x2880EdfFF13100677Bf97A3CBdF3Bc34771C4E5E",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "4000",
"maxTimeoutSeconds": 300
}
]Output schema
{
"bazaar": {
"info": {
"input": {
"body": {
"hours": 24,
"min_magnitude": 5,
"reference_lat": 52.52,
"reference_lon": 13.405
},
"bodyType": "json",
"method": "POST",
"type": "http"
}
},
"schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"body": {
"additionalProperties": false,
"properties": {
"event_id": {
"description": "USGS event id, e.g. us7000abcd. Without it the strongest recent event matching the filters is returned.",
"maxLength": 40,
"type": "string"
},
"hours": {
"default": 24,
"description": "Search window when no event_id is given.",
"maximum": 720,
"minimum": 1,
"type": "integer"
},
"min_magnitude": {
"default": 5,
"description": "Used only when no event_id is given.",
"maximum": 10,
"minimum": 0,
"type": "number"
},
"reference_lat": {
"description": "Your location, to get distance and bearing.",
"maximum": 90,
"minimum": -90,
"type": "number"
},
"reference_lon": {
"maximum": 180,
"minimum": -180,
"type": "number"
}
},
"type": "object"
},
"bodyType": {
"enum": [
"json",
"form-data",
"text"
],
"type": "string"
},
"method": {
"enum": [
"POST",
"PUT",
"PATCH"
],
"type": "string"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method",
"bodyType",
"body"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}
}
}Use it
curl
curl "https://natur.halowerk.com/v1/earthquake-brief" # -> 402 Payment Required, accepts[] lists how to pay # retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid
JavaScript
const res = await fetch("https://natur.halowerk.com/v1/earthquake-brief");
if (res.status === 402) {
const { accepts } = await res.json();
// pay one of accepts[] via an x402 client, then retry with the payment header
}Python
import httpx
res = httpx.get("https://natur.halowerk.com/v1/earthquake-brief")
if res.status_code == 402:
accepts = res.json()["accepts"]
# pay one of accepts[] via an x402 client, then retry with the payment headerMachine-readable
Everything on this page is also available as clean JSON at /resources/15300.json, and this resource appears in /discovery/resources and /discovery/search.