Geocode
geocodeGeocode an address or place name to latitude/longitude (US Census Geocoder for US street addresses, Photon/OpenStreetMap worldwide), or reverse-geocode lat/lon to an address (with US county/tract). Read-only. Price: $0.005 USDC per successful call (x402, Solana). Same tool over HTTPS: GET https://scorptech.it.com/api/x402/v1/geocode
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "geocode"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | No | Address or place for forward geocoding | |
| lat | No | Latitude for reverse geocoding | |
| lon | No | Longitude for reverse geocoding | |
| lang | No | Photon result language; default "en" | |
| limit | No | limit; default 3 | |
| provider | No | provider; default "auto" |