# Decimal Degrees to DMS Converter

> Decimal Degrees to DMS Converter is a paid API for AI agents from geospatial.openverbs.com, paid per call via x402, $0.002/call, status unknown (last checked 2026-09-15).

Converts a decimal-degree latitude/longitude coordinate pair into degrees-minutes-seconds (DMS) format with hemisphere letters and formatted strings for each axis.

## Facts

- Endpoint: POST https://geospatial.openverbs.com/v1/to-dms
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/decimal-degrees-to-dms-converter-74b40f61
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Mc_fMWXsZJ0-i-pRcui0p

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 decimal-degrees-to-dms-converter-74b40f61 -d '<json body>'
```

Example prompt: Convert the coordinates 40.7128° N, -74.0060° E (lat 40.7128, lon -74.0060) into degrees-minutes-seconds format with hemisphere letters.

## When to prefer this

Use this endpoint when you need to convert decimal-degree coordinates to degrees-minutes-seconds (DMS) notation for display, labeling, or interoperability with systems (e.g. aviation, military, printed cartography) that expect the sexagesimal format. It is the right choice when the output must include hemisphere letters and a pre-formatted string, not just raw numeric components.

## Known failure modes

- Latitude out of range (-90 to 90) returns a 400/422 validation error
- Longitude out of range (-180 to 180) returns a 400/422 validation error
- Missing lat or lon field returns a 400 error
- Non-numeric values for lat/lon return a validation error
- Payment not provided or insufficient returns a 402 Payment Required

## How this service works

Convert a decimal-degree latitude/longitude to degrees-minutes-seconds, with hemisphere letters and a formatted string for each axis.

## Output

Returns the latitude and longitude each broken into integer degrees, integer minutes, decimal seconds, and a hemisphere letter (N/S for latitude, E/W for longitude), plus a pre-formatted human-readable DMS string for each axis (e.g. '40° 42′ 46.08″ N').

## 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",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "type": "object",
     "required": [
      "lat",
      "lon"
     ],
     "properties": {
      "lat": {
       "type": "number",
       "maximum": 90,
       "minimum": -90,
       "description": "Latitude in decimal degrees."
      },
      "lon": {
       "type": "number",
       "maximum": 180,
       "minimum": -180,
       "description": "Longitude in decimal degrees."
      }
     },
     "additionalProperties": false
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/decimal-degrees-to-dms-converter-74b40f61/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from geospatial.openverbs.com](https://www.zero.xyz/host/geospatial.openverbs.com/llms.txt)
