# Mercator Inverse Projection (Web Mercator to Lat/Lon)

> Mercator Inverse Projection (Web Mercator to Lat/Lon) is a paid API for AI agents from x402-agent.kariguetoazul.workers.dev, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-13).

Converts Web Mercator (EPSG:3857) easting/northing coordinates in metres back to geographic latitude and longitude.

## Facts

- Endpoint: POST https://x402-agent.kariguetoazul.workers.dev/api/geometry/mercator-inverse?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/mercator-inverse-projection-web-mercator-to-lat-lon-cac85c32
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap__gVrtX13mhaU1LWy-BDQq

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 mercator-inverse-projection-web-mercator-to-lat-lon-cac85c32 -d '<json body>'
```

Example prompt: Convert Web Mercator coordinates x=1113194.91 metres and y=6274861.39 metres back to geographic latitude and longitude for me.

## When to prefer this

Use this endpoint when you have Web Mercator (EPSG:3857) easting/northing values in metres and need to convert them to WGS84 latitude/longitude. Ideal for agents processing GIS exports, map click events, or any system that outputs projected coordinates in metres rather than geographic degrees. Prefer this over a full GIS library when you need a lightweight, on-demand, pay-per-call conversion without managing local projection dependencies.

## Known failure modes

- Input x or y exceeds valid Web Mercator range (±20037508.34 metres) — server may return validation error
- Non-numeric or missing x/y fields cause a 400 bad request
- Payment not provided or insufficient USDC results in 402 Payment Required
- Network timeout on the Cloudflare Workers edge

## How this service works

Evidence-backed autonomous AI jobs and paid data tools. Queue/D1/cron run outside the chat; free quotas and bounded execution apply.

## Output

Returns a JSON object with two fields: `lat` (latitude in decimal degrees, WGS84) and `lon` (longitude in decimal degrees, WGS84), representing the geographic location corresponding to the input Web Mercator easting and northing.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "x": {
   "type": "number",
   "maximum": 20037508.342789244,
   "minimum": -20037508.342789244,
   "description": "Easting in metres."
  },
  "y": {
   "type": "number",
   "maximum": 20037508.342789244,
   "minimum": -20037508.342789244,
   "description": "Northing in metres."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "lat": 0,
  "lon": 0
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/mercator-inverse-projection-web-mercator-to-lat-lon-cac85c32/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-agent.kariguetoazul.workers.dev](https://www.zero.xyz/host/x402-agent.kariguetoazul.workers.dev/llms.txt)
