Look up covered cities and neighborhoods (names to ids)
atly.places.areasList supported areas
- 価格
- freeカタログ価格で提供
- 成功率
- —成功率データはまだありません成功率データはまだありません
- レイテンシ p50
- ——
- 最終確認
- 2026/11/02動作確認済み
GEThttps://toolswitch.dev/v1/tools/atly.places.areas?q=new+york&level=city&limit=1Beta- プラットフォームのクォータを使用
- 同期レスポンス
- 公開データを読み取る
パラメータ
| パラメータ | 型 | 必須 | 説明 | 例 |
|---|---|---|---|---|
| クエリパラメータ | ||||
q | 文字列 | 任意 | Up to 80 characters. Area name or common abbreviation, e.g. san diego, midtown, nyc. Exact and prefix matches rank first. | new york |
level | 文字列 | 任意 | city | |
limit | 整数 | 任意 | Areas to return; without q, ordered by place count. | 1 |
- クエリパラメータ
q文字列任意Up to 80 characters. Area name or common abbreviation, e.g. san diego, midtown, nyc. Exact and prefix matches rank first.
例:
new yorklevel文字列任意例:
citylimit整数任意Areas to return; without q, ordered by place count.
例:
1
コード例
$TOOLSWITCH_KEY をコンソールで作成したキーに置き換えてください。
Beta
curl -X GET 'https://toolswitch.dev/v1/tools/atly.places.areas?q=new+york&level=city&limit=1' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY"import os
import requests
response = requests.request(
"GET",
"https://toolswitch.dev/v1/tools/atly.places.areas?q=new+york&level=city&limit=1",
headers={"X-Toolswitch-Key": os.environ["TOOLSWITCH_KEY"]},
)
response.raise_for_status()
print(response.text)const response = await fetch("https://toolswitch.dev/v1/tools/atly.places.areas?q=new+york&level=city&limit=1", {
method: "GET",
headers: {
"X-Toolswitch-Key": process.env.TOOLSWITCH_KEY ?? "",
},
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
console.log(await response.text());このゲートウェイ API は Beta です。URL や認証方式は変更される場合があります。 パラメータはサンプルデータです。 呼び出し料金は free です。サービス料を含みます。