NEW

Values of flow attributes for selected nodes.

Values of requested attributes (attributes_ids) for requested nodes (nodes_ids) in requested year range. It is possible to filter down values by nodes which should appear on same path (path_nodes_ids), which allows for example to retrieve value for a sourcing region filtered by an exporter.

get/nodes/data

Query parameters

countrystring required

Country ISO 2, e.g. BR

commoditystring required

Commodity name, e.g. SOY

attributes_idsstring

Comma-separated list of numeric flow attribute ids, for which values will be returned. TODO check if this is practical from performance perspective.

path_nodes_idsstring

Comma-separated list of numeric node ids to filter flows.

nodes_idsstring

Comma-separated list of numeric node ids to return values for. When empty, all matching nodes returned, but node type needs to be provided. TODO check if that might require introducing pagination.

node_typestring

Node type name, e.g. MUNICIPALITY

start_yearinteger

Start year of data, when not provided no lower limit on year range applied.

end_yearstring

End year of data, when not provided no upper limit on year range applied.

Changes