# 2s.io Earth Now — Earthquakes & Wildfires by Coordinate

> 2s.io Earth Now — Earthquakes & Wildfires by Coordinate is a paid API for AI agents from 2s.io, paid per call via x402, $0.0012/call, status unknown (last checked 2026-09-14).

Returns recent USGS earthquakes and active NIFC wildfires within a configurable radius of a lat/lon coordinate, sorted by distance nearest-first.

## Facts

- Endpoint: GET https://2s.io/api/earth/now
- Price: $0.0012/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/2s-io-0c14cf2d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_G2nNSp20OpeWolg5whuXr

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability 2s-io-0c14cf2d
```

Example prompt: What earthquakes magnitude 2.5 or higher and active wildfires are within 300 km of 37.77 latitude, -122.42 longitude in the last 48 hours?

## When to prefer this

Use this endpoint when you need real-time, multi-hazard situational awareness for a specific geographic coordinate — particularly when you want both seismic and wildfire data in a single call with distance-sorted results. Prefer this over scraping USGS or NIFC directly because it synthesizes both sources, computes distances, and sorts results. Best for location-specific safety checks, property risk assessment, field operations, or automated alerting systems.

## Known failure modes

- Missing required lat or lon parameters returns a 400 error
- lat outside -90..90 or lon outside -180..180 returns validation error
- radius_km exceeding 1000 or hours exceeding 168 returns a parameter bounds error
- No events found within radius/timeframe returns empty lists (not an error)
- USGS or NIFC upstream feeds temporarily unavailable may return partial results or 503

## How this service works

Situational awareness for a coordinate: recent earthquakes (USGS) and active wildfires (NIFC) within a configurable radius. Returns each with distance-from-query in km, sorted nearest-first. Multi-source synthesis from free US Government feeds. Real-time, post-training data.

## Output

A structured response containing two lists — recent earthquakes (from USGS) and active wildfires (from NIFC) — each entry including event name/description, distance from the query coordinate in km sorted nearest-first, magnitude (for earthquakes), and timestamp. Data is real-time, sourced from US Government feeds.

## Example request

```json
{
 "input": {
  "type": "http",
  "method": "GET",
  "queryParams": {
   "lat": 37.77,
   "lon": -122.42,
   "hours": 48,
   "radius_km": 300,
   "min_magnitude": 2.5
  }
 }
}
```

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method",
    "queryParams"
   ],
   "properties": {
    "type": {
     "const": "http"
    },
    "method": {
     "const": "GET"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "lat",
      "lon"
     ],
     "properties": {
      "lat": {
       "type": "number",
       "maximum": 90,
       "minimum": -90
      },
      "lon": {
       "type": "number",
       "maximum": 180,
       "minimum": -180
      },
      "hours": {
       "type": "number",
       "default": 24,
       "maximum": 168,
       "minimum": 1
      },
      "radius_km": {
       "type": "number",
       "default": 500,
       "maximum": 1000,
       "minimum": 1
      },
      "min_magnitude": {
       "type": "number",
       "default": 2,
       "maximum": 10,
       "minimum": 0
      }
     },
     "additionalProperties": false
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/2s-io-0c14cf2d/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from 2s.io](https://www.zero.xyz/host/2s.io/llms.txt)
