Building Integrations
How third-party developers build software that works with Every.Farm: prototype against the Developer API on a test farm, connect a grower's farm with a single-farm token, handle farm data responsibly, and apply to be listed in the Plugins library.
If you build farm software, such as a crop model, a sensor service or a reporting tool, you can connect it to Every.Farm so growers can use it with the maps and data they already keep here.
There are two stages:
- Build against the Developer API. Anyone can do this today, without asking us first.
- Apply to be listed in the Plugins library, so growers can find your tool and open it inside Every.Farm.
#What you can build
Most integrations are one of these four shapes, or a mix of them.
| Shape | Example | Main calls |
|---|---|---|
| Read a farm's data into your tool | Pull block boundaries and a yield dataset into a crop model | List Blocks, List Datasets, Get Dataset GeoJSON |
| Write results back as a map layer | Save a disease-risk map the grower can colour, filter and zone | Push a Dataset |
| Add observations to a collector | Send sensor readings or scouting notes into a form the farm already uses | Push Datapoints, then Recompile Dataset |
| Keep block records up to date | Write a spray record or a yield estimate onto each block | Block Headers, Bulk Upsert Values |
If your product is an AI assistant, start with Working with AI Agents and the MCP server instead.
#Stage 1: build against the API
#1. Set up a test farm
Create an account at app.every.farm, create a farm, draw a block or two and upload a sample dataset. Build and test on this farm. Do not develop against a grower's real farm.
#2. Create a token
Open your account menu, choose API Tokens, then Create New Token.
- Start with the
readscope. Addwriteonly when you reach a step that needs it. - Under Restrict to Farms, choose your test farm.
- Pick an expiry.
Click Generate Token. The token starts with efv_ and is shown once.
#3. Make your first calls
The API describes itself. This call needs no token and lists every endpoint with a link to its documentation:
curl https://api.every.farm/v1Then read your test farm:
export TOKEN=efv_your_token_here
# The farms this token can reach
curl https://api.every.farm/v1/farms -H "Authorization: Bearer $TOKEN"
# The datasets on one farm
curl https://api.every.farm/v1/farms/FARM_ID/datasets -H "Authorization: Bearer $TOKEN"
# One dataset as GeoJSON
curl https://api.every.farm/v1/datasets/DATASET_ID/geojson -H "Authorization: Bearer $TOKEN"#4. Write a result back
With a write token, a GeoJSON FeatureCollection becomes a dataset on the farm's map. The grower can then style it, filter it and use it in the plugins like any other dataset.
curl -X POST https://api.every.farm/v1/farms/FARM_ID/datasets \
-H "Authorization: Bearer $TOKEN" \
-H "Content-Type: application/json" \
-d '{
"name": "Risk map, 17 Nov 2026",
"description": "Created by Your Tool",
"geojson": {
"type": "FeatureCollection",
"features": [
{
"type": "Feature",
"properties": { "risk": 0.42 },
"geometry": { "type": "Point", "coordinates": [-79.3, 42.4] }
}
]
}
}'#5. Generate a client, if you want one
The whole API is available as an OpenAPI 3.1 document at https://api.every.farm/v1/openapi.json. Import it into Postman or an SDK generator. The Developer API reference covers every endpoint in full.
#How access works
A token acts as the person who created it. It can never do more than that person can do in the app.
- Scope.
readlets you list and fetch.writelets you change data. See Token Scopes. - Role. A
writetoken only works on farms where its owner is the Owner, an Administrator or an Editor. See Farm Roles. - Farm restriction. A token restricted to one farm cannot reach any other, whatever its owner can see.
- Expiry and revocation. A token stops working when it expires or when its owner revokes it. Your tool then gets a
401.
Ask for the least you need: read if you only read, and one farm rather than all of them.
#Connect a grower's farm
Today a grower connects your tool by creating a token for their farm and giving it to you. A good connection screen in your product does five things:
- Says what you will read and write, in plain words, before asking for anything.
- Walks the grower through creating the token: account menu, API Tokens, Create New Token, the scope you need, and Restrict to Farms set to the one farm.
- Checks the token straight away by calling
GET /v1/farmsfrom your server, and shows the farm's name back so the grower can see it is the right one. - Stores the token on your server, encrypted. Never put it in browser code, a URL, a log or an email.
- Offers a Disconnect button that deletes the token from your systems, and tells the grower they can also revoke it under API Tokens at any time.
Two things to plan for:
- A person can hold 10 active tokens, and yours is one of them. Ask for one token per farm, not one per feature.
- A
401means the token expired or was revoked. Ask the grower to reconnect. Do not keep retrying.
#Limits to design around
| Limit | Value | What to do |
|---|---|---|
| Requests per token | 60 a minute, 10,000 a day | On a 429, wait for retryAfterSeconds. Check your count with Check Usage. |
| Request body | 10 MB | Split large datasets. |
| Datapoints per request | 500 | Send larger imports in batches. |
| Collector datasets | Not refreshed automatically | Call Recompile Dataset once after your last batch. |
| Signed file links | Valid 15 minutes | Fetch the file when you get the link. Do not store the link. |
| Change notifications | None yet | Poll. List Datasets returns the most recently updated first. |
Every error is JSON with an error message and a documentation link to the section for the call that failed. See Error Responses.
#Handling farm data
We expect this of every integration, listed or not.
- The farm's data belongs to the farm. Use it only to provide the service the grower signed up for.
- Do not sell or share it, and do not use it to train or test models, unless the grower has agreed to that specific use.
- Delete it when asked. When a grower disconnects or asks, delete their token and the data you copied.
- Write with care. Put what you create in new datasets, in a folder of your own. Do not change or trash data you did not create unless that is the job the grower gave you.
- Never ask for a grower's Every.Farm password, and do not read the app's pages by script. The API is the supported route.
- Report security problems to security@every.farm.
#Stage 2: get listed in the Plugins library
#What a listing gives you
Your tool appears in the Plugin Library inside Every.Farm. A farm's Owner or an Administrator activates it for their farm. From then on the farm's Plugins drawer shows your tool with a Launch button, which opens it in a full-size window inside the app.
#How a listed plugin opens
Every.Farm loads your launch address in a frame and adds the farm's id to the end of the path:
https://plugin.example.com/every-farm/FARM_IDYour page has to be built for that:
- Serve it over HTTPS and allow it to be framed by
https://app.every.farm. In practice that means aContent-Security-Policy: frame-ancestors https://app.every.farmheader and noX-Frame-Options: DENY. - Treat the farm id as a label, not as proof. It tells you which farm the person has open. Access still comes only from the token that farm connected.
- Do not rely on a sign-in cookie from your own site. Browsers restrict cookies inside frames, so your sign-in has to work within the frame.
- On first launch for a farm, show your connection screen. After that, go straight to the tool.
- Design for desktop and tablet widths. The Plugins drawer is not shown on phones.
We plan a one-step install, where the farm approves your access when it activates your plugin. Until that exists, listed plugins use the token steps above.
#What we look at
- The tool works end to end on a test farm, and does something useful for a grower.
- It asks for the least access it needs.
- It follows the data rules on this page, and your privacy policy says the same thing in public.
- The grower can disconnect and have their data deleted.
- There is a named person to contact for support and for security reports.
- The name, description and logo are your own and say plainly what the tool does.
#How to apply
Email support@every.farm with:
- Who you are: company or lab, a contact person, and where you are based.
- What the tool does for a grower, in two or three sentences.
- The scope you need (
read, orreadandwrite) and what you read and write. - Where the tool is hosted, and its launch address.
- Links to your privacy policy and terms.
- A support address and a security contact.
- A way for us to try it: a test login, or a short video of it working on a test farm.
We try it on a test farm and reply with either a yes or a list of changes. New listings carry an Experimental label at first.
#Staying listed
- Tell us before you change what you read or write.
- Keep your support and security contacts current.
- We may remove a listing that stops working, goes unsupported, or breaks the data rules above.
Updated
Something missing or out of date? Tell us — the docs are updated with every release.