I did not look for addresses on prices for the Marketplace, but once upon a time I made a bot through AHK for a couple with Capture2Text.
This way it is impossible to make the bot work in the background.
There may not be any problems with finding the price, but another problem may arise.
Your program will simply not see the game buttons, such as "select", "search", etc.