- V1: 2014-02-26, first draft.
- V2: 2014-02-28, added license examples
- V3: 2017-04-27, replace license route examples with facet/filter examples
The following short examples show how the CrossRef REST API can be used to issue sophisticated queries against the CrossRef system.
You might start by wondering how much and what kinds of data exist in the CrossRef system.
http://api.crossref.org/works?rows=0
http://api.crossref.org/types
http://api.crossref.org/types/journal-article/works?rows=0
http://api.crossref.org/types/journal-article/works?rows=0
But eventually you will probably want to start looking at metadata records
TBD
TBD
And then you will want to start looking for metadata records that contain specific terms
TDB
TBD
So let's look at specific records
TBD
TBD
Interesting. There is license information in there and full text links.
http://api.crossref.org/works?filter=has-license:true&rows=0
http://api.crossref.org/works?filter=has-license:true&rows=25&offset=0
http://api.crossref.org/works?filter=has-license:true&rows=25&offset=25
http://api.crossref.org/licenses?rows=0
http://api.crossref.org/works?rows=0&filter=license.url:http://creativecommons.org/licenses/by/3.0/
http://api.crossref.org/works?filter=has-funder:true&rows=0
http://api.crossref.org/members/98/works?filter=has-funder:true&rows=0
or
http://api.crossref.org/works?filter=member:98,has-funder:true&rows=0
http://api.crossref.org/member/78/works?filter=has-funder:true&rows=0
http://api.crossref.org/members?rows=0
http://api.crossref.org/members?rows=25&offset=0
http://api.crossref.org/members?rows=25&offset=25
http://api.crossref.org/members?query=hindawi
though once you have a member ID ('98', in this case), you should use that instead. So above is the same as:
http://api.crossref.org/members/98
http://api.crossref.org/members?query=elsevier
http://api.crossref.org/members/78
http://api.crossref.org/members/78/works?rows=0
http://api.crossref.org/members/78/works?rows=25&offset=0
http://api.crossref.org/members/78/works?rows=25&offset=25
http://api.crossref.org/members/78/works?filter=has-license:true&rows=0
http://api.crossref.org/members/78/works?filter=has-full-text:true&rows=0
http://api.crossref.org/works?facet=license:*&filter=member:78&rows=0
http://api.crossref.org/members?query=hindawi
http://api.crossref.org/members/98
http://api.crossref.org/members/98/works?rows=0
http://api.crossref.org/members/98/works?filter=has-license:true&rows=0
http://api.crossref.org/members/98/works?filter=has-full-text:true&rows=0
http://api.crossref.org/works?facet=license:*&filter=member:98&rows=0
http://api.crossref.org/works?facet=license:*&filter=issn:2090-8091
http://api.crossref.org/works?facet=license:*&filter=orcid:0000-0003-1340-5202