# geo-bbox

> geo-bbox is a paid API for AI agents from x402.agentindex.world, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-12).

Computes the bounding box (min/max latitude and longitude) that encloses a given list of geographic coordinate points.

## Facts

- Endpoint: GET https://x402.agentindex.world/geo/bbox?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/geo-bbox-c28e0644
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ZnHi6qJzTkf44cqXWNi28

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 geo-bbox-c28e0644
```

Example prompt: What's the bounding box enclosing these coordinates: (40.7128, -74.0060), (34.0522, -118.2437), (41.8781, -87.6298), and (29.7604, -95.3698)?

## When to prefer this

Choose this endpoint when you need a fast, cheap ($0.001) server-side computation of the geographic extent of a set of points — useful for setting map viewport bounds, computing spatial coverage areas, or checking if a collection of coordinates fits within a region. Prefer it over doing client-side math when you want a reliable, authoritative result without implementing the min/max logic yourself.

## Known failure modes

- Empty points array (minItems:1 violated) returns a validation error
- Invalid latitude values outside -90 to 90 range rejected
- Invalid longitude values outside -180 to 180 range rejected
- Single point returns a degenerate bounding box where min equals max
- Malformed JSON or missing required lat/lon fields in any point causes a 400-level error

## How this service works

Bounding box (min/max lat and lon) enclosing a list of points.

## Output

Returns the minimum and maximum latitude and longitude values that form a rectangular bounding box enclosing all provided points — effectively the southwest corner (min_lat, min_lon) and northeast corner (max_lat, max_lon) of the geographic extent.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "points": {
   "type": "array",
   "items": {
    "type": "object",
    "title": "LatLon",
    "required": [
     "lat",
     "lon"
    ],
    "properties": {
     "lat": {
      "type": "number",
      "title": "Lat",
      "maximum": 90,
      "minimum": -90
     },
     "lon": {
      "type": "number",
      "title": "Lon",
      "maximum": 180,
      "minimum": -180
     }
    }
   },
   "title": "Points",
   "minItems": 1
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "max_lat": 51.5074,
  "max_lon": 2.3522,
  "min_lat": 48.8566,
  "min_lon": -0.1278
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/geo-bbox-c28e0644/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.agentindex.world](https://www.zero.xyz/host/x402.agentindex.world/llms.txt)
