---
title: "Get Kg Geo Entities"
method: GET
path: "/api/kg/geo"
tags: ["knowledge-graph"]
---

# Get Kg Geo Entities

`GET /api/kg/geo`

## Request

- Base URL: `https://fojin.app` (the document declares no server; this is the origin it was published from)
- URL: `https://fojin.app/api/kg/geo`
- Auth: none declared

Get geo-located knowledge graph entities for map display.

获取具有地理坐标的知识图谱实体，用于地图展示。

## Query parameters

- `entity_type` string, nullable: Comma-separated entity types
- `year_start` integer, nullable
- `year_end` integer, nullable
- `south` number, nullable
- `west` number, nullable
- `north` number, nullable
- `east` number, nullable
- `limit` integer

## Response `200`

Successful Response

- KGGeoResponse
  - `entities` KGGeoEntity[], required
    - `id` integer, required
    - `entity_type` string, required
    - `name_zh` string, required
    - `name_en` string, nullable
    - `description` string, nullable
    - `latitude` number, required
    - `longitude` number, required
    - `year_start` integer, nullable
    - `year_end` integer, nullable
    - `province` string, nullable
    - `city` string, nullable
    - `district` string, nullable
  - `total` integer, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/fojin/apis/fojin-api-buddhist-digital-text-platform.md) · [All operations](https://skmtc.dev/fojin/apis/fojin-api-buddhist-digital-text-platform/llms.txt) · [OpenAPI document](https://skmtc.dev/fojin/apis/fojin-api-buddhist-digital-text-platform/revisions/969714238c61?raw)
