GET /data/{agency},{dataflow},{version}/{key}

fao.org:fao-api

Summary: Get data for a specific dataflow
Operation ID: getData
Auth: unknown
Description

Retrieves statistical data for a specific dataflow. Use 'all' for key to get all data, or specify dimension values. Supports time period filtering and multiple output formats.

Parameters (7)

agency (string, path, required)

Agency ID

dataflow (string, path, required)

Dataflow ID

endPeriod (string, query, optional)

End time period

format (string, query, optional)

Output format

Constraints: {'enum': ['jsondata', 'genericdata', 'csvfile', 'csvfilewithlabels']}

key (string, path, required)

Dimension values or 'all' for all data

startPeriod (string, query, optional)

Start time period (e.g., 2020, 2015-Q1)

version (string, path, required)

Dataflow version

Examples (1)

TitleTypeURLAction
Get data for a specific dataflow openapi-spec https://nsi-release-ro-statsuite.fao.org/rest/data/FAO,DF_SDG_2_1_1,1.0/all?startPeriod=2020&endPeriod=2021&format=jsondata

Probe History

Latency

Status Codes

TimeStatusLatencySize
2026-03-23 09:16:34.934973 200 1115ms