osm_geocode
Convert an address string to latitude/longitude and a normalized address block (country, state, city, postcode, road). Pay $0.001 USDC via x402 on Base or receive a signed authorization request.
Instructions
Forward geocoding via OpenStreetMap Nominatim. Address string → lat/lon + normalized address block (country_code, state, city, postcode, road) + match_quality label. Priced at $0.001 USDC on Base (x402). Pass a signed x402 v2 authorization as the '_payment' argument to unlock the paid response. Without it, the tool returns the 402 accept-list for your wallet to sign.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | Yes | Address to geocode (e.g. '1600 Pennsylvania Ave NW, Washington DC'). | |
| _payment | No | Optional. Signed x402 v2 X-PAYMENT header value (base64-encoded EIP-3009 authorization). If present, forwarded upstream; if absent, tool returns the 402 accept-list. |