Search the HG product attribute catalog with filtering and pagination.
Security
authorization
Attribute search parameters
Filter criteria for attribute search. All filters are optional and AND-combined.
Example:
{ "attribute_ids": [ 891, 387 ], "attribute_name": "Cloud Computing" }
POST
curl -i -X POST \
https://api.hginsights.com/data-api/v2/products/attributes/search \
-H 'Authorization: Bearer <YOUR_API_KEY_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"filters": {
"attribute_ids": [
891,
387
],
"attribute_name": "Cloud Computing"
},
"include_product_count": true,
"limit": 50,
"offset": 0,
"sort": []
}'Attribute search results
Matching attributes
Example:
[ { "attribute_description": "Cloud Computing refers to the delivery of computing services (hardware and software) via public, private, or hybrid cloud environments.", "attribute_id": 891, "attribute_level": 1, "attribute_name": "Cloud Computing", "attribute_parent_id": 0, "product_count": 959 } ]
Response
{ "attributes": [ { … } ], "count": 1 }