There is no way to do this with the main api, and you should not try, since the main api is primarily for editors.
What you need is a geocoder, nominate. You can find detailed information about this on the wiki , but basically you want to use a query like this:
http:
An XML document will be returned listing possible matches and their locations.
source share