# Reverse Geocoding: Place Name from Coordinates

> Reverse Geocoding: Place Name from Coordinates is a paid API for AI agents from agent-data-tools.revmesh2074.workers.dev, paid per call via x402, $0.01/call, status unknown (last checked 2026-12-03).

Converts latitude/longitude coordinates into place names, administrative region, country, population, and Wikidata ID for the nearest and largest nearby populated places.

## Facts

- Endpoint: GET https://agent-data-tools.revmesh2074.workers.dev/geocode/reverse?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-12-03
- Activations on Zero: 0
- Provider: agent-data-tools.revmesh2074.workers.dev
- Website: https://agent-data-tools.revmesh2074.workers.dev
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agent-data-tools-revmesh2074-workers-dev-reverse-geocoding-place-name-64916bd4
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_XyqcpcbcuZecTjTejCtci

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 agent-data-tools-revmesh2074-workers-dev-reverse-geocoding-place-name-64916bd4
```

Example prompt: What's the nearest town and city to the coordinates 51.5074, -0.1278? Search within a 15km radius and give me the country, region, population, and Wikidata ID.

## When to prefer this

Choose this endpoint when you need to label GPS coordinates, geotagged photos, delivery points, or IP-derived locations with human-readable place names and geographic context (country, region, population). It is ideal when you specifically want Wikidata-sourced place data with population figures and Wikidata IDs for linking to knowledge graphs. For the reverse operation (place name to coordinates), use the companion geocode endpoint instead.

## Known failure modes

- No populated places found within the specified radius — try increasing the radius parameter up to 50km
- Coordinates out of valid range (lat must be -90 to 90, lon must be -180 to 180) — returns error
- Radius outside the 1–50km allowed range — returns validation error
- Remote ocean or uninhabited area coordinates may return empty places array
- Payment/402 failure if free call quota (25 calls) is exhausted and no credits are available

## How this service works

Turn latitude and longitude into place names: the nearest populated place and the largest one within the radius (usually the town or city the point is in), with country and ISO code, administrative region, population, distance and Wikidata id, plus the other places nearby. Data from Wikidata (CC0). Use to label GPS points, photos, deliveries or IP-derived coordinates; for place name to coordinates use geocode.

## Output

Returns the input coordinates and search radius, plus a 'nearest' object (name, region, country, countryCode, distanceKm, population, wikidataId, description) and a 'largest' object for the most populous place within the radius, along with a 'places' array listing all nearby populated places with name, distanceKm, and population. Also includes the data source (Wikidata CC0).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "lat",
  "lon"
 ],
 "properties": {
  "lat": {
   "type": "number",
   "description": "Latitude (-90 to 90)"
  },
  "lon": {
   "type": "number",
   "description": "Longitude (-180 to 180)"
  },
  "radius": {
   "type": "number",
   "description": "Search radius in km, 1-50 (default 10)"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "lat": {
   "type": "number"
  },
  "lon": {
   "type": "number"
  },
  "places": {
   "type": "array",
   "items": {
    "type": "object",
    "properties": {
     "name": {
      "type": "string"
     },
     "region": {
      "type": "string"
     },
     "country": {
      "type": "string"
     },
     "distanceKm": {
      "type": "number"
     },
     "population": {
      "type": "number"
     },
     "settlement": {
      "type": "boolean"
     },
     "wikidataId": {
      "type": "string"
     },
     "countryCode": {
      "type": "string"
     },
     "description": {
      "type": "string"
     }
    }
   }
  },
  "source": {
   "type": "string"
  },
  "largest": {
   "type": "object",
   "properties": {
    "name": {
     "type": "string"
    },
    "region": {
     "type": "string"
    },
    "country": {
     "type": "string"
    },
    "distanceKm": {
     "type": "number"
    },
    "population": {
     "type": "number"
    },
    "settlement": {
     "type": "boolean"
    },
    "wikidataId": {
     "type": "string"
    },
    "countryCode": {
     "type": "string"
    },
    "description": {
     "type": "string"
    }
   }
  },
  "nearest": {
   "type": "object",
   "properties": {
    "name": {
     "type": "string"
    },
    "region": {
     "type": "string"
    },
    "country": {
     "type": "string"
    },
    "distanceKm": {
     "type": "number"
    },
    "population": {
     "type": "number"
    },
    "settlement": {
     "type": "boolean"
    },
    "wikidataId": {
     "type": "string"
    },
    "countryCode": {
     "type": "string"
    },
    "description": {
     "type": "string"
    }
   }
  },
  "radiusKm": {
   "type": "number"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agent-data-tools-revmesh2074-workers-dev-reverse-geocoding-place-name-64916bd4/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agent-data-tools.revmesh2074.workers.dev](https://www.zero.xyz/host/agent-data-tools.revmesh2074.workers.dev/llms.txt)
