v8

latestOpenAPI 3.0.0MIT Licenseraw.githubusercontent.com2024-01-25121542.8 KB
PROPOSED - NOT IMPLEMENTED YET

List of top nodes of given node type for country - commodity combination ordered by total value of flow attribute in requested year range.

List of top nodes of given node type for country - commodity combination ordered by total value of flow attribute in requested year range.

get/top_nodes

Query parameters

countrystring required

Country ISO 2, e.g. BR

commoditystring required

Commodity name, e.g. SOY

attribute_idinteger

Flow attribute id, when not provided defaults to trade volume

node_typestring required

Node type name, e.g. MUNICIPALITY

path_nodes_idsstring

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

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.

limitinteger

Number of elements to return