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

# Get Territory Crop Projection Data From Epsg:4326 Geojson Input

`POST /agri/territory/crop-projection`

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

It returns the estimated crops and the confidence score from the territory geojson for the next year
```
"properties": {
    "data": [
        {  
            "crop": "Orge d’hiver",
            "area": 150,
        },
        {  
            "crop": "Colza d’hiver",
            "area": 325,
        },
    ]
},
```

## Query parameters

- `year` integer: Projection 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)
