Refinements
Refinement endpoints allow for a convenient method of exploring top-values for multiple fields against a specific search criteria.
In this example, for shipments that contain clothing, find the top origin countries, destination countries, and unlading ports.
{
"data_source": "global",
"query": {
"text": "clothing"
},
"fields": ["destination_countries", "origin_countries", "port_unlading_name"]
}