This is unfortunately not possible with the current set of tools. It is only possible from the bazaar search because of MQ2Bzrsrch. The plugin intercepts the bazaar search response packet which contains the itemID, but there is no functionality there for barter search.
My arbitrage setup involves dumping the item names, cross referencing with the itemIDs from MQ2Bzrsrch, and then I disambiguate the non unique item names where possible (exclude quest, no trade, etc), and I'm still left with a few things between the cracks. I want to find some time to learn how I'd add barter search to mq2bzrsrch as well as fix a few bugs there, but that's not my wheelhouse currently.