# 2s.io Ground Elevation Lookup

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

Returns ground elevation above sea level in meters and feet for any lat/lon coordinate on Earth using the Copernicus/SRTM digital elevation model.

## Facts

- Endpoint: GET https://2s.io/api/geo/elevation
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/2s-io-ground-elevation-lookup-6474d929
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_u2whpytLWmCrS-0-G9BGg

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-ground-elevation-lookup-6474d929
```

Example prompt: What's the ground elevation at latitude 45.8326 and longitude 6.8652? Give me the height above sea level in both meters and feet.

## When to prefer this

Use this endpoint when you need a quick, keyless, pay-per-call elevation lookup for any point on Earth without managing API keys or subscriptions. Ideal for agents needing terrain height data as part of geospatial workflows, route planning, or environmental analysis at ~90m resolution. Prefer alternatives if you need sub-meter precision or bathymetric (underwater) depth data.

## Known failure modes

- Missing lat or lon parameter returns a validation error
- Coordinates outside valid range (lat ±90, lon ±180) may return an error or unexpected result
- Ocean or water body coordinates may return 0 or near-zero elevation rather than seafloor depth
- Upstream Open-Meteo API unavailability causes failure
- Payment of 0.001 USDC required per call; insufficient funds causes 402 rejection

## How this service works

Ground elevation above sea level for a coordinate, anywhere on Earth. Pass lat + lon. Returns elevation in meters and feet (from the Copernicus/SRTM digital elevation model, ~90m resolution). Source: Open-Meteo elevation API (keyless, CC BY 4.0).

## Output

Returns ground elevation above sea level for the given coordinate in both meters and feet, sourced from the Copernicus/SRTM digital elevation model at approximately 90m spatial resolution.

## Example request

```json
{
 "input": {
  "type": "http",
  "method": "GET",
  "queryParams": {
   "lat": 45.8326,
   "lon": 6.8652
  }
 }
}
```

## 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": {
     "required": [
      "lat",
      "lon"
     ],
     "properties": {
      "lat": {
       "type": "number",
       "description": "Latitude."
      },
      "lon": {
       "type": "number",
       "description": "Longitude."
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/2s-io-ground-elevation-lookup-6474d929/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)
