Collections - Network

Get commodity graph for a commodity tree

Retrieve a commodity-based network graph using a commodity tree ID.

This endpoint is similar to the collection-based commodity graph endpoint but uses a commodity tree ID to identify the collection. The commodity tree represents a hierarchical organization of commodity categories.

Use Cases:

  • Analyze commodity-based networks using commodity tree identifiers
  • Visualize relationships for specific commodity hierarchies
  • Integrate with systems that use commodity tree IDs

Response Format: Returns an array of tree nodes organized by commodity relationships.

Required Permission: ACCESS_PUBLIC_COMMODITY_GRAPH

Performance Impact: High

get/public/v2/network/tree/{commodityTreeId}/commodity-graph

Request

Path parameters

commodityTreeIdinteger required

Response

Successfully retrieved commodity graph

targetinteger required

The target id of the supplier

suppliersPublicTreeTargetV2[] required circular
edgeSourcestring required

Allowed values "Public Media", "Public Customs", "Private", "Shared", "Prewave Prediction"

merged_targetsinteger[]

Target ids of past targets that were merged into this current target

Changes

No recorded changes to this operation across all 24 revisions of this API.