# Map Tile Quadkey Converter

> Map Tile Quadkey Converter is a paid API for AI agents from map-tiles.x402tookit.com, paid per call via x402, $0.02/call, status unknown (last checked 2026-10-29).

Converts a slippy-map tile x/y/z to a Bing Maps quadkey, or a quadkey back to x/y/z, returning the parent quadkey and four child quadkeys.

## Facts

- Endpoint: GET https://map-tiles.x402tookit.com/quadkey?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-29
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/map-tile-quadkey-converter-8097c602
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_5JVnzK0M_u83aaB8wYGgy

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 map-tile-quadkey-converter-8097c602
```

Example prompt: Convert tile x=3, y=5, zoom=4 to a Bing Maps quadkey and also give me the parent quadkey and its four children.

## When to prefer this

Use this endpoint when you need to convert between slippy-map tile x/y/z coordinates and Bing Maps quadkey format, or when you need the quadkey hierarchy (parent and children) for tile-based caching, indexing, or Bing Maps API integration. Prefer this over manual computation when working in environments where you cannot implement the bit-interleaving math yourself.

## Known failure modes

- Missing required input: must provide either (x, y, zoom) or (quadkey), not neither
- Invalid quadkey characters: quadkey must contain only digits 0–3, length 1–24
- x/y out of range for given zoom level
- zoom level out of valid range 0–24
- Malformed query parameters return error response

## How this service works

Convert a tile x/y/z to a Bing Maps quadkey, or a quadkey back to x/y/z, with its parent and four children.

## Output

Returns the quadkey string (if x/y/z was supplied) or the tile x, y, zoom (if quadkey was supplied), along with the parent quadkey one zoom level up and four child quadkeys one zoom level down.

## 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": [],
     "properties": {
      "x": {
       "type": "integer",
       "description": "Tile column"
      },
      "y": {
       "type": "integer",
       "description": "Tile row"
      },
      "zoom": {
       "type": "integer",
       "description": "Zoom level, with x and y, to get a quadkey"
      },
      "quadkey": {
       "type": "string",
       "description": "A quadkey of digits 0 to 3, length 1 to 24 (to get x/y/z)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "x": {
       "type": [
        "null",
        "number"
       ]
      },
      "y": {
       "type": [
        "null",
        "number"
       ]
      },
      "asOf": {
       "type": [
        "null",
        "string"
       ]
      },
      "zoom": {
       "type": [
        "null",
        "number"
       ]
      },
      "parent": {
       "type": [
        "null",
        "string"
       ]
      },
      "source": {
       "type": [
        "null",
        "string"
       ]
      },
      "quadkey": {
       "type": [
        "null",
        "string"
       ]
      },
      "reasons": {
       "type": [
        "array",
        "null"
       ],
       "items": {
        "type": "string"
       }
      },
      "summary": {
       "type": [
        "null",
        "string"
       ]
      },
      "verdict": {
       "type": [
        "null",
        "string"
       ]
      },
      "children": {
       "type": [
        "array",
        "null"
       ],
       "items": {
        "type": "string"
       }
      },
      "degraded": {
       "type": [
        "boolean",
        "null"
       ]
      },
      "disclaimer": {
       "type": [
        "null",
        "string"
       ]
      },
      "notChecked": {
       "type": [
        "array",
        "null"
       ],
       "items": {
        "type": "string"
       }
      }
     }
    }

… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/map-tile-quadkey-converter-8097c602/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from map-tiles.x402tookit.com](https://www.zero.xyz/host/map-tiles.x402tookit.com/llms.txt)
