StreetGuard
收藏RapidAPI2025-05-05 更新2025-05-03 收录
下载链接:
https://rapidapi.com/contact-fNmY_FsWB/api/streetguard
下载链接
链接失效反馈官方服务:
资源简介:
StreetGuard provides a simple and efficient API to **validate** and **verify** international postal addresses
创建时间:
2025-05-05
原始信息汇总
StreetGuard API 数据集概述
基本信息
- API名称: StreetGuard
- 版本: 1.0.0
- 类别: Mapping
- 提供商: Agile Lab
- 订阅者数量: 1
- 订阅计划:
- BASIC: $0.00 / mo
- PRO: $30.00 / mo
- ULTRA: $80.00 / mo
- MEGA: $120.00 / mo
API 概述
StreetGuard 提供了一个简单高效的 API,用于验证和核实国际邮政地址。该 API 确保地址数据在结构上正确,并对应现实世界中的位置,从而提高交付可靠性、数据完整性和客户满意度。
端点
1. /api/address/validation
- 方法:
POST - 目的: 验证邮政地址的格式是否正确,并适合指定的国家。
请求体
json { "address": "123 Main Street", "postal_code": "90210", "city": "Los Angeles", "country": "US" }
参数
| 字段 | 类型 | 描述 |
|---|---|---|
address |
string | 街道地址 |
postal_code |
string | 邮政编码或 ZIP 码 |
city |
string | 城市名称 |
country |
string | ISO 国家代码(如 US, FR) |
成功响应 (200)
json { "status": "success", "message": "Address is valid" }
验证失败 (422)
json { "status": "error", "message": "Validation failed", "errors": [ "The address doesnt seem to be correct" ] }
2. /api/address/verification
- 方法:
POST - 目的: 核实完整地址是否对应现实世界中的位置。
请求体
json { "complete_address": "123 Main Street 90210 Los Angeles US" }
参数
| 字段 | 类型 | 描述 |
|---|---|---|
complete_address |
string | 完整的地址字符串 |
成功响应 (200)
json { "status": "success", "total": 1, "content": [ "123, Main Street, El Segundo, Los Angeles County, California, 90245, United States" ] }
核实失败 (422)
json { "status": "error", "error": "Address cannot be found" }
总结
| 端点 | 目的 | 方法 | 需要认证 |
|---|---|---|---|
/api/address/validation |
验证地址 | POST | ✅ 是 |
/api/address/verification |
核实完整地址 | POST | ✅ 是 |



