Validate a US address
trestleiq.people.address.verifyValidate and USPS-normalize one US postal address
- Price
- $0.01/callカタログ価格で提供
- Success rate
- —成功率データはまだありません成功率データはまだありません
- Latency p50
- ——
- Last verified
- 2026/09/21Verified working
GEThttps://toolswitch.dev/v1/tools/trestleiq.people.address.verify?city=Seattle&state_code=WA&postal_code=98101&street_line_1=1+This+Address+Does+Not+ExistBeta- Uses platform quota
- Synchronous response
- Reads public data
パラメータ
US addresses only. This validation product returns normalized address fields and coordinates, not Reverse Address residents. Trestle returns a billable HTTP 200 Missing Input response when street_line_1 is absent, so treg requires it locally.
| パラメータ | 型 | 必須 | 説明 | 例 |
|---|---|---|---|---|
| クエリパラメータ | ||||
city | 文字列 | 任意 | Bellevue | |
state_code | 文字列 | 任意 | WA | |
postal_code | 文字列 | 任意 | 98004 | |
street_line_1 | 文字列 | 必須 | 800 Bellevue Way NE | |
street_line_2 | 文字列 | 任意 | ||
- クエリパラメータ
city文字列任意例:
Bellevuestate_code文字列任意例:
WApostal_code文字列任意例:
98004street_line_1文字列必須例:
800 Bellevue Way NEstreet_line_2文字列任意
コード例
$TOOLSWITCH_KEY をコンソールで作成したキーに置き換えてください。
Beta
curl -X GET 'https://toolswitch.dev/v1/tools/trestleiq.people.address.verify?city=Seattle&state_code=WA&postal_code=98101&street_line_1=1+This+Address+Does+Not+Exist' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY"import os
import requests
response = requests.request(
"GET",
"https://toolswitch.dev/v1/tools/trestleiq.people.address.verify?city=Seattle&state_code=WA&postal_code=98101&street_line_1=1+This+Address+Does+Not+Exist",
headers={"X-Toolswitch-Key": os.environ["TOOLSWITCH_KEY"]},
)
response.raise_for_status()
print(response.text)const response = await fetch("https://toolswitch.dev/v1/tools/trestleiq.people.address.verify?city=Seattle&state_code=WA&postal_code=98101&street_line_1=1+This+Address+Does+Not+Exist", {
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 や認証方式は変更される場合があります。 パラメータはサンプルデータです。 呼び出し料金は $0.01/call です。サービス料を含みます。