five

Google Geocoding

收藏
RapidAPI2026-03-28 更新2026-03-29 收录
下载链接:
https://rapidapi.com/nexaquency/api/google-geocoding6
下载链接
链接失效反馈
官方服务:
资源简介:
Google Geocoding API — Convert addresses to coordinates and coordinates to addresses with Google Maps precision. The gold standard for geocoding, used by millions of apps worldwide. Supports forward geocoding (address → lat/lng) and reverse geocoding (lat/lng → address). ## Why Use This API? - **Global Coverage** — Geocode addresses in every country - **Forward & Reverse** — Address to coordinates AND coordinates to address - **Place IDs** — Get Google Place IDs for further lookups - **Mult...
创建时间:
2026-03-28
原始信息汇总

Google Geocoding 数据集概述

基本信息

  • 数据集名称: Google Geocoding
  • 提供平台: RapidAPI
  • API 提供者: frequency404 (通过 NexaAPI 提供)
  • 类别: Location
  • API 版本: v1 (current)
  • 订阅计划:
    • BASIC: $0.00 / mo
    • PRO: $10.00 / mo
    • ULTRA: $100.00 / mo
    • MEGA: $1,000.00 / mo

功能描述

Google Geocoding API 可将地址转换为坐标,或将坐标转换为地址,精度基于 Google Maps。该服务是全球地理编码的黄金标准,被全球数百万应用程序使用。

  • 支持正向地理编码: 地址 → 纬度/经度
  • 支持反向地理编码: 纬度/经度 → 地址

核心特性

  • 全球覆盖: 支持对所有国家的地址进行地理编码。
  • 正向与反向: 支持地址到坐标以及坐标到地址的双向转换。
  • 地点 ID: 可获取 Google Place ID 以供进一步查询。
  • 多语言支持: 结果可返回任何语言。
  • 基于 Google Maps: 提供最准确的地理编码服务。

端点信息

  • 端点: geocode
  • 请求方法: POST
  • 基础 URL: https://google-geocoding.p.rapidapi.com/geocode

快速开始示例

Python 示例

python import requests url = "https://google-geocoding.p.rapidapi.com/geocode" headers = { "x-rapidapi-key": "YOUR_RAPIDAPI_KEY", "x-rapidapi-host": "google-geocoding.p.rapidapi.com", "Content-Type": "application/json" }

正向地理编码

payload = {"address": "Eiffel Tower, Paris, France"} response = requests.post(url, json=payload, headers=headers) data = response.json() result = data["results"][0] print(f"{result[formatted_address]}: ({result[lat]}, {result[lng]})")

反向地理编码

payload = {"lat": 48.8584, "lng": 2.2945} response = requests.post(url, json=payload, headers=headers) data = response.json() print(f"Address: {data[results][0][formatted_address]}")

cURL 示例

bash curl -X POST "https://google-geocoding.p.rapidapi.com/geocode" -H "x-rapidapi-key: YOUR_RAPIDAPI_KEY" -H "Content-Type: application/json" -d {"address": "1600 Amphitheatre Parkway, Mountain View, CA"}

提供者信息

  • API 创建者: frequency404
  • 订阅者数量: 1
5,000+
优质数据集
54 个
任务类型
进入经典数据集
二维码
社区交流群

面向社区/商业的数据集话题

二维码
科研交流群

面向高校/科研机构的开源数据集话题

数据驱动未来

携手共赢发展

商业合作