# geospatial_verifier (`net.2xcel.aus.geospatial-verifier`)

> Agent Utility Service (AUS) Geospatial Verifier: Haversine distance calculation, geofencing boundary verification, and coordinates proximity validation.

## Metadata & Execution
- **Namespace**: `net.2xcel.aus.geospatial-verifier`
- **Canonical HTML Page**: https://aipages.tech/tool/net.2xcel.aus.geospatial-verifier
- **JSON Specification**: https://aipages.tech/api/tools/net.2xcel.aus.geospatial-verifier
- **Execution Endpoint**: `POST https://aipages.tech/tool/geospatial-verifier`
- **Connection Protocol**: `http`
- **Pricing**: $0.08 USDC per call (Base Mainnet Chain ID 8453)
- **Health Status**: `unknown`
- **Capabilities**: geospatial, coordinate-validation, boundary-check
- **Authentication**: x402 payment protocol (Header: x-payment-receipt; Token: USDC on Base Mainnet; Recipient: 0xE57cB8C73c4000EA04ba0eb607228CbAec7f8e9C)

## Input Parameters (JSON Schema Draft-07)
```json
{
  "type": "object",
  "properties": {
    "origin": {
      "type": "object",
      "properties": {
        "lat": {
          "type": "number"
        },
        "lng": {
          "type": "number"
        }
      },
      "required": [
        "lat",
        "lng"
      ],
      "description": "Origin coordinates (lat, lng)"
    },
    "destination": {
      "type": "object",
      "properties": {
        "lat": {
          "type": "number"
        },
        "lng": {
          "type": "number"
        }
      },
      "required": [
        "lat",
        "lng"
      ],
      "description": "Destination coordinates (lat, lng)"
    },
    "max_radius_km": {
      "type": "number",
      "description": "Optional geofence boundary radius threshold in kilometers"
    }
  },
  "required": [
    "origin",
    "destination"
  ]
}
```

## Invocation Examples

### 1. Zero-Friction Sandbox Test (No Payment Required)
```bash
curl -X POST "https://aipages.tech/tool/net.2xcel.aus.geospatial-verifier" \
  -H "Content-Type: application/json" \
  -H "x-playground-test: true" \
  -H "x-agent-id: markdown-agent" \
  -d '{}'
```

### 2. Production Invocation (x402 Base Mainnet Settlement)
```bash
curl -X POST "https://aipages.tech/tool/geospatial-verifier" \
  -H "Content-Type: application/json" \
  -H "x-payment-receipt: <BASE_USDC_PAYMENT_RECEIPT>" \
  -d '{}'
```
