# boring-api · geo /bbox

> boring-api · geo /bbox is a paid API for AI agents from geo.boring-api.com, paid per call via x402, $0.0005/call, status unknown (last checked 2026-09-15).

Computes a bounding box (rectangle) around a center coordinate given a radius in meters, using pure in-Worker spatial math with no external API calls.

## Facts

- Endpoint: POST https://geo.boring-api.com/bbox
- Price: $0.0005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/boring-api-geo-bbox-eb0b984f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ekhDze8VwjCXTYr3ulnrt

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 boring-api-geo-bbox-eb0b984f -d '<json body>'
```

Example prompt: What's the bounding box that covers a 750-meter radius around latitude 40.7128, longitude -74.0060? I need the min/max lat and lon for a proximity query.

## When to prefer this

Choose this endpoint when you need fast, serverless, no-external-call bounding box computation from a center point and radius — ideal for preparing spatial queries, filtering datasets by geographic proximity, or building map viewport bounds without relying on an external geocoding or mapping service.

## Known failure modes

- Missing or malformed center coordinate object returns a 4xx validation error
- Radius value missing or non-numeric returns a validation error
- Extremely large radius values may produce degenerate bounding boxes wrapping the globe
- Payment not included or insufficient USDC via x402 returns a 402 Payment Required

## How this service works

Pure-library spatial math and timezone lookup. Distance, bearing, polygons, point-in-polygon, timezone-by-coords. No external API calls — all computed in-Worker.

## Output

A bounding box object containing the minimum and maximum latitude and longitude values that form a rectangle enclosing the specified circular area around the given center point.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "center": {
   "type": "object"
  },
  "radiusMeters": {
   "type": "number"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object"
}
```

## More

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