Find places that match intents near a location
atly.places.search.intentFind places for an intent near a location
- 가격
- free정가 기준
- 성공률
- —성공률 데이터가 아직 없습니다성공률 데이터가 아직 없습니다
- 지연 시간 p50
- ——
- 마지막 검증
- 2026. 11. 2.동작 확인됨
POSThttps://toolswitch.dev/v1/tools/atly.places.search.intentBeta- 플랫폼 할당량 사용
- 동기 응답
- 공개 데이터 읽기
파라미터
Ranked by Atly's 0-10 score for the requested categories, relative to other places in the same country; a place with no score is unmeasured, not bad. Each place carries quotable reasons from reviews, the Atly url to cite, a Google Maps link, and open_now when its hours are known. The first three results also carry hours, contact and good-to-know facts.
| 파라미터 | 유형 | 필수 | 설명 | 예시 |
|---|---|---|---|---|
| 요청 본문(JSON) | ||||
lat | 숫자 | 선택 | With lon (and optionally radius_km) instead of area_id. | |
lon | 숫자 | 선택 | ||
limit | 정수 | 선택 | Places to return. | 3 |
area_id | 문자열 | 선택 | Up to 120 characters. An area id from atly.places.areas, or a city name such as "Austin" or "Boise, ID". Give this or lat and lon, not both. | New York |
radius_km | 숫자 | 선택 | Search radius around lat/lon in km, held to 0.2-50. | |
categories | array[string] | 필수 | 1-5 category names or ids from atly.places.categories, most important first. A name must be exact; a near miss is refused with the close matches. Every result matches all of them; if none does, trailing ones are dropped (never the first) and dropped_categories names them. | ["Cappuccino"] |
place_type | array[string] | 선택 | Words matched as whole words against each place's Google place types, e.g. ["restaurant"]. Google's types are literal: for cafes pass ["cafe", "coffee"]. Use it for a kind of venue, not a dish or a feature. | |
- 요청 본문(JSON)
lat숫자선택With lon (and optionally radius_km) instead of area_id.
lon숫자선택limit정수선택Places to return.
예시:
3area_id문자열선택Up to 120 characters. An area id from atly.places.areas, or a city name such as "Austin" or "Boise, ID". Give this or lat and lon, not both.
예시:
New Yorkradius_km숫자선택Search radius around lat/lon in km, held to 0.2-50.
categoriesarray[string]필수1-5 category names or ids from atly.places.categories, most important first. A name must be exact; a near miss is refused with the close matches. Every result matches all of them; if none does, trailing ones are dropped (never the first) and dropped_categories names them.
예시:
["Cappuccino"]place_typearray[string]선택Words matched as whole words against each place's Google place types, e.g. ["restaurant"]. Google's types are literal: for cafes pass ["cafe", "coffee"]. Use it for a kind of venue, not a dish or a feature.
코드 예제
$TOOLSWITCH_KEY를 콘솔에서 생성한 키로 바꾸세요.
curl -X POST 'https://toolswitch.dev/v1/tools/atly.places.search.intent' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY" \
-H "Content-Type: application/json" \
--data-raw '{"limit":1,"area_id":"canonical-area::c790a21e-65a4-5e5c-8061-64900cd3fd0e","categories":["69e178c3-14be-11ee-a9cb-614c6a0a867a"]}'import os
import json
import requests
response = requests.request(
"POST",
"https://toolswitch.dev/v1/tools/atly.places.search.intent",
headers={"X-Toolswitch-Key": os.environ["TOOLSWITCH_KEY"]},
json=json.loads("{\"limit\":1,\"area_id\":\"canonical-area::c790a21e-65a4-5e5c-8061-64900cd3fd0e\",\"categories\":[\"69e178c3-14be-11ee-a9cb-614c6a0a867a\"]}"),
)
response.raise_for_status()
print(response.text)const response = await fetch("https://toolswitch.dev/v1/tools/atly.places.search.intent", {
method: "POST",
headers: {
"X-Toolswitch-Key": process.env.TOOLSWITCH_KEY ?? "",
"Content-Type": "application/json",
},
body: JSON.stringify(JSON.parse("{\"limit\":1,\"area_id\":\"canonical-area::c790a21e-65a4-5e5c-8061-64900cd3fd0e\",\"categories\":[\"69e178c3-14be-11ee-a9cb-614c6a0a867a\"]}")),
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
console.log(await response.text());게이트웨이 API는 Beta이며 URL과 인증 방식이 변경될 수 있습니다. 예제 매개변수는 샘플 데이터입니다. 호출 요금은 free이며 서비스 수수료가 포함되어 있습니다.