# geo.memoryapi.org Geocoding

> geo.memoryapi.org Geocoding is a paid API for AI agents from geo.memoryapi.org, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-14).

Convert addresses to geographic coordinates (forward geocoding) or coordinates to addresses (reverse geocoding) via OpenStreetMap Nominatim

## Facts

- Endpoint: GET https://geo.memoryapi.org/x402/geo/geocode
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/geo-memoryapi-org-456272bf
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_YbG-iqTbQ5h08xgssO-KP

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-memoryapi-org-456272bf
```

Example prompt: What are the latitude and longitude coordinates for 1600 Pennsylvania Avenue NW, Washington DC? And also, what address is at coordinates 48.8584° N, 2.2945° E?

## When to prefer this

Use this endpoint when you need to convert between human-readable addresses and geographic coordinates, leveraging OpenStreetMap's global Nominatim database. Prefer this over commercial geocoders (Google, HERE) when cost sensitivity matters at $0.001/call, or when open data is preferred. Ideal for enriching datasets with coordinates or building location-aware features without vendor lock-in.

## Known failure modes

- Address not found in OpenStreetMap database returns empty results
- Ambiguous address may return multiple or incorrect matches
- Coordinates outside supported regions may return no result
- Malformed address strings may produce unexpected results
- Rate limits or payment errors may block requests

## How this service works

Geocoding, weather, and timezone data via x402 micropayments. Powered by OpenStreetMap Nominatim and Open-Meteo.

## Output

Returns geographic coordinates (latitude/longitude) for a given address (forward geocoding), or a formatted address and place details for given coordinates (reverse geocoding), sourced from OpenStreetMap Nominatim data.

## Example request

```json
{
 "q": "Eiffel Tower, Paris",
 "type": "forward",
 "limit": 3
}
```

## Response schema (JSON Schema)

```json
{
 "example": {
  "type": "forward",
  "count": 1,
  "results": [
   {
    "lat": "40.7580",
    "lon": "-73.9855",
    "address": {
     "city": "New York",
     "state": "New York",
     "country": "United States",
     "postcode": "10036"
    },
    "display_name": "Times Square, Manhattan, New York"
   }
  ],
  "success": true,
  "attribution": "© OpenStreetMap contributors"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/geo-memoryapi-org-456272bf/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from geo.memoryapi.org](https://www.zero.xyz/host/geo.memoryapi.org/llms.txt)
