GeographQL
国家、州和城市数据的 GraphQL API
- 认证方式
- No auth
- HTTPS
- Yes
- CORS
- Yes
- 分类
- 地理编码
- 文档 / URL
- https://geographql.netlify.app
简介
GeographQL 把地理数据(国家、城市)作为 GraphQL 暴露——免密钥。
⚠️ 状态(2026-08 实测):猜测的路径返回 HTTP 404(HTML,Netlify)——GraphQL 端点路径不同。请查看站点获取当前端点。
提供的数据
curl -X POST "https://geographql.netlify.app/graphql" \
-H "Content-Type: application/json" \
-d '{"query": "{ countries { name } }"}'
注意事项
- 通过 GraphQL 的地理数据。
- 路由路径按站点文档。
常见问题
GeographQL 免费吗? 是的——免费且免密钥。
为什么 404? 我们 2026-08 猜测的路径不对(已实测)——请查看站点文档。
提供什么? 国家/城市地理数据。
地理编码 分类更多
| 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 | ↗ |