Skip to main content

Response Structure

Successful responses (status code 200) will have the below structure. For errors see Error Codes

Fields​

FieldTypeDescription
successbooleanIndicates whether the request was successful.
balanceintegerThe remaining API request balance.
resultsarrayA list of matched products from the request.
results[].requestobjectThe original product request details.
results[].request.descriptionstringThe description of the requested product.
results[].request.product_numberstringThe product identifier number.
results[].request.product_namestringThe full product name of the requested product.
results[].request.full_pricefloatThe original price of the requested product.
results[].request.unit_pricefloatThe final price per unit after discounts.
results[].product_infoarrayA list of matched product details with probabilities.
results[].product_info[].probabilityfloatConfidence score (0-1) for this product match.
results[].product_info[].upcstringThe UPC (Universal Product Code) of the product.
results[].product_info[].product_namestringThe name of the matched product.
results[].product_info[].brandstringThe brand name of the matched product.
results[].product_info[].sectorstringThe sector classification of the product.
results[].product_info[].departmentstringThe department under which the product is categorized.
results[].product_info[].categorystringThe category of the product (e.g., Crackers, Snacks).
results[].indexintegerThe index position of this result in the original request array.

Example​

{
"success": true,
"balance": 239,
"results": [
{
"request": {
"description": "KRO SALTINES",
"product_number": "12345789",
"product_name": null,
"full_price": 6.99,
"unit_price": 4.99
},
"product_info": [
{
"probability": 0.75,
"upc": "11110090904",
"product_name": "Kroger® Original Saltines Crackers",
"brand": "Kroger",
"sector": "Grocery",
"department": "Snacks",
"category": "Crackers"
}
],
"index": 0
}
]
}