坐标转地址 API 是一个强大的工具,适合希望将基于位置的服务集成到其应用程序中的开发人员。通过该 API,用户可以轻松将经度和纬度坐标转换为人类可读的地址,从而简化位置识别过程,提升用户体验。
该 API 通过将经度和纬度坐标作为输入,利用地理编码算法返回与这些坐标对应的详细地址。此信息可用于多种应用程序,从地图和导航服务到天气和交通应用程序。
该 API 的主要优点之一是易于使用。只需几行代码,开发人员就可以快速将该 API 集成到其应用程序中,为用户提供即时的位置信息。此外,该 API 具有高度可扩展性,这意味着它可以处理大量请求而不会牺牲性能或准确性。
总之,坐标转地址 API 是一个必不可少的工具,适合希望增强其应用程序提供的基于位置的服务的开发人员。凭借其易用性、准确性和可扩展性,该 API 是任何希望将基于位置的服务整合到其应用程序中的开发人员的完美解决方案。
它将接收一个参数,并向您提供一个 JSON。
地图和导航:坐标转地址 API 可用于为地图和导航应用程序提供详细的位置资讯,使用户能够轻松找到前往目标地点的路径。
地理标记:该 API 可用于根据经度和纬度坐标自动标记照片和视频的准确位置信息。
房地产:该 API 可被房地产应用程序使用,以提供物业的准确位置信息,使潜在买家或租户能够迅速找到所需区域的物业。
旅游和观光:该 API 可用于为旅游和观光应用程序提供基于位置的推荐,根据用户的位置建议附近的景点、餐厅和酒店。
天气应用程序:该 API 可用于提供基于位置的天气更新和警报,使用户能够及时了解其区域的当前和未来天气状况。
紧急服务:该 API 可被紧急服务使用,以快速识别和定位求助信号或紧急电话的来源。
车队管理:该 API 可被车队管理应用程序使用,以跟踪车辆和资产的位置,帮助企业优化其运营并提高效率。
配送服务:该 API 可用于为配送服务提供准确的位置信息,使其能够快速高效地将包裹送达预定目的地。
电子商务:该 API 可用于为电子商务应用程序提供基于位置的推荐,根据用户的位置建议附近的商店和产品。
社交媒体:该 API 可用于在社交媒体帖子和更新中标记位置信息,让用户能够与朋友和关注者分享自己的位置。
基础计划:800 次 API 调用。
专业计划:20,000 次 API 调用。
专业高级计划:100,000 次 API 调用。
高级计划:500,000 次 API 调用。
坐标转地址端点是一个非常有用的工具,允许开发人员轻松将经度和纬度坐标转换为人类可读的地址。此信息可用于广泛的应用,从地图和导航服务到房地产和紧急服务。凭借易用性和可扩展性,坐标转地址端点是任何希望将基于位置的服务整合到其应用程序中的开发人员的必备工具。
坐标转地址 - 端点功能
| 对象 | 描述 |
|---|---|
lat |
[必需] Latitude. For Example: 34.043835 |
long |
[必需] Longitude. For Example: -118.275129 |
{"plus_code":{"compound_code":"2PVF+GWQ Los Angeles, CA, USA","global_code":"85632PVF+GWQ"},"results":[{"address_components":[{"long_name":"1435","short_name":"1435","types":["street_number"]},{"long_name":"West Pico Boulevard","short_name":"W Pico Blvd","types":["route"]},{"long_name":"Westlake","short_name":"Westlake","types":["neighborhood","political"]},{"long_name":"Los Angeles","short_name":"Los Angeles","types":["locality","political"]},{"long_name":"Los Angeles County","short_name":"Los Angeles County","types":["administrative_area_level_2","political"]},{"long_name":"California","short_name":"CA","types":["administrative_area_level_1","political"]},{"long_name":"United States","short_name":"US","types":["country","political"]},{"long_name":"90015","short_name":"90015","types":["postal_code"]}],"formatted_address":"1435 W Pico Blvd, Los Angeles, CA 90015, USA","geometry":{"location":{"lat":34.0439177,"lng":-118.2750117},"location_type":"ROOFTOP","viewport":{"northeast":{"lat":34.0452666802915,"lng":-118.2736627197085},"southwest":{"lat":34.04256871970851,"lng":-118.2763606802915}}},"place_id":"ChIJJRQOEb7HwoARJaSCm2uj1qY","plus_code":{"compound_code":"2PVF+HX Los Angeles, CA, USA","global_code":"85632PVF+HX"},"types":["street_address"]},{"address_components":[{"long_name":"1435","short_name":"1435","types":["street_number"]},{"long_name":"West Pico Boulevard","short_name":"W Pico Blvd","types":["route"]},{"long_name":"Westlake","short_name":"Westlake","types":["neighborhood","political"]},{"long_name":"Los Angeles","short_name":"Los Angeles","types":["locality","political"]},{"long_name":"Los Angeles County","short_name":"Los Angeles County","types":["administrative_area_level_2","political"]},{"long_name":"California","short_name":"CA","types":["administrative_area_level_1","political"]},{"long_name":"United States","short_name":"US","types":["country","political"]},{"long_name":"90015","short_name":"90015","types":["postal_code"]}],"formatted_address":"1435 W Pico Blvd, Los Angeles, CA 90015, USA","geometry":{"location":{"lat":34.0439177,"lng":-118.2750117},"location_type":"ROOFTOP","viewport":{"northeast":{"lat":34.0452666802915,"lng":-118.2736627197085},"southwest":{"lat":34.04256871970851,"lng":-118.2763606802915}}},"place_id":"ChIJZQ7QE77HwoAROw8hKhFP41Q","plus_code":{"compound_code":"2PVF+HX Los Angeles, CA, USA","global_code":"85632PVF+HX"},"types":["establishment","point_of_interest"]},{"address_components":[{"long_name":"1500","short_name":"1500","types":["street_number"]},{"long_name":"West Pico Boulevard","short_name":"W Pico Blvd","types":["route"]},{"long_name":"Westlake","short_name":"Westlake","types":["neighborhood","political"]},{"long_name":"Los Angeles","short_name":"Los Angeles","types":["locality","political"]},{"long_name":"Los Angeles County","short_name":"Los Angeles County","types":["administrative_area_level_2","political"]},{"long_name":"California","short_name":"CA","types":["administrative_area_level_1","political"]},{"long_name":"United States","short_name":"US","types":["country","political"]},{"long_name":"90015","short_name":"90015","types":["postal_code"]},{"long_name":"2408","short_name":"2408","types":["postal_code_suffix"]}],"formatted_address":"1500 W Pico Blvd, Los Angeles, CA 90015, USA","geometry":{"bounds":{"northeast":{"lat":34.043761,"lng":-118.2750526},"southwest":{"lat":34.0433541,"lng":-118.2754612}},"location":{"lat":34.0435525,"lng":-118.2752917},"location_type":"ROOFTOP","viewport":{"northeast":{"lat":34.0449065302915,"lng":-118.2739079197085},"southwest":{"lat":34.0422085697085,"lng":-118.2766058802915}}},"place_id":"ChIJI_WZF77HwoARocNRJoJdUAA","types":["premise"]},{"address_components":[{"long_name":"1510","short_name":"1510","types":["street_number"]},{"long_name":"West Pico Boulevard","short_name":"W Pico Blvd","types":["route"]},{"long_name":"Westlake","short_name":"Westlake","types":["neighborhood","political"]},{"long_name":"Los Angeles","short_name":"Los Angeles","types":["locality","political"]},{"long_name":"Los Angeles County","short_name":"Los Angeles County","types":["administrative_area_level_2","political"]},{"long_name":"California","short_name":"CA","types":["administrative_area_level_1","political"]},{"long_name":"United States","short_name":"US","types":["country","political"]},{"long_name":"90015","short_name":"90015","types":["postal_code"]},{"long_name":"2408","short_name":"2408","types":["postal_code_suffix"]}],"formatted_address":"1510 W Pico Blvd, Los Angeles, CA 90015, USA","geometry":{"location":{"lat":34.0439367,"lng":-118.275357},"location_type":"RANGE_INTERPOLATED","viewport":{"northeast":{"lat":34.04528568029149,"lng":-118.2740080197085},"southwest":{"lat":34.0425877197085,"lng":-118.2767059802915}}},"place_id":"EiwxNTEwIFcgUGljbyBCbHZkLCBMb3MgQW5nZWxlcywgQ0EgOTAwMTUsIFVTQSIbEhkKFAoSCakl0Bq-x8KAER4zDU0cNIhBEOYL","types":["street_address"]},{"address_components":[{"long_name":"1502-1500","short_name":"1502-1500","types":["street_number"]},{"long_name":"Pico Boulevard","short_name":"Pico Blvd","types":["route"]},{"long_name":"Westlake","short_name":"Westlake","types":["neighborhood","political"]},{"long_name":"Los Angeles","short_name":"Los Angeles","types":["locality","political"]},{"long_name":"Los Angeles County","short_name":"Los Angeles County","types":["administrative_area_level_2","political"]},{"long_name":"California","short_name":"CA","types":["administrative_area_level_1","political"]},{"long_name":"United States","short_name":"US","types":["country","political"]},{"long_name":"90015","short_name":"90015","types":["postal_code"]},{"long_name":"2408","short_name":"2408","types":["postal_code_suffix"]}],"formatted_address":"1502-1500 Pico Blvd, Los Angeles, CA 90015, USA","geometry":{"bounds":{"northeast":{"lat":34.0438862,"lng":-118.2748942},"southwest":{"lat":34.0437226,"lng":-118.2752411}},"location":{"lat":34.0438044,"lng":-118.2750676},"location_type":"GEOMETRIC_CENTER","viewport":{"northeast":{"lat":34.0451533802915,"lng":-118.2737186697085},"southwest":{"lat":34.0424554197085,"lng":-118.2764166302915}}},"place_id":"ChIJmZ3KFr7HwoARkMHojkr-N94","types":["route"]},{"address_components":[{"long_name":"2PVF+GW","short_name":"2PVF+GW","types":["plus_code"]},{"long_name":"Los Angeles","short_name":"Los Angeles","types":["locality","political"]},{"long_name":"Los Angeles County","short_name":"Los Angeles County","types":["administrative_area_level_2","political"]},{"long_name":"California","short_name":"CA","types":["administrative_area_level_1","political"]},{"long_name":"United States","short_name":"US","types":["country","political"]}],"formatted_address":"2PVF+GW Los Angeles, CA, USA","geometry":{"bounds":{"northeast":{"lat":34.043875,"lng":-118.275125},"southwest":{"lat":34.04375,"lng":-118.27525}},"location":{"lat":34.043835,"lng":-118.275129},"location_type":"GEOMETRIC_CENTER","viewport":{"northeast":{"lat":34.04516148029149,"lng":-118.2738385197085},"southwest":{"lat":34.04246351970849,"lng":-118.2765364802915}}},"place_id":"GhIJyLWhYpwFQUARmEuqtpuRXcA","plus_code":{"compound_code":"2PVF+GW Los Angeles, CA, USA","global_code":"85632PVF+GW"},"types":["plus_code"]},{"address_components":[{"long_name":"Pico Union","short_name":"Pico Union","types":["neighborhood","political"]},{"long_name":"Los Angeles","short_name":"Los Angeles","types":["locality","political"]},{"long_name":"Los Angeles County","short_name":"Los Angeles County","types":["administrative_area_level_2","political"]},{"long_name":"California","short_name":"CA","types":["administrative_area_level_1","political"]},{"long_name":"United States","short_name":"US","types":["country","political"]}],"formatted_address":"Pico Union, Los Angeles, CA, USA","geometry":{"bounds":{"northeast":{"lat":34.0526713,"lng":-118.2688299},"southwest":{"lat":34.0369126,"lng":-118.3007738}},"location":{"lat":34.0442532,"lng":-118.2892349},"location_type":"APPROXIMATE","viewport":{"northeast":{"lat":34.0526713,"lng":-118.2688299},"southwest":{"lat":34.0369126,"lng":-118.3007738}}},"place_id":"ChIJSQ_X9K_HwoARn3vkVJ7520E","types":["neighborhood","political"]},{"address_components":[{"long_name":"90015","short_name":"90015","types":["postal_code"]},{"long_name":"Los Angeles","short_name":"Los Angeles","types":["locality","political"]},{"long_name":"Los Angeles County","short_name":"Los Angeles County","types":["administrative_area_level_2","political"]},{"long_name":"California","short_name":"CA","types":["administrative_area_level_1","political"]},{"long_name":"United States","short_name":"US","types":["country","political"]}],"formatted_address":"Los Angeles, CA 90015, USA","geometry":{"bounds":{"northeast":{"lat":34.053104,"lng":-118.2492601},"southwest":{"lat":34.02588,"lng":-118.282846}},"location":{"lat":34.0390107,"lng":-118.2672801},"location_type":"APPROXIMATE","viewport":{"northeast":{"lat":34.053104,"lng":-118.2492601},"southwest":{"lat":34.02588,"lng":-118.282846}}},"place_id":"ChIJl_m-TMbHwoARF4Uisg4Acpw","types":["postal_code"]},{"address_components":[{"long_name":"Westlake","short_name":"Westlake","types":["neighborhood","political"]},{"long_name":"Los Angeles","short_name":"Los Angeles","types":["locality","political"]},{"long_name":"Los Angeles County","short_name":"Los Angeles County","types":["administrative_area_level_2","political"]},{"long_name":"California","short_name":"CA","types":["administrative_area_level_1","political"]},{"long_name":"United States","short_name":"US","types":["country","political"]}],"formatted_address":"Westlake, Los Angeles, CA, USA","geometry":{"bounds":{"northeast":{"lat":34.078477,"lng":-118.249088},"southwest":{"lat":34.036912,"lng":-118.2872081}},"location":{"lat":34.0580432,"lng":-118.2731269},"location_type":"APPROXIMATE","viewport":{"northeast":{"lat":34.078477,"lng":-118.249088},"southwest":{"lat":34.036912,"lng":-118.2872081}}},"place_id":"ChIJi38okqbHwoARkuJT75G__yE","types":["neighborhood","political"]}],"_note":"Response truncated for documentation purposes"}
curl --location --request GET 'https://zylalabs.com/api/1815/coordinates+into+addresses+api/1475/coordinates+into+addresses?lat=34.043835&long=-118.275129' --header 'Authorization: Bearer YOUR_API_KEY'
| 标头 | 描述 |
|---|---|
授权
|
[必需] 应为 Bearer access_key. 订阅后,请查看上方的"您的 API 访问密钥"。 |
无长期承诺。随时升级、降级或取消。 免费试用包括最多 50 个请求。
API返回基于提供的经度和纬度坐标的可读地址。响应包括详细的地址组成部分,如街道号码、路、邻里、地方、行政区域、邮政编码和国家
响应中的关键字段包括“formatted_address”用于完整地址,“address_components”用于地址的详细部分,以及“geometry”用于位置的纬度和经度。此外,“plus_code”提供了该位置的唯一代码
响应以JSON格式结构化,包含一个带有地址细节的“results”数组。每个结果包括“address_components”、“formatted_address”和“geometry”。“plus_code”字段提供了位置的简洁表示
API提供详细的地址信息,包括街道名称、邻里、城市、县、州、邮政编码和国家。这些数据可以用于各种应用,例如制图、导航和地理标记
用户可以通过指定不同的经度和纬度坐标来自定义请求。API处理这些输入以返回相应的人类可读地址,从而根据用户需求进行定制的位置识别
该API利用地理编码算法,从各种权威的地图和地理数据库中汇集数据。这确保了返回的地址对于用户应用程序是准确可靠的
数据准确性通过定期更新和与多个地理数据源的质量检查来维持 该API采用算法验证和交叉引用地址信息以确保高可靠性
典型用例包括地图和导航应用程序 媒体的地理标记 房产列表 旅行推荐 天气更新 紧急服务位置识别 以及通过位置数据增强社交媒体帖子
服务级别:
100%
响应时间:
1,386ms
服务级别:
100%
响应时间:
8,748ms
服务级别:
100%
响应时间:
568ms
服务级别:
100%
响应时间:
570ms
服务级别:
100%
响应时间:
10,090ms
服务级别:
100%
响应时间:
620ms
服务级别:
100%
响应时间:
298ms
服务级别:
100%
响应时间:
381ms
服务级别:
100%
响应时间:
926ms
服务级别:
100%
响应时间:
124ms