# dominant_crop_5y

> Most frequent crop class at the 30 m cell over the last five USDA Cropland Data Layer editions (non-crop classes ignored; ties go to the crop seen most recently).

Source: https://docs.invariant-ai.com/fields/dominant_crop_5y

|  |  |
| --- | --- |
| Name | `dominant_crop_5y` |
| Layer | land\_cover |
| Type, unit | string, none |
| Sources (in order) | `USDA_CDL_HISTORY` |
| Cache | 180 days (`ttl_seconds` 15552000) |

## What it is

Most frequent crop class at the 30 m cell over the last five USDA Cropland Data Layer editions (non-crop classes ignored; ties go to the crop seen most recently). Smooths over corn-soy rotation; the per-year history is in notes.

## Nulls

status "absent": no crop class in any of the five years (not cropland), or years without a value could change the answer. "failed": a CDL edition could not be read.

## Example

```bash
curl -s https://api.invariant-ai.com/v1/fetch \
  -H "X-API-Key: $INVARIANT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"lat": 39.0438, "lng": -77.4874, "fields": ["dominant_crop_5y"]}'
```

Field object keys are described in [Responses](https://docs.invariant-ai.com/responses). Live definition: [`GET /v1/meta/fields`](https://docs.invariant-ai.com/api/meta-fields).
