function success(data) { var id = 1553534, title; data.product.characteristics.some(function(el) { if (el.property_id == id) title = el.title; return title }) alert(title) }