Collections - Network

Get commodity graph for a collection

Retrieve a commodity-based network graph for a collection.

This endpoint returns a graph structure showing how targets in the collection are connected through commodity relationships. The graph represents supply chain relationships organized by commodity/product categories.

Use Cases:

  • Analyze commodity-based supply chain networks
  • Visualize relationships organized by product categories
  • Identify commodity-specific supplier connections

Response Format: Returns an array of tree nodes, where each node contains:

  • Target information
  • Commodity relationships
  • Nested supplier structures organized by commodities

Required Permissions: ACCESS_PUBLIC_COMMODITY_GRAPH and READ on the collection

Performance Impact: High

get/public/v2/network/{collectionId}/commodity-graph

Request

Path parameters

collectionIdinteger 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.