# geocode-place

> geocode-place is a paid API for AI agents from intel.rallylive.ca, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-14).

Converts a place or city name to coordinates (latitude, longitude), country, region, timezone, population, and elevation, with up to 5 alternative matches.

## Facts

- Endpoint: GET https://intel.rallylive.ca/data/geocode
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/geocode-place-419aaea4
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_TTE7FZwB3cjsyUgYBuE_S

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 geocode-place-419aaea4
```

Example prompt: Can you look up the coordinates, timezone, and population for Tokyo, Japan?

## When to prefer this

Choose this endpoint when you need to resolve a human-readable place or city name into geographic coordinates and metadata (timezone, population, elevation) with up to 5 candidate matches for disambiguation. It is ideal as a preprocessing step before calling weather, mapping, or time-zone APIs that require lat/lon. Prefer it over full-featured geocoding APIs when cost and simplicity matter and you don't need street-level address parsing.

## Known failure modes

- Place name not recognized or too ambiguous — returns empty results or low-confidence matches
- Non-existent or misspelled place name — may return no results
- Very small settlements may lack population or elevation data
- Network timeout or service unavailability returns an HTTP error

## How this service works

Place name to coordinates: latitude, longitude, country, region, timezone, population and elevation for a city or place, with up to 5 alternative matches. Free Open-Meteo geocoding. $0.01 per lookup.

## Output

Returns the top matching place with latitude, longitude, country, region, timezone, population, and elevation, plus up to 4 alternative matches with the same fields for disambiguation.

## 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",
     "properties": {}
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/geocode-place-419aaea4/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from intel.rallylive.ca](https://www.zero.xyz/host/intel.rallylive.ca/llms.txt)
