Lookup
The everyday question
Section titled “The everyday question”From the same coordinates you already store on accounts, sites, or program locations:
- Inside: “Which district or service area contains this point?”
- Nearest: “What’s the closest feature, and how far away is it?”
Request shape
Section titled “Request shape”Send decimal-degree lat and long, your provisioned service name, and a mode (containment vs nearest—exact parameter names match your service’s OpenAPI spec). Lookup is billed under the same setup + usage model as map layers, not as a separate product line.
Response shape
Section titled “Response shape”Structured JSON includes:
- Feature properties (district name, codes, etc.)
- Optional distance and direction for nearest mode
- status and cache hints (
fromcache) for debugging
Example property fields you may see: NAME, DSTNUM, OBJECTID, area and length measures—varies by layer.
See your service’s OpenAPI import for the authoritative schema.