Home
FAO FAOSTAT
Data Query Crops
Data Query Crops
Example FAOSTAT Data API response for wheat area harvested in China (2018-2020) from the Crops and Livestock Products domain (QCL). Request URL: GET /en/data/QCL?area=5&item=15&element=5510&year=2018,2019,2020&output_type=objects
Agriculture Food Security Statistics Trade Land Use Environment UN Open Data
Data Query Crops is an example object payload from FAO FAOSTAT, with 3 top-level fields. It illustrates the shape of data this provider's APIs accept or return.
Top-level fields
description request response
Example Payload
{
"description": "Example FAOSTAT Data API response for wheat area harvested in China (2018-2020) from the Crops and Livestock Products domain (QCL). Request URL: GET /en/data/QCL?area=5&item=15&element=5510&year=2018,2019,2020&output_type=objects",
"request": {
"method": "GET",
"url": "https://fenixservices.fao.org/faostat/api/v1/en/data/QCL",
"parameters": {
"area": "5",
"item": "15",
"element": "5510",
"year": "2018,2019,2020",
"output_type": "objects",
"show_codes": "true",
"show_flags": "true"
}
},
"response": {
"data": [
{
"Area Code": 5,
"Area Code (M49)": "156",
"Area": "China",
"Item Code": 15,
"Item Code (CPC)": "0111",
"Item": "Wheat",
"Element Code": 5510,
"Element": "Area harvested",
"Year Code": 2018,
"Year": 2018,
"Unit": "ha",
"Value": 24268960,
"Flag": "A",
"Flag Description": "Official figure",
"Note": null
},
{
"Area Code": 5,
"Area Code (M49)": "156",
"Area": "China",
"Item Code": 15,
"Item Code (CPC)": "0111",
"Item": "Wheat",
"Element Code": 5510,
"Element": "Area harvested",
"Year Code": 2019,
"Year": 2019,
"Unit": "ha",
"Value": 23727990,
"Flag": "A",
"Flag Description": "Official figure",
"Note": null
},
{
"Area Code": 5,
"Area Code (M49)": "156",
"Area": "China",
"Item Code": 15,
"Item Code (CPC)": "0111",
"Item": "Wheat",
"Element Code": 5510,
"Element": "Area harvested",
"Year Code": 2020,
"Year": 2020,
"Unit": "ha",
"Value": 23341000,
"Flag": "A",
"Flag Description": "Official figure",
"Note": null
}
]
}
}
Every example 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 examples
4 MCP tools reach this
find_examplesBrowse and filter every example in the catalog.
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 example
curl "https://apis.io/api/v1/examples/data-query-crops"
All examples
curl "https://apis.io/api/v1/examples?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.