# NoJunk Geo Reverse Geocoding

> NoJunk Geo Reverse Geocoding is a paid API for AI agents from nojunk-geo.mick8511.workers.dev, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-16).

Converts latitude/longitude coordinates into a structured address using OpenStreetMap Nominatim data, paid per call in USDC via x402

## Facts

- Endpoint: GET https://nojunk-geo.mick8511.workers.dev/reverse?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/nojunk-geo-reverse-geocoding-374d5284
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_EF8MuA2Fc1CSTx8pkXniJ

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 nojunk-geo-reverse-geocoding-374d5284
```

Example prompt: What's the address at coordinates 26.167, -80.2567? Use detail level 18 for building-level precision.

## When to prefer this

Choose this endpoint when you need a cheap, pay-per-use reverse geocoding call without a subscription, especially in agentic pipelines where calls are infrequent or unpredictable. It is ideal when you want to avoid API key management and prefer micropayment billing in USDC. Best for building-level to country-level address resolution from coordinates using OpenStreetMap data. Prefer alternatives if you need commercial-grade SLA guarantees or high-volume batch geocoding at scale.

## Known failure modes

- Coordinates outside valid range (-90 to 90 lat, -180 to 180 lon) result in an error
- Remote ocean or uninhabited coordinates may return sparse or no address fields
- Missing required lat or lon query parameters returns an error with no charge
- Nominatim rate limits or downtime may cause temporary unavailability
- No charge is applied if no result is returned

## How this service works

NoJunk Geo reverse: Coordinates -> nearest address and place (OpenStreetMap Nominatim).

## Output

A JSON object containing the resolved address broken into structured fields (house number, road, city, county, state, postcode, country, country code), plus a human-readable display_name, OSM metadata (osm_id, osm_type, category, type), the echoed lat/lon, zoom level used, the source and attribution string, and a fetched_at timestamp.

## 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",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "lat",
      "lon"
     ],
     "properties": {
      "lat": {
       "type": "string",
       "description": "Latitude in decimal degrees, -90 to 90"
      },
      "lon": {
       "type": "string",
       "description": "Longitude in decimal degrees, -180 to 180"
      },
      "zoom": {
       "type": "string",
       "description": "Detail level 3-18 (default 18 = building; 16 street, 10 city, 5 state, 3 country)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "lat": 26.167,
  "lon": -80.2567,
  "type": "administrative",
  "zoom": 18,
  "osm_id": 1216747,
  "source": "OpenStreetMap Nominatim",
  "address": {
   "city": "Sunrise",
   "road": null,
   "state": "Florida",
   "county": "Broward County",
   "country": "United States",
   "postcode": "33322",
   "country_code": "us",
   "house_number": null
  },
  "category": "boundary",
  "osm_type": "relation",
  "fetched_at": "2026-10-15T12:00:00.000Z",
  "attribution": "Data © OpenStreetMap contributors, ODbL",
  "display_name": "Sunrise, Broward County, Florida, 33322, United States"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/nojunk-geo-reverse-geocoding-374d5284/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from nojunk-geo.mick8511.workers.dev](https://www.zero.xyz/host/nojunk-geo.mick8511.workers.dev/llms.txt)
