# Datakoot Elevation Lookup (USGS)

> Datakoot Elevation Lookup (USGS) is a paid API for AI agents from x402.datakoot.com, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-11).

Returns the ground elevation in meters and feet for a given US latitude/longitude coordinate using USGS EPQS data.

## Facts

- Endpoint: POST https://x402.datakoot.com/api/elevation?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-11
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/datakoot-elevation-lookup-usgs-cef5e914
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_QsKHr0BFESG10fNl-E2Jm

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 datakoot-elevation-lookup-usgs-cef5e914 -d '<json body>'
```

Example prompt: What's the elevation at latitude 39.7392, longitude -104.9903 — give me both meters and feet using the USGS data?

## When to prefer this

Choose this endpoint when you need fast, authoritative ground elevation data for a specific US coordinate and want USGS-sourced results with both metric and imperial units in a single call. It is priced per successful call at $0.002 USDC via x402, making it cost-effective for spot lookups. Prefer alternatives if you need global (non-US) elevation coverage or bulk/batch elevation queries.

## Known failure modes

- Coordinates outside the US (non-US coordinates are not covered by USGS EPQS and will likely return an error or null elevation)
- Missing lat or lon parameter causes a validation error
- Invalid numeric format for lat/lon returns a bad request error
- USGS upstream service unavailability may cause a 500 or timeout
- Payment failure via x402 results in a 402 response and no data returned

## How this service works

48 live public-data tools (security, packages, SEC filings, economy, FX, weather, domains, Federal Register, Base) for AI agents. $0.002 USDC per call on Base via x402, charged only on success. The same tools are free for 100 calls/day via MCP at <server>.datakoot.com/mcp.

## Output

A JSON object containing the queried latitude and longitude, the elevation in meters (elevation_m) and feet (elevation_ft), and the data source attribution ('USGS EPQS (public domain)').

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "lat": {
   "type": "number",
   "description": "Latitude in decimal degrees, e.g. 39.5883. US coverage only (USGS)."
  },
  "lon": {
   "type": "number",
   "description": "Longitude in decimal degrees, negative in the western hemisphere, e.g. -105.6438."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "lat": 39.7392,
  "lon": -104.9903,
  "source": "USGS EPQS (public domain)",
  "elevation_m": 1596.446899414,
  "elevation_ft": 5238
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/datakoot-elevation-lookup-usgs-cef5e914/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.datakoot.com](https://www.zero.xyz/host/x402.datakoot.com/llms.txt)
