# Address Geocoding via OpenStreetMap Nominatim

> Address Geocoding via OpenStreetMap Nominatim is a paid API for AI agents from api.strale.io, paid per call via x402, $0.0216/call, status unknown (last checked 2026-09-13, last successful call 2026-05-02).

Converts a free-text address or place name into geographic coordinates (latitude/longitude), structured address components, and a bounding box using OpenStreetMap Nominatim.

## Facts

- Endpoint: GET https://api.strale.io/x402/address-geocode
- Price: $0.0216/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Last successful call: 2026-05-02
- Success rate: 100% of calls made through Zero
- Activations on Zero: 24
- Tags: x402
- Canonical page: https://www.zero.xyz/c/api-strale-io-285f8677
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_60XG9NSApDyCFmK2u1_oq

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 api-strale-io-285f8677
```

Example prompt: What are the latitude and longitude coordinates for 1600 Pennsylvania Avenue NW, Washington, DC?

## When to prefer this

Use this endpoint when you need to convert a free-text address or place name into geographic coordinates and structured address components, especially when you also need the bounding box. Backed by OpenStreetMap Nominatim, it works well for global addresses and place names without needing a commercial geocoding API key.

## Known failure modes

- Address not found — Nominatim cannot resolve the given string to a location
- Ambiguous address — multiple possible matches returned, first result used
- Malformed or empty address string — input validation error
- Service unavailable or upstream Nominatim timeout
- Rate limit or payment failure for x402 protocol

## How this service works

Convert an address to geographic coordinates (latitude/longitude). Also returns structured address components and bounding box via OpenStreetMap Nominatim.

## Output

Returns latitude and longitude coordinates, a bounding box (min/max lat and lon), and structured address components (street, city, country, postal code, etc.) for the given address or place name.

## Example request

```json
{
 "address": "Eiffel Tower, Paris, France"
}
```

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "address"
 ],
 "properties": {
  "address": {
   "type": "string",
   "description": "Address or place name to geocode"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "latitude": {
  "type": "number"
 },
 "longitude": {
  "type": "number"
 },
 "place_type": {
  "type": "string"
 },
 "bounding_box": {
  "type": "object"
 },
 "display_name": {
  "type": "string"
 },
 "importance_score": {
  "type": "number"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/api-strale-io-285f8677/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.strale.io](https://www.zero.xyz/host/api.strale.io/llms.txt)
