{"uid":"cap_5JVnzK0M_u83aaB8wYGgy","slug":"map-tile-quadkey-converter-8097c602","name":"Map Tile Quadkey Converter","description":"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.","url":"https://map-tiles.x402tookit.com/quadkey?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"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"}}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_87UIoWa02YAJfzPd92beR","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"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.","exampleAgentPrompt":"Convert tile x=3, y=5, zoom=4 to a Bing Maps quadkey and also give me the parent quadkey and its four children.","exampleUseCases":[{"title":"Tile to quadkey for Bing Maps integration","prompt":"I have a slippy-map tile at x=6, y=3, zoom=5 — what's the Bing Maps quadkey for it, and what are its child quadkeys?"},{"title":"Decode quadkey back to tile coordinates","prompt":"I've got the Bing Maps quadkey '0231' — can you convert it back to tile x, y, and zoom, and also tell me what its parent and children quadkeys are?"},{"title":"Build tile hierarchy for caching logic","prompt":"What is the parent quadkey and the four child quadkeys for the tile at x=12, y=7, zoom=6? I need them to set up tile cache invalidation."}],"resultDescription":"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.","failureModes":["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"],"whenToPreferThis":"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.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-29T13:12:42.102Z","isFirstParty":false,"canonicalSlug":"map-tile-quadkey-converter-8097c602"}