# Map Tile Count & Storage Estimator

> Map Tile Count & Storage Estimator 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).

Counts the number of slippy-map tiles covering a lat/lon bounding box across a zoom range and estimates storage requirements at a given average tile size.

## Facts

- Endpoint: GET https://map-tiles.x402tookit.com/tile-count?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-count-storage-estimator-7932c22e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_bZQVdSoaWp4wEbeHeD6T-

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-count-storage-estimator-7932c22e
```

Example prompt: How many slippy-map tiles would cover the continental US (roughly -125 west, 24 south, -66 east, 49 north) from zoom level 0 to zoom 12, and about how much storage would that take if each tile is 20 KB on average?

## When to prefer this

Use this endpoint when you need to pre-plan tile caching, estimate storage budgets, or understand the scale of tile coverage for a geographic region across zoom levels. It is the right choice when the primary goal is arithmetic planning (how many tiles, how much space) rather than rendering, fetching, or converting tile coordinates.

## Known failure modes

- Missing required bounding box parameters (west, south, east, north, maxZoom) returns an error
- Invalid coordinate values (e.g. latitude outside -90 to 90) may produce incorrect results or errors
- Very large zoom ranges (e.g. 0–22 over large areas) may return astronomically large tile counts that are impractical
- maxZoom below minZoom may produce empty or invalid results
- Non-numeric parameter values will fail schema validation

## How this service works

Number of slippy-map tiles covering a lat/lon box for a zoom range, with a rough storage estimate at your average tile size.

## Output

Returns a per-zoom-level breakdown showing tile count, tiles wide, and tiles high for each zoom level in the requested range, plus a grand total tile count and storage estimates in both megabytes and gigabytes based on the provided or default average tile size.

## 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": [
      "west",
      "south",
      "east",
      "north",
      "maxZoom"
     ],
     "properties": {
      "east": {
       "type": "number",
       "description": "East longitude"
      },
      "west": {
       "type": "number",
       "description": "West longitude"
      },
      "north": {
       "type": "number",
       "description": "North latitude"
      },
      "south": {
       "type": "number",
       "description": "South latitude"
      },
      "maxZoom": {
       "type": "integer",
       "description": "Last zoom level, up to 22"
      },
      "minZoom": {
       "type": "integer",
       "description": "First zoom level (default 0)"
      },
      "avgTileKB": {
       "type": "number",
       "description": "Average tile size in kilobytes for storage (default 15)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "asOf": {
       "type": [
        "null",
        "string"
       ]
      },
      "byZoom": {
       "type": [
        "array",
        "null"
       ],
       "items": {
        "type": "object",
        "properties": {
         "zoom": {
          "type": [
           "null",
           "number"
          ]
         },
         "tiles": {
          "type": [
           "null",
           "number"
          ]
         },
         "tilesHigh": {
          "type": [
           "null",
           "number"
          ]
         },
         "tilesWide": {
          "type": [
           "null",
           "number"
          ]
         }
        }
       }
      },
      "source": {
       "type": [
        "null",
        "string"
       ]
      },
      "reasons": {
       "type": [
        "array",
        "null"
       ],
       "items": {
        "type": "string"
       }
      },
      "summary": {
       "type": [
        "null",
        "string"
       ]
      },
      "verdict": {
   
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/map-tile-count-storage-estimator-7932c22e/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)
