is there a way to query the play store for the version of an app without the need for user-credentials. I am aware of this unofficial API:
http://code.google.com/p/a
Bear in mind that nowadays a lot of apps have multiple versions running. For those apps with one version you can try 42matters Lookup API, it should give you the correct version.