i think you should use this code->
const resp = await fetch(url);
const responseData = await resp.json();
console.log(responseData.map(item => item.price));
if your 'responseData' is wrapped in a single array. then you will get undefined. Use map in console.log for better vis.