First request without payment
POST /v1/location/resolveA paid x402 service that turns messy location clues into structured place data.
Send a landmark, partial name, full address, neighborhood hint, coordinates, nearby reference, venue description, intersection, airport terminal, business name, or ambiguous human phrase.
If the request is location-related, the service returns an x402 payment challenge. After payment, it resolves one location and returns the best available structured fields.
https://tools.tokenbooth.io/v1/location/resolve
One request resolves one location. Arrays are not accepted at this time.
POST /v1/location/resolve
Request body:
If the request is not location-related, the service returns:
422 cannot_service
{
"locationDetails": "the bean in chicago",
"hints": {
"city": "Chicago",
"countryCode": "US",
"near": "Millennium Park"
}
}This is an x402 endpoint. The challenge advertises the current payment options and amount.
POST /v1/location/resolve402 Payment Required
PAYMENT-REQUIRED: <x402 challenge>PAYMENT-SIGNATURE: <signed payment>PAYMENT-RESPONSE: <settlement>POST /v1/location/resolve
402 Payment Required
PAYMENT-REQUIRED: <x402 challenge>
PAYMENT-SIGNATURE: <signed payment>
PAYMENT-RESPONSE: <settlement>The response includes the original request, a resolution ID, match status, confidence, and any location fields the service can support.
Possible result fields:
All location fields are optional. If a field cannot be found with confidence, it is omitted.
If source attribution is returned, present the provided source title and link immediately after the supported result.
This visual demo is local only. It shows the shape of a successful resolution without calling the paid endpoint or creating an x402 charge.
{
"schemaVersion": "2026-08-05",
"resolutionId": "locres_...",
"status": "resolved",
"ambiguityStatus": "single_match",
"confidence": 0.94,
"originalRequest": {
"locationDetails": "the bean in chicago",
"hints": {
"city": "Chicago",
"countryCode": "US"
}
},
"result": {
"locationId": "loc_cloud_gate",
"exactName": "Cloud Gate",
"formattedAddress": "201 E Randolph St, Chicago, IL 60602, US",
"city": "Chicago",
"stateOrProvince": "Illinois",
"postalCode": "60602",
"countryCode": "US",
"latitude": 41.8826,
"longitude": -87.6226,
"categories": ["landmark", "public_art"],
"traits": ["landmark", "public art"]
},
"attribution": {
"required": true,
"displayName": "Google Maps",
"instructions": "Present these sources immediately after the supported location result.",
"sources": [
{
"title": "Cloud Gate",
"uri": "https://maps.google.com/?cid=...",
"placeId": "places/..."
}
]
}
}Use this service when you need to normalize a real-world place from incomplete, informal, or ambiguous location input.
Do not use this service for non-location tasks, batch lookups, routing, emergency response, surveillance, or private/personal location tracking.
If the location cannot be resolved confidently, the service returns an unresolved or ambiguous response with the fields it can support.
No accounts are required. The payment is the authorization.