Leaf Agriculture API Reference > Weather API
The API Reference > Weather API from Leaf Agriculture — 8 operation(s) for api reference > weather.
The API Reference > Weather API from Leaf Agriculture — 8 operation(s) for api reference > weather.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
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.curl "https://apis.io/api/v1/apis/leaf-agriculture-api-reference-weather-api"
curl "https://apis.io/api/v1/apis?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
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:
title: Leaf Agriculture Leaf API Reference > Alerts API Reference > Weather API
description: We are Leaf Agriculture, provider of a unified farm data API. After experiencing the difficulty of building applications in food and agriculture first hand as software developers, and hearing similar stories of frustration with existing tools and often insurmountable technical barriers from other companies, we decided to tackle the problem at hand.
version: 1.0.0
tags:
- name: API Reference > Weather
paths:
/services/weather/api/users/{leaf_user_id}/weather/forecast/field/{field_id}/daily:
get:
tags:
- API Reference > Weather
summary: Leaf Agriculture Get Daily Forecast
parameters:
- name: Content-Type
in: header
schema:
type: string
example: application/json
- name: Authorization
in: header
schema:
type: string
example: Bearer {{leaf_token}}
- name: leaf_user_id
in: path
schema:
type: string
required: true
- name: field_id
in: path
schema:
type: string
required: true
responses:
'200':
description: Successful response
content:
application/json: {}
/services/weather/api/users/{leaf_user_id}/weather/forecast/field/{field_id}/hourly:
get:
tags:
- API Reference > Weather
summary: Leaf Agriculture Get Hourly Forecast
parameters:
- name: Content-Type
in: header
schema:
type: string
example: application/json
- name: Authorization
in: header
schema:
type: string
example: Bearer {{leaf_token}}
- name: leaf_user_id
in: path
schema:
type: string
required: true
- name: field_id
in: path
schema:
type: string
required: true
responses:
'200':
description: Successful response
content:
application/json: {}
/services/weather/api/weather/forecast/daily/{lat},{lon}:
get:
tags:
- API Reference > Weather
summary: Leaf Agriculture Get Daily Forecast for lat/lon
parameters:
- name: Content-Type
in: header
schema:
type: string
example: application/json
- name: Authorization
in: header
schema:
type: string
example: Bearer {{leaf_token}}
- name: lat
in: path
schema:
type: string
required: true
- name: lon
in: path
schema:
type: string
required: true
responses:
'200':
description: Successful response
content:
application/json: {}
/services/weather/api/weather/forecast/hourly/{lat},{lon}:
get:
tags:
- API Reference > Weather
summary: Leaf Agriculture Get Hourly Forecast for lat/lon
parameters:
- name: Content-Type
in: header
schema:
type: string
example: application/json
- name: Authorization
in: header
schema:
type: string
example: Bearer {{leaf_token}}
- name: lat
in: path
schema:
type: string
required: true
- name: lon
in: path
schema:
type: string
required: true
responses:
'200':
description: Successful response
content:
application/json: {}
/services/weather/api/users/{leaf_user_id}/weather/historical/field/{field_id}/daily:
get:
tags:
- API Reference > Weather
summary: Leaf Agriculture Get Daily Historical
parameters:
- name: Content-Type
in: header
schema:
type: string
example: application/json
- name: Authorization
in: header
schema:
type: string
example: Bearer {{leaf_token}}
- name: leaf_user_id
in: path
schema:
type: string
required: true
- name: field_id
in: path
schema:
type: string
required: true
responses:
'200':
description: Successful response
content:
application/json: {}
/services/weather/api/users/{leaf_user_id}/weather/historical/field/{field_id}/hourly:
get:
tags:
- API Reference > Weather
summary: Leaf Agriculture Get Hourly Historical
parameters:
- name: Content-Type
in: header
schema:
type: string
example: application/json
- name: Authorization
in: header
schema:
type: string
example: Bearer {{leaf_token}}
- name: leaf_user_id
in: path
schema:
type: string
required: true
- name: field_id
in: path
schema:
type: string
required: true
responses:
'200':
description: Successful response
content:
application/json: {}
/services/weather/api/weather/historical/daily/{lat},{lon}:
get:
tags:
- API Reference > Weather
summary: Leaf Agriculture Get Daily Historical for lat/lon
parameters:
- name: Content-Type
in: header
schema:
type: string
example: application/json
- name: Authorization
in: header
schema:
type: string
example: Bearer {{leaf_token}}
- name: lat
in: path
schema:
type: string
required: true
- name: lon
in: path
schema:
type: string
required: true
responses:
'200':
description: Successful response
content:
application/json: {}
/services/weather/api/weather/historical/hourly/{lat},{lon}:
get:
tags:
- API Reference > Weather
summary: Leaf Agriculture Get Hourly Historical for lat/lon
parameters:
- name: Content-Type
in: header
schema:
type: string
example: application/json
- name: Authorization
in: header
schema:
type: string
example: Bearer {{leaf_token}}
- name: lat
in: path
schema:
type: string
required: true
- name: lon
in: path
schema:
type: string
required: true
responses:
'200':
description: Successful response
content:
application/json: {}