---
title: "Get Territory Crop In Season Data From Epsg:4326 Geojson Input"
method: POST
path: "/agri/territory/crop-in-season"
tags: ["AGRI endpoints"]
---

# Get Territory Crop In Season Data From Epsg:4326 Geojson Input

`POST /agri/territory/crop-in-season`

## 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/agri/territory/crop-in-season`
- Auth: API key in query parameter `kermap_token`
- TypeScript: <https://skmtc.dev/nimbo/apis/nimbo-api/docs/agri/territory/crop-in-season/post.ts> (a function with typed inputs; its response is checked against the schema)

It returns the territory geojson in which the list of crops presents, the confidence scores and the dates of data is added, as follows:
```
"properties": {
    "data": [
        {  
            "crop": "Orge d’hiver",
            "crop_surface": 400,
            "in_season": "2023-01-15"
        },
        {  
            "crop": "Colza d’hiver",
            "crop_surface": 300,
            "in_season": "2023-01-15"
        }
    ]
}
```

## Query parameters

- `year` integer: Year

## Request body

- object: EPSG:4326 Geojson FeatureCollection request body

## Response `200`

Successful Response

- unknown

## Other responses

- `403`: Area out of bounds, you are not allowed to query the requested data
- `404`: Not found
- `412`: No feature detected in Geojson input
- `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)
