Nearby Place Search with AI Agents (Amap)
Let an AI agent run nearby POI search on Amap — give a center point, radius and category, and get back the shops and facilities around it, with input tips to resolve fuzzy place names and results sorted by distance.

Tool names in this guide are for reference only and may have changed or been renamed. Please use the latest tools in the tool marketplace when implementing.
Key takeaways
- Pull the shops and facilities near a point from one plain-English prompt
- Resolve fuzzy place names into precise coordinates with input tips
- The agent sorts results by distance into a ready-to-use nearby list
Tools used
Why "what's nearby" is harder than it sounds
For local discovery or site selection, the most common ask is simply "what's around this point." It sounds like one step, but by hand it fragments fast: first you turn a place name or address into exact coordinates, then you search a map dashboard category by category, then you manually re-order the hits by distance — and change the center or radius and you start over. Mistype one character in a place name and your results can be kilometers off. There's no shortage of data; what's missing is the patience to chain locate → search → sort together.
An AI agent collapses that chain. You describe the center point, radius and category in plain language, and the agent calls a nearby-search tool (such as ae_amap_maps_get_v3_place_around), pulls the results, sorts them by distance, and hands back a clean nearby list.
The workflow in four steps
- Set the location — give the agent a center point (a name or coordinates), a search radius, and the POI category you want.
- Resolve the name — when the place name is fuzzy, use input tips to snap it to a precise location.
- Search nearby — pull the shops and facilities within the radius, filtered by category.
- Sort and deliver — the agent orders results by distance (and rating where useful) and returns a nearby recommendation list.
How to run each step
Step 1 — Describe the job
Tell the agent plainly: use ae to find cafes within 1000 meters of example center point and sort them by distance for me. The agent interprets this and picks the matching tools. No API wiring, no map dashboard login.
Step 2 — Resolve with input tips
If all you have is an approximate place name, the agent first calls an input-tips tool (such as ae_amap_maps_get_v3_assistant_inputtips) to complete it into candidate places and precise coordinates, so the center point isn't off from the start. This step matters most for spoken, incomplete addresses.
Step 3 — Nearby search
With an accurate center point, the agent calls a nearby-search tool (such as ae_amap_maps_get_v3_place_around, or the newer ae_amap_maps_get_v5_place_around) to pull POIs within the radius, filtered by category. You can set radius and category in the same sentence instead of searching one category at a time.
Step 4 — Sort and output
Given the raw POI list, the agent orders it by distance from the center point, factoring in category and rating where useful, and returns a consistently structured nearby list — not a pile of raw points, but results you can use directly.
Doing it by hand vs. with an agent
| Step | Manual in a map dashboard | With an AI agent |
|---|---|---|
| Set the center | Search a name, pick the right coordinate | Input tips snap it to precise coordinates |
| Nearby search | Search category by category, export each | One prompt pulls by radius + category |
| Sorting | Re-order by distance by hand | Agent sorts by distance automatically |
| Re-run with new params | Redo the whole flow for a new radius/center | Change the parameter in one sentence |
| Consistency | Varies per person | Same structured output every run |
How to get started
- Sign up — new users get 1,000 free credits.
- Connect in-app inside an agent like WorkBuddy or Trae, or paste a one-line MCP config into Claude Code, Cursor or VSCode.
- Give the instruction in natural language and let the agent locate, search and sort.
FAQ
Can I limit the search radius? Yes. State the radius in your prompt (for example, "within 1000 meters") and the agent passes it to the nearby-search tool, returning only POIs inside the range.
Can I filter by category? Yes. Name the category you want (cafes, charging stations, pharmacies, and so on) and the agent filters by it rather than dumping unrelated points on you.
Is it limited to mainland China? Amap's coverage centers on mainland China. The exact searchable scope depends on the tool's current capabilities — see the tools page.
