# fittings Ground Elevation Lookup

> fittings Ground Elevation Lookup is a paid API for AI agents from fittings.sh, paid per call via x402, $0.003/call, status unknown (last checked 2026-09-15).

Returns ground elevation in meters and feet for a given WGS-84 coordinate using the USGS 3DEP dataset.

## Facts

- Endpoint: GET https://fittings.sh/v1/geo/elevation
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/fittings-ground-elevation-lookup-d785f4d6
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ZpNrOHSfZTgaVz0k3f0BO

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 fittings-ground-elevation-lookup-d785f4d6
```

Example prompt: What's the ground elevation at latitude 36.4552 and longitude -116.8675? Give me the result in both meters and feet.

## When to prefer this

Choose this endpoint when you need authoritative USGS-sourced ground elevation data for US coordinates, especially when accuracy from a government dataset (3DEP) matters. It is ideal for GIS enrichment, construction or engineering queries, flood risk, and trail or terrain analysis. Prefer it over general geocoding APIs that include elevation only as a secondary field, or when you specifically need both metric and imperial elevation values in a single call.

## Known failure modes

- Coordinate outside USGS 3DEP coverage area (non-US locations) may return no data or an error
- Invalid or out-of-range lat/lon values (e.g. lat > 90) will result in a validation error
- Network or upstream USGS data service outages may cause failures
- Missing required query parameters (lat or lon) will produce a schema validation error

## How this service works

Ground elevation in meters and feet at a coordinate, from the USGS 3DEP dataset.

## Output

Returns the ground elevation for the queried coordinate as reported by the USGS 3DEP dataset, expressed in both meters and feet. The response provides precise terrain height values sourced from high-resolution 3D elevation data covering the US.

## 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"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "lat",
      "lon"
     ],
     "properties": {
      "lat": {
       "type": "number"
      },
      "lon": {
       "type": "number"
      }
     }
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/fittings-ground-elevation-lookup-d785f4d6/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from fittings.sh](https://www.zero.xyz/host/fittings.sh/llms.txt)
