HERE Maps
基于 HERE Maps 数据创建/定制数字地图
- 认证方式
- API Key
- HTTPS
- Yes
- CORS
- Unknown
- 分类
- 地理编码
- 文档 / URL
- https://developer.here.com
简介
HERE 是主流地图平台——通过 REST API 提供地理编码、路由、地图瓦片和搜索。认证是 API 密钥(无效密钥返回 401,已实测)。
快速开始
地理编码(替换 YOUR_KEY):
curl "https://geocode.search.hereapi.com/v1/geocode?q=paris&apiKey=YOUR_KEY"
{
"items": [
{
"title": "Paris, France",
"id": "here:cm:namedplace:...",
"position": { "lat": 48.8566, "lng": 2.3522 },
"address": { "city": "Paris", "countryName": "France" }
}
]
}
路由:
curl "https://router.hereapi.com/v8/routes?transportMode=car&origin=48.85,2.35&destination=48.9,2.4&apiKey=YOUR_KEY"
搜索:
curl "https://discover.search.hereapi.com/v1/discover?q=coffee&at=48.85%2C2.35&apiKey=YOUR_KEY"
认证方式
- 在 developer.here.com 注册 → 创建项目 → 获取 API 密钥(企业用 OAuth)。
- 通过
apiKey查询参数携带(无效密钥 → 401,已实测)。
速率限制与注意事项
- 免费层:地理编码/路由有宽裕的月度额度(看控制台——免费计划个人用途约 25 万次地理编码/月);付费可扩展。
- 端点:
geocode.search.hereapi.com(地理编码)、router.hereapi.com(路由)、discover.search.hereapi.com(搜索)、vector.hereapi.com(瓦片)。 here:cm:...ID 是稳定的地点标识符。
常见问题
HERE Maps 免费吗? 免费层带月度额度;重度使用付费。
如何获取密钥? developer.here.com → 创建项目 → API 密钥。
有哪些 API? 地理编码、路由、搜索和地图瓦片。
地理编码 分类更多
| API | Auth | HTTPS | CORS | |
|---|---|---|---|---|
| Actinia Grass GIS Actinia is an open source REST API for geographical data that uses GRASS GIS | API Key | Yes | Unknown | ↗ |
| administrative-divisons-db Get all administrative divisions of a country | No auth | Yes | Yes | ↗ |
| adresse.data.gouv.fr Address database of France, geocoding and reverse | No auth | Yes | Unknown | ↗ |
| Airtel IP IP Geolocation API. Collecting data from multiple sources | No auth | Yes | Unknown | ↗ |
| Apiip Get location information by IP address | API Key | Yes | Yes | ↗ |