Every API here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for apis
7 MCP tools reach this
find_apisBrowse and filter every API in the catalog.
get_api_artifactsOne API's artifacts, grouped by type.
get_openapiThe primary OpenAPI for this API.
find_similar_apisAPIs that look like this one.
apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
resolveTurn a domain, URL or GitHub org into the provider it belongs to.
find_cohortsEvery scored population of providers in the catalog.
All 92 tools →
Call it yourself
curl for this page
This API
curl "https://apis.io/api/v1/apis/dtn-land-details-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. See our Privacy Policy and
Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
version: 1.0.0
title: DTN Farm Intelligence Land Details API
description: 'The Farm Intelligence API provides programmatic access to DTN''s agricultural data — producer records,
land metadata, crop history, and related datasets. It is organized into three surfaces plus shared utilities:
- **Producer API** — Producer discovery, details, and relationship data
- **Land API** — Land search, metadata, crop history, soil, and geospatial data
- **Linked Data API** — Segments, portfolios, and batch operations
- **Shared Utilities** — Crop codes, geographic areas (unmetered)
## Authentication
All endpoints require OAuth 2.0 client credentials authentication. Obtain a token from the DTN DAIS gateway
with your client_id, client_secret, and the Farm Intelligence audience.
## Credit Metering
Endpoints are classified as:
- **Metered (1 credit per record)** — Producer and Land data endpoints
- **Unmetered (discovery class)** — Search, codes, geographic areas
Response headers include credit usage information:
- `X-Credit-Cost` — Credits consumed by this request
- `X-Credits-Remaining` — Remaining balance
- `X-Credit-Pool-Reset` — Contract reset date'
contact:
name: DTN Agriculture Intelligence Team
email: agintel@dtn.com
x-logo:
url: https://www.dtn.com/wp-content/uploads/2019/03/dtn-logo-tag.png
altText: DTN
servers:
- description: Development
url: https://api-farm-intelligence.dev.ag.zones.dtn.com
- description: Staging
url: https://api-farm-intelligence.stg.ag.zones.dtn.com
- description: Production
url: https://api-farm-intelligence.prd.ag.zones.dtn.com
security:
- clientCredentials: []
tags:
- name: Land Details
paths:
/api/v1/land/{landId}:
get:
operationId: getLandById
summary: Get land metadata by ID
description: 'Retrieve detailed metadata for a single land parcel, including acreage, coordinates,
and county name (enriched as "County, ST" format with state abbreviation).
**Billing:** Unmetered (discovery class).
'
tags:
- Land Details
parameters:
- in: path
name: landId
required: true
schema:
type: integer
example: 3456789
description: Unique land parcel identifier.
responses:
'200':
description: Land parcel metadata.
content:
application/json:
schema:
type: object
properties:
landId:
type: integer
description: Unique land parcel identifier.
example: 1000
acres:
type: number
format: float
description: Total acreage of the land parcel.
example: 12.61
lat:
type: number
format: float
description: Latitude of the land centroid (decimal degrees, WGS84).
example: 31.534
lon:
type: number
format: float
description: Longitude of the land centroid (decimal degrees, WGS84).
example: -84.965
zipCode:
type:
- string
- 'null'
description: ZIP code for the land parcel.
example: '39851'
mtrs:
type:
- string
- 'null'
description: Meridian-Township-Range-Section identifier.
example: IA05T0780N0220W017
nameStatus:
type: string
description: Whether the land has operator name data.
example: Y
cropStatus:
type: string
description: Whether the land has crop data.
example: Y
irrigationAcres:
type:
- number
- 'null'
format: float
description: Irrigated acres on this parcel.
example: 12.61
countyName:
type: string
description: County and state abbreviation in "County, ST" format.
example: Clay, GA
example:
landId: 1000
lat: 31.534
lon: -84.965
acres: 12.61
zipCode: '39851'
mtrs: IA05T0780N0220W017
nameStatus: Y
cropStatus: Y
irrigationAcres: 12.61
countyName: Clay, GA
'400':
description: Invalid request parameters.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
example:
type: bad-request
title: Invalid Request
status: 400
detail: Validation failed.
instance: urn:dtn:farm-intel-external-api:/api/v1/land/abc:requestId:abc123
errors:
- message: Path parameter landId must be a valid integer.
parameter: landId
'401':
description: Missing or invalid authentication token.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
example:
type: unauthorized
title: Error while authenticating the user
status: 401
detail: Bearer Token is malformed.
instance: urn:dtn:farm-intel-external-api:requestId:example-id
/api/v1/land/{landId}/producers:
get:
operationId: getLandProducers
summary: Get producers linked to a land parcel
description: 'Retrieve all producers (operators, owners) associated with a specific land parcel.
Returns producer details including role, crop year, and geographic information.
**Billing:** Unmetered (discovery class).
'
tags:
- Land Details
parameters:
- in: path
name: landId
required: true
schema:
type: integer
example: 3456789
description: Unique land parcel identifier.
responses:
'200':
description: Producers linked to the land parcel.
content:
application/json:
schema:
type: array
items:
type: object
properties:
landId:
type: integer
description: Land parcel identifier.
example: 3456789
partyId:
type: integer
description: Producer identifier.
example: 5091294
primaryFlag:
type: boolean
description: Whether this is the primary operator for the land.
example: true
roleId:
type: integer
description: Internal role identifier.
example: 1
cropYear:
type: integer
description: Most recent crop year for this association.
example: 2025
roleDescription:
type: string
description: Human-readable role description.
example: Operator
firstName:
type:
- string
- 'null'
example: John
lastName:
type:
- string
- 'null'
example: Smith
companyName:
type:
- string
- 'null'
example: Smith Farms LLC
stateCode:
type:
- string
- 'null'
example: IA
fipsCode:
type:
- string
- 'null'
example: '19153'
countyName:
type:
- string
- 'null'
example: Polk
example:
- landId: 3456789
partyId: 5091294
primaryFlag: true
roleId: 1
cropYear: 2025
roleDescription: Operator
firstName: John
lastName: Smith
companyName: Smith Farms LLC
stateCode: IA
fipsCode: '19153'
countyName: Polk
- landId: 3456789
partyId: 6200145
primaryFlag: false
roleId: 2
cropYear: 2025
roleDescription: Owner
firstName: Robert
lastName: Johnson
companyName: null
stateCode: IA
fipsCode: '19153'
countyName: Polk
'400':
description: Invalid request parameters.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
example:
type: bad-request
title: Invalid Request
status: 400
detail: Validation failed.
instance: urn:dtn:farm-intel-external-api:/api/v1/land/abc/producers:requestId:abc123
errors:
- message: Path parameter landId must be a valid integer.
parameter: landId
'401':
description: Missing or invalid authentication token.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
example:
type: unauthorized
title: Error while authenticating the user
status: 401
detail: Bearer Token is malformed.
instance: urn:dtn:farm-intel-external-api:requestId:example-id
/api/v1/land/{landId}/grainbin:
get:
operationId: getLandGrainBins
summary: Get grain bins on a land parcel
description: 'Retrieve grain storage bins located on a specific land parcel. Returns bin
location, capacity, and the year the data was recorded.
**Billing:** Unmetered (discovery class).
'
tags:
- Land Details
parameters:
- in: path
name: landId
required: true
schema:
type: integer
example: 3456789
description: Unique land parcel identifier.
responses:
'200':
description: Grain bins on the land parcel.
content:
application/json:
schema:
type: array
items:
type: object
properties:
binId:
type: integer
description: Unique grain bin identifier.
example: 88001
lat:
type: number
format: float
description: Latitude of the bin location.
example: 41.732
lon:
type: number
format: float
description: Longitude of the bin location.
example: -93.458
bushels:
type: number
format: float
description: Estimated storage capacity in bushels.
example: 25000
landId:
type: integer
description: Land parcel identifier.
example: 3456789
cropYear:
type: integer
description: Year the bin data was recorded.
example: 2025
example:
- binId: 88001
lat: 41.732
lon: -93.458
bushels: 25000
landId: 3456789
cropYear: 2025
- binId: 88002
lat: 41.733
lon: -93.459
bushels: 18000
landId: 3456789
cropYear: 2025
'400':
description: Invalid request parameters.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
example:
type: bad-request
title: Invalid Request
status: 400
detail: Validation failed.
instance: urn:dtn:farm-intel-external-api:/api/v1/land/abc/grainbin:requestId:abc123
errors:
- message: Path parameter landId must be a valid integer.
parameter: landId
'401':
description: Missing or invalid authentication token.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
example:
type: unauthorized
title: Error while authenticating the user
status: 401
detail: Bearer Token is malformed.
instance: urn:dtn:farm-intel-external-api:requestId:example-id
/api/v1/land/{landId}/soil:
get:
operationId: getLandSoil
summary: Get soil types for a land parcel
description: 'Retrieve soil type classification data for a specific land parcel. Returns
soil series, map unit information, and coverage area within the parcel.
**Billing:** Unmetered (discovery class).
'
tags:
- Land Details
parameters:
- in: path
name: landId
required: true
schema:
type: integer
example: 3456789
description: Unique land parcel identifier.
responses:
'200':
description: Soil types for the land parcel.
content:
application/json:
schema:
type: array
items:
type: object
properties:
landId:
type: integer
description: Land parcel identifier.
example: 1000
soilId:
type: integer
description: Unique soil type identifier.
example: 198526
soilName:
type:
- string
- 'null'
description: Soil type name/symbol.
example: 138B
soilDescription:
type:
- string
- 'null'
description: Full soil description.
example: Clarion loam, 2 to 5 percent slopes
acres:
type:
- number
- 'null'
format: float
description: Acres of this soil type within the parcel.
example: 45.2
example:
- landId: 1000
soilId: 198526
soilName: 138B
soilDescription: Clarion loam, 2 to 5 percent slopes
acres: 45.2
- landId: 1000
soilId: 198530
soilName: '55'
soilDescription: Nicollet clay loam, 0 to 2 percent slopes
acres: 62.8
- landId: 1000
soilId: 198545
soilName: '507'
soilDescription: Webster clay loam, 0 to 2 percent slopes
acres: 44.4
'400':
description: Invalid request parameters.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
example:
type: bad-request
title: Invalid Request
status: 400
detail: Validation failed.
instance: urn:dtn:farm-intel-external-api:/api/v1/land/abc/soil:requestId:abc123
errors:
- message: Path parameter landId must be a valid integer.
parameter: landId
'401':
description: Missing or invalid authentication token.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
example:
type: unauthorized
title: Error while authenticating the user
status: 401
detail: Bearer Token is malformed.
instance: urn:dtn:farm-intel-external-api:requestId:example-id
/api/v1/land/{landId}/soil/intersection:
get:
operationId: getLandSoilIntersection
summary: Get soil intersection data for a land parcel
description: 'Retrieve detailed soil intersection data for a land parcel. Returns the geometric
intersection of soil map units with the land boundary, providing precise soil
coverage information including NCCPI productivity ratings and drainage characteristics.
**Billing:** Unmetered (discovery class).
'
tags:
- Land Details
parameters:
- in: path
name: landId
required: true
schema:
type: integer
example: 3456789
description: Unique land parcel identifier.
responses:
'200':
description: Soil intersection data for the land parcel.
content:
application/json:
schema:
type: array
items:
type: object
properties:
landId:
type: integer
description: Land parcel identifier.
example: 3456789
mapUnitKey:
type: string
description: SSURGO Map Unit Key.
example: '198526'
totalAcres:
type: number
format: float
description: Total acres of this soil map unit.
example: 45.2
affectedAcres:
type: number
format: float
description: Acres of this soil type intersecting the land parcel boundary.
example: 43.8
percentageCovered:
type: number
format: float
description: Percentage of the land parcel covered by this soil type.
example: 28.7
description:
type:
- string
- 'null'
description: Soil map unit description/name.
example: Clarion loam, 2 to 5 percent slopes
kind:
type:
- string
- 'null'
description: Soil map unit kind (e.g., Consociation, Complex).
example: Consociation
floodCondition:
type:
- string
- 'null'
description: Flood frequency classification.
example: None
drainingClass:
type:
- string
- 'null'
description: Soil drainage class.
example: Well drained
nccpi3Corn:
type:
- number
- 'null'
format: float
description: NCCPI v3 productivity index for corn (0-1 scale).
example: 0.72
nccpi3Soy:
type:
- number
- 'null'
format: float
description: NCCPI v3 productivity index for soybeans (0-1 scale).
example: 0.68
nccpi3Cotton:
type:
- number
- 'null'
format: float
description: NCCPI v3 productivity index for cotton (0-1 scale).
example: null
nccpi3SmallGrains:
type:
- number
- 'null'
format: float
description: NCCPI v3 productivity index for small grains (0-1 scale).
example: 0.55
nccpi3All:
type:
- number
- 'null'
format: float
description: NCCPI v3 overall productivity index (0-1 scale).
example: 0.7
landSoilGeom:
type:
- object
- 'null'
description: GeoJSON geometry of the soil-land intersection polygon.
properties:
crs:
type:
- object
- 'null'
description: Coordinate reference system metadata.
type:
type: string
description: GeoJSON geometry type.
example: Polygon
coordinates:
type: array
description: GeoJSON coordinate array.
example:
- landId: 3456789
mapUnitKey: '198526'
totalAcres: 45.2
affectedAcres: 43.8
percentageCovered: 28.7
description: Clarion loam, 2 to 5 percent slopes
kind: Consociation
floodCondition: None
drainingClass: Well drained
nccpi3Corn: 0.72
nccpi3Soy: 0.68
nccpi3Cotton: null
nccpi3SmallGrains: 0.55
nccpi3All: 0.7
landSoilGeom:
crs: null
type: Polygon
coordinates:
- - - -93.46
- 41.73
- - -93.455
- 41.73
- - -93.455
- 41.735
- - -93.46
- 41.735
- - -93.46
- 41.73
- landId: 3456789
mapUnitKey: '198530'
totalAcres: 65
affectedAcres: 61.2
percentageCovered: 40.2
description: Nicollet clay loam, 0 to 2 percent slopes
kind: Consociation
floodCondition: None
drainingClass: Somewhat poorly drained
nccpi3Corn: 0.85
nccpi3Soy: 0.8
nccpi3Cotton: null
nccpi3SmallGrains: 0.65
nccpi3All: 0.82
landSoilGeom:
crs: null
type: Polygon
coordinates:
- - - -93.458
- 41.731
- - -93.453
- 41.731
- - -93.453
- 41.736
- - -93.458
- 41.736
- - -93.458
- 41.731
'400':
description: Invalid request parameters.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
example:
type: bad-request
title: Invalid Request
status: 400
detail: Validation failed.
instance: urn:dtn:farm-intel-external-api:/api/v1/land/abc/soil/intersection:requestId:abc123
errors:
- message: Path parameter landId must be a valid integer.
parameter: landId
'401':
description: Missing or invalid authentication token.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
example:
type: unauthorized
title: Error while authenticating the user
status: 401
detail: Bearer Token is malformed.
instance: urn:dtn:farm-intel-external-api:requestId:example-id
components:
schemas:
Error:
type: object
description: RFC 7807 Problem Detail error response.
properties:
type:
type: string
description: Error type identifier.
example: bad-request
title:
type: string
description: Human-readable error title.
example: Invalid Request
status:
type: integer
description: HTTP status code.
example: 400
detail:
type: string
description: Human-readable error description.
example: Validation failed.
instance:
type: string
description: URI identifying the specific request that failed (includes request ID for tracing).
example: urn:dtn:farm-intel-external-api:/api/v1/producer/search/radius:requestId:abc123
errors:
type: array
description: Detailed validation errors (present for 400 responses).
items:
type: object
properties:
message:
type: string
description: Description of what's wrong.
example: Required query parameter lat is invalid or missing.
parameter:
type: string
description: The parameter that failed validation.
example: lat
securitySchemes:
clientCredentials:
type: oauth2
x-receive-token-in: request-body
flows:
clientCredentials:
tokenUrl: https://api.auth.dtn.com/v1/tokens/authorize
description: "# Using DAIS for M2M/API Auth\nYou have been given a Client ID and a Client Secret, which are used to request a DTN Access Token. DTN Access Tokens are required when making calls to each and every DTN API endpoint. The following information provides additional details on these tokens and how they are generated.\n## What is an Access Token and how is it different from an API Key?\nAn API Key is a random string of characters that an API uses to authorize whether or not a calling client has approved access to an endpoint. These keys are a non-standard approach to API authorization and are generally issued on a per-API basis.\n\nAn Access Token is also a string of characters but is a base-64 encoded JavaScript Object Notation Web Token, or JWT. JWTs are a widely accepted standard that use OAuth concepts and approaches. \n\nBoth API Keys and Access Tokens are used in an Authorization Request Header as a Bearer, meaning there is no difference in where you put this string of characters when you make calls to DTN APIs.\n## How to generate an Access Token?\nWhen requested, an Access Token is generated for your specific Client (ID/Secret) and for a specific API. The DTN Auth and Identity Service (DAIS) generates new Access Tokens for your client. The DAIS endpoint is `POST https://api.auth.dtn.com/v1/tokens/authorize`.\n\nThis endpoint takes two Header parameters:\n * `Content-Type: application/json`\n * `Accept: application/json`\n\nThis endpoint takes four parameters in the Request Body:\n * `grant_type`: this should always be client_credentials for generating machine-to-machine tokens.\n * `client_id`: this is the Client ID or Application ID using the token and is given to you by DTN's Identity Team. This ID will never change for your client/application.\n * `client_secret`: this is the Client Secret that is associated with the Application ID and is given to you by DTN's Identity Team. This key is subject to rotation for security purposes but always with the client's knowledge.\n * `audience`: this is the API for which this Access Token will be used. For the Farm Intel API, you need to use the following audience: https://api-farm-intelligence.dev.ag.zones.dtn.com\n\nYou can use this CURL command template as a reference for obtaining an access token:\n ```\n curl --location --request POST 'https://api.auth.dtn.com/v1/tokens/authorize' \\\n--header 'Accept: application/json' \\\n--header 'Content-Type: application/json' \\\n--data-raw '{\n\"grant_type\": \"client_credentials\",\n\"client_id\": \"insert your client id here\",\n\"client_secret\": \"insert your client secret here\",\n\"audience\": \"insert your audience here\"\n}' \n ```\n\n*This document, for demonstration purposes, supplies a client_id and client_secret in all code examples. This client/application is for a fictitious API and cannot be used in practice to gain unauthorized access to any other DTN API.*\nUpon generating a new Access Token, you should receive an HTTP Response from DAIS similar to this:\n ```\n {\n \"data\": {\n \"access_token\": \"eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCIsImtpZCI6InpfX21pZW13NGhoTmdvQWQ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0rvBrhSWEw-_grqQDmWFJuWd7Qhi1q81AaJcdqgoSa_efz93QFclJUNw\",\n \"scope\": \"read:demo create:demo update:demo\",\n \"expires_in\": 90,\n \"token_type\": \"Bearer\"\n },\n \"meta\": {\n \"date_time\": \"2022-06-24T19:09:42.963Z\",\n \"name\": \"v1.tokens.authorize\",\n \"uuid\": \"ee6f9feb-dcf8-4421-a6fd-efd6beabdaa9\",\n \"start_timestamp\": 1656097782509,\n \"end_timestamp\": 1656097782963,\n \"execution_time\": 454\n }\n }\n ```\nLooking at this Response, you will see:\n * `access_token`: contains the JWT Access Token string you will use as your Bearer token.\n * `scope`: contains the scopes that this Access Token gives you permissions to access.\n * `expires_in`: contains the length of time before this Access Token will expire, in seconds.\n * `token_type`: verifies that this Access Token should be used as a Bearer token.\n\n## How to use an Access Token after one is generated?\nOnce a n
# --- truncated at 32 KB (39 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/dtn/refs/heads/main/openapi/dtn-land-details-api-openapi.yml