First, get an API key. It takes no time at all. Just fill in the form and we will activate a key for you. Note that we do this because occasionally we need to get in touch with somebody if their scripts start misbehaving and are hammering our systems. The alternative is to simply block the script- and we wouldn’t want to do that, right?
In the following examples you need to substitute API_KEY with the key that you get from us.
Often you just want to take an existing CrossRef DOI and lookup the metadata for it. For that you want to use our OpenURL query. So, if you have the CrossRef DOI:
You can simply construct a URL like this:
And you will get an XML representation of the metadata. Unless, of course, you forgot to substitute the API_KEY in the URL above with the one that you activated in the first step…
The OpenURL query interface to CrossRef is capable of much more than just DOI lookups. You can visitour documentation to get more detailed examples of fielded searches, etc.