---
title: "Get Field Info By Lat Lon"
method: GET
path: "/rpg/field/@/{lat},{lon}"
tags: ["RPG endpoints"]
---

# Get Field Info By Lat Lon

`GET /rpg/field/@/{lat},{lon}`

## Request

- Base URL: `https://api.nimbo.earth` (the document declares no server; this is the origin it was published from)
- URL: `https://api.nimbo.earth/rpg/field/@/{lat},{lon}`
- Auth: API key in query parameter `kermap_token`
- TypeScript: <https://skmtc.dev/nimbo/apis/nimbo-api/docs/rpg/field/@/:lat,:lon/get.ts> (a function with typed inputs; its response is checked against the schema)

Returns information about a field from a Point Of Interest, in GEOJSON EPSG:4326 format

## Path parameters

- `lat` number, required: Latitude (Y axis) as EPSG:4326, e.g. `48.455791`
- `lon` number, required: Longitude (X axis) as EPSG:4326, e.g. `2.218618`

## Query parameters

- `year_from` integer: YEAR of the RPG dataset to query - defaults to last year of available dataset
- `year_to` integer: YEAR of the RPG dataset to query - defaults to last year of available dataset

## Response `200`

OK

- FieldFeatureCollection
  - `type` 'FeatureCollection': FeatureCollection
  - `crs` CRS, required: CRS Model
    - `type` 'name': name
    - `properties` object, nullable, required
  - `features` Feature[], nullable, required
    - `type` 'Feature': Feature
    - `properties` object, nullable, required
    - `geometry` Geometry, required: Geometry Model
      - `type` 'Point' | 'LineString' | 'Polygon', required
      - `coordinates` unknown[], required
        - unknown

## Other responses

- `403`: Unauthorized: You need a KERMAP Token
- `404`: Not found
- `422`: Validation Error

---

[API](https://skmtc.dev/nimbo/apis/nimbo-api.md) - [All operations](https://skmtc.dev/nimbo/apis/nimbo-api/llms.txt) - [OpenAPI document](https://skmtc.dev/nimbo/apis/nimbo-api/revisions/33ea0b26547a?raw)
