freeapis

openrouteservice.org

路线、兴趣点、等时线、地理编码(+反向)、海拔等

认证方式
API Key
HTTPS
Yes
CORS
Unknown
数据来源
public-apis + marcelscruz

简介

openrouteservice(ORS)基于 OpenStreetMap 提供路由、导航、地理编码和等时线。认证是免费 API 密钥。

⚠️ 状态(2026-08 实测):猜测的路径(/health)返回 HTTP 404(nginx)——API 在 /v2/ 前缀下。请使用带版本的路径。

快速开始

健康检查(带版本,实测路由风格):

curl "https://api.openrouteservice.org/v2/health" \
  -H "Authorization: YOUR_KEY"

导航(替换 YOUR_KEY):

curl "https://api.openrouteservice.org/v2/directions/driving-car?start=8.68,49.41&end=8.69,49.42" \
  -H "Authorization: YOUR_KEY"

认证方式

  • 在 openrouteservice.org 注册 → 免费 API 密钥。
  • 通过 Authorization 请求头携带。

速率限制与注意事项

  • 免费层限额宽松(看文档);付费档可扩展。
  • 可自建(ORS Docker 镜像)。

常见问题

openrouteservice 免费吗? 免费层带密钥;自建也免费。

为什么 404? 路径需要 /v2/ 前缀(已实测)——请用带版本的路由。

提供什么? 路由、地理编码和等时线。

地理编码 分类更多

APIAuthHTTPSCORS
Actinia Grass GIS

Actinia is an open source REST API for geographical data that uses GRASS GIS

API KeyYesUnknown↗
administrative-divisons-db

Get all administrative divisions of a country

No authYesYes↗
adresse.data.gouv.fr

Address database of France, geocoding and reverse

No authYesUnknown↗
Airtel IP

IP Geolocation API. Collecting data from multiple sources

No authYesUnknown↗
Apiip

Get location information by IP address

API KeyYesYes↗