API for Scientific Literature Search
CrossRef has an API, and this will resolve metadata for most papers. (Not all DOIs are registered through CrossRef, but it's going to cover most of the cases you want.)

However, it may not have all the detail you need - it won't always have author affiliation, for example.