The
unified
API for food and agriculture
A single integration to retrieve and manage farm data in a consistent format.
Field operations
Connect and translate machine data faster
Access translated data sets in a consistent format, across all brands
Field boundary management
Retrieve and sync field boundaries across platforms
Import, export, manage, and sync field boundaries across platforms
Crop Monitoring
Integrate imagery from many sources in one format
Retrieve standardized satellite and drone imagery from multiple providers.
Focus on your growers
Leave the ag data infrastructure to us
Scalable
Our systems operate with 99.5% uptime and will scale automatically to handle your heaviest processing loads during planting, acreage reporting, harvesting and all points in between.
Cost Efficient
Save the capital investment and time required to build it yourself and share in the economies of scale that go with processing hundreds of millions of acres of data.
Secure
Leaf serves insurance and financial companies with strictest compliance requirements. Leaf is also Ag Data Transparent certified, which recognizes our compliance with Ag Data’s Privacy and Security Principles for Farm Data.
Supported
Ag data is messy. With Leaf you’ll get support from our experts to resolve the many grower data issues common across all providers and file formats.
Compatible with all major agriculture brands
The backbone for agricultural data
For ambitious companies that work within or with agriculture, Leaf makes accessing agricultural data from all major providers simple.
For developers, by developers
With a few lines of code you can access standardized, high-resolution data to power your applications or models.
Request
curl -X POST \
-H 'Authorization: Bearer YOUR_TOKEN' \
-F 'file=shapefile.zip' \
'https://api.withleaf.io/services/operations/api/batch' \
'provider=JohnDeere&leafUserId=id'
Response
{
"id": "996aea67-52bc-4d4b-9b77-028756dc0ee9",
"leafUserId": "ede8f781-1d55-4b2d-83a1-6785ddab6e1d",
"fileName": "Climate.zip",
"size": 8652951,
"provider": "Other",
"status": "RECEIVED",
"uploadTimestamp": "2021-03-12T19:50:55.567755Z"
}
Request
curl -X GET \
-H 'Authorization: Bearer YOUR_TOKEN' \
'https://api.withleaf.io/services/fields/api/fields'
Response
[
{
"id": "1a952614-3673-4d1e-b677-1f7224339ec6",
"leafUserId": "58800d61-91ac-4922-8e2a-f0216b9f052a",
"boundaries": [
"279b52d5-ec6d-4459-a06a-4f47ffab0659"
],
"providerName": "JohnDeere",
"providerId": 2,
"providerFieldId": "b96ed268-728f-489e-b928-9d3e70082be4",
"providerBoundaryId": "125fc49f-7e75-43fe-89f2-af976addb392",
"providerFieldName": "The_Field_field",
"organizationId": "428214",
"type": "ORIGINAL",
"createdTime": "2021-10-20T21:21:24.732030Z",
"updatedTime": "2021-11-03T01:34:15.154051Z",
"farmId": 3746117,
"mergedFieldId": "f97c5bbc-2dbf-4400-8d59-39eba37f8847",
"sources": [],
"status": "PROCESSED"
},
{
"id": "68c354f2-eb20-4512-816f-2edea4b6fca4",
"leafUserId": "9ffc7b1c-617b-46cb-a8ef-927b26285b7f",
"boundaries": [
"39d171d7-9ec3-4201-81bf-9d57473b2a67"
],
"type": "ORIGINAL",
"createdTime": "2023-06-14T18:31:01.702615Z",
"updatedTime": "2023-06-14T18:31:01.702615Z",
"sources": [],
"status": "PROCESSED"
},
....
]
Request
curl -X GET \
-H 'Authorization: Bearer YOUR_TOKEN' \
'https://api.withleaf.io/services/operations/api/operations'
Response
[
{
"id": "5c8fdb34-4dc4-4b96-bfd5-53e6206ce971",
"apiOwnerUsername": "test",
"leafUserId": "7494c90e-28b8-4bb2-9ede-95c1cc894349",
"startTime": "2015-04-18T19:31:27Z",
"endTime": "2015-04-18T19:58:50Z",
"updatedTime": "2021-08-24T16:00:15.062Z",
"type": "planted",
"files": [
"a10b85c2-ac2e-4b0f-8e65-74edbd2ca53e",
"759e1b62-dc69-4332-b618-6449a37470fa"
],
"fields": [
{
"id": "0071484f-4a75-4190-9fd0-f5995d241c2c"
}
],
"providers": [
"providerName"
]
},
....
]
{
"type": "Feature",
"properties": {
"totalDistance": {
"value": 36273.23038351213,
"unit": "ft"
},
"speed": {
"avg": 4.632636925960638,
"min": 0.002,
"max": 6.537,
"unit": "mi/hr"
},
"startTime": "2018-04-23T15:12:11.000+00:00",
"endTime": "2018-04-25T17:18:04.000+00:00",
"totalArea": {
"value": 134795.80322644877,
"unit": "m2"
},
"elevation": {
"avg": 197.8268603561387,
"min": 196.4,
"max": 200,
"unit": "ft"
},
"crop": [
"corn"
],
"operationType": "planted",
"singulation": {
"avg": 99.31269745250064,
"min": 98.1,
"max": 100,
"unit": "prcnt"
},
"downForce": {
"avg": 137.00726517903476,
"min": 0,
"max": 251,
"unit": "lbf"
},
"seedRate": {
"avg": 36590.32694115429,
"min": 17049.590909090908,
"max": 39031.46153846154,
"unit": "seeds/ac"
},
"totalPlanted": {
"value": 1218773,
"unit": "seeds"
},
"skips": {
"avg": 0.28672096317280454,
"min": 0.0,
"max": 1.9000000000000001,
"unit": "prcnt"
},
"doubles": {
"avg": 0.23668555240793204,
"min": 0.0,
"max": 1.4000000000000001,
"unit": "prcnt"
},
"varieties": [
{
"name": "P1309WAM",
"rate": {
"avg": 36590.32694115429,
"min": 17049.590909090908,
"max": 39031.46153846154,
"unit": "seeds/ac",
"minTarget": 37000,
"maxTarget": 37000,
"avgTarget": 37000
},
"area": {
"value": 134795.80322644877,
"unit": "m2"
},
"totalPlanted": {
"value": 1218773,
"unit": "seeds"
}
]
}
]
}
"originalOperationType": "SowingAndPlanting",
"machinery": [
{"name": "Tractor",
"type": "machine",
"serialNumber": "8000001",
"brand": "unknown"
},
{"name": "Case IH 40.0' 22 Row Planter",
"type": "implement",
"brand": "Case IH"
}
],
"originalOperationData": {
"originalOperationFarm": "Farm Green",
"originalOperationField": "Field A",
"originalOperationGrower": "Grower",
"originalOperationType": "CropOriginal"
}
},
"geometry": {
"type": "MultiPolygon",
"coordinates": [[[
[-89.80434894561768, 40.47791686563837],
[-89.80756759643555, 40.4757623387113],
[-89.80746030807495, 40.47302011353734],
[-89.80475664138794, 40.47070219301965],
[-89.80080842971802, 40.47068586935202],
[-89.79797601699828, 40.472709973879255],
[-89.7978687286377, 40.47569704893722],
[-89.80117321014404, 40.47808008455794],
[-89.80434894561768, 40.47791686563837]
]]]
}
}
Ready to begin?
Get a Demo and Start Building Today!