# Geo Calc Plus Code Decoder

> Geo Calc Plus Code Decoder is a paid API for AI agents from geo-calc.x402tookit.com, paid per call via x402, $0.02/call, status unknown (last checked 2026-10-30).

Decodes a full or short Plus Code (Open Location Code) to its geographic area, bounding box, and center coordinates, recovering short codes using a reference point.

## Facts

- Endpoint: GET https://geo-calc.x402tookit.com/pluscode-decode?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-30
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/geo-calc-plus-code-decoder-91802a51
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_9aDE5qoBUlEonoeAPI7tv

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-calc-plus-code-decoder-91802a51
```

Example prompt: Decode the Plus Code 8FVC9G8F+6W and tell me its center coordinates and bounding box.

## When to prefer this

Use this endpoint when you need to decode a Google Plus Code / Open Location Code (OLC) to actual geographic coordinates or a bounding area, especially when dealing with short codes that need a reference location. Prefer this over geohash or UTM endpoints when the input is specifically in Plus Code format (e.g. contains a '+' separator like '8FVC9G8F+6W').

## Known failure modes

- Invalid or malformed Plus Code returns valid=false with reasons explaining the issue
- Short code provided without refLat/refLon cannot be resolved and returns an error
- Code outside valid geographic range returns invalid response
- Missing required 'code' query parameter returns a schema validation error
- Network timeout or service unavailability returns a non-200 response

## How this service works

Decode a Plus Code (Open Location Code) to its area and center; recovers short codes near a reference point.

## Output

Returns the decoded Plus Code's center latitude and longitude, bounding box (north/south/east/west bounds), whether the code is valid, whether it was a short code, the full expanded code, digit precision, and any validation reasons or warnings.

## 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",
     "required": [
      "code"
     ],
     "properties": {
      "code": {
       "type": "string",
       "description": "Full code like 8FVC9G8F+6W or a short one like 9G8F+6W"
      },
      "refLat": {
       "type": "number",
       "description": "Reference latitude, needed for short codes"
      },
      "refLon": {
       "type": "number",
       "description": "Reference longitude, needed for short codes"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "asOf": {
       "type": [
        "null",
        "string"
       ]
      },
      "code": {
       "type": [
        "null",
        "string"
       ]
      },
      "short": {
       "type": [
        "boolean",
        "null"
       ]
      },
      "valid": {
       "type": [
        "boolean",
        "null"
       ]
      },
      "bounds": {
       "type": [
        "null",
        "object"
       ],
       "properties": {
        "east": {
         "type": [
          "null",
          "number"
         ]
        },
        "west": {
         "type": [
          "null",
          "number"
         ]
        },
        "north": {
         "type": [
          "null",
          "number"
         ]
        },
        "south": {
         "type": [
          "null",
          "number"
         ]
        }
       }
      },
      "digits": {
       "type": [
        "null",
        "number"
       ]
      },
      "source": {
       "type": [
        "null",
        "string"
       ]
      },
      "reasons": {
       "type": [
        "array",
        "null"
       ],
       "items": {
        "type": "string"
       }
      },
      "summary": {
       "type": [
        "null",
        "string"
       ]
      },
      "verdict": {
       "type": [
        "null",
        "string"
       ]
      },
      "degraded": {
       "type": [
        "boolean",
        "null"
      
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/geo-calc-plus-code-decoder-91802a51/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from geo-calc.x402tookit.com](https://www.zero.xyz/host/geo-calc.x402tookit.com/llms.txt)
