# Geospatial Slippy-Map Tile Coordinate Converter

> Geospatial Slippy-Map Tile Coordinate 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-16).

Converts a WGS84 lat/lon coordinate at a given zoom level to its XYZ/OSM/Google slippy-map tile x,y indices and the equivalent Bing Maps quadkey string.

## Facts

- Endpoint: POST https://geospatial.openverbs.com/v1/tile
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/geospatial-slippy-map-tile-coordinate-converter-18d4f208
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_MaSM3LrIUM7AC0IKnq8_U

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 geospatial-slippy-map-tile-coordinate-converter-18d4f208 -d '<json body>'
```

Example prompt: Convert the coordinate 40.7128, -74.0060 at zoom level 12 to its slippy-map tile x,y and Bing quadkey.

## When to prefer this

Choose this endpoint when you need to map a geographic coordinate to tile indices for use with any XYZ-compatible tile server (OSM, Google Maps, Leaflet, etc.) or Bing Maps, especially when you need both the XYZ tile address and the Bing quadkey in a single call. It is ideal for tile cache management, map pre-fetching, spatial indexing by tile, and any workflow that bridges OSM-style and Bing-style tile addressing.

## Known failure modes

- Latitude out of range (-90 to 90) returns a validation error
- Longitude out of range (-180 to 180) returns a validation error
- Zoom level outside 0–30 returns a validation error
- Missing required fields (lat, lon, zoom) return a 400-level error
- Payment failure or insufficient funds returns a 402 error

## How this service works

Map a WGS84 coordinate at a given zoom (0..30) to its slippy-map (XYZ / Google / OSM) tile x,y and its Bing quadkey.

## Output

Returns the integer tile x and y indices for the XYZ/OSM/Google slippy-map system and the Bing Maps quadkey string corresponding to the given WGS84 latitude, longitude, and zoom level.

## 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": [
      "lon",
      "lat",
      "zoom"
     ],
     "properties": {
      "lat": {
       "type": "number",
       "maximum": 90,
       "minimum": -90,
       "description": "Latitude in degrees."
      },
      "lon": {
       "type": "number",
       "maximum": 180,
       "minimum": -180,
       "description": "Longitude in degrees."
      },
      "zoom": {
       "type": "integer",
       "maximum": 30,
       "minimum": 0,
       "description": "Zoom level."
      }
     },
     "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/geospatial-slippy-map-tile-coordinate-converter-18d4f208/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)
