Search places
search_placesFind places for an intent near a location
The core call. Give one or more category ids (from list_categories; all must match) and a location — either
an area_id from list_areas or coordinates with a radius — and get places ranked by Atly's score for those
categories, each with quotable reasons from real reviews, a link to cite, and freshness. Scores are 0–10 and
relative to the area; a place with no score is unmeasured, not bad. If no place matches every category, trailing
categories are dropped until something does (the first is never dropped), and dropped_categories says which.
Ranking considers the strongest 100 candidates by Atly's base score. Scores are relative to other places in the same country.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lat | No | ||
| lon | No | ||
| limit | No | ||
| area_id | No | An id from `list_areas`; the search covers that area's viewport. Give this or lat/lon, not both. | |
| radius_km | No | Used with lat/lon. | |
| categories | Yes | Category ids, most important first. Every result matches all of them (after any relaxation). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| area | No | The resolved search geometry — an area (id, name, level, center, bbox) or a circle (center, radius_km). | |
| places | No | ||
| call_id | No | ||
| doc_notes | No | ||
| total_matched | No | How many places match in this area, capped ("1000+"). Absent when counting timed out. | |
| dropped_categories | No | Category ids dropped to avoid an empty result. |