API limit output to certain sections

Hello,

In searching the API documentation and community board, I don’t see that it’s possible to limit the fields returned by an API call. For example, in the following call, is it possible to only return the Funders portion?

/works/10.1007/s11482-022-10046-y

If this is not possible, where would I suggest this as a feature?

1 Like

Hello, and thanks for your post.

The ‘select’ parameter allows you to limit the results to just certain fields, but not all fields are supported.

These are the arguments that ‘select’ can take:
abstract, URL, member, posted, score, created, degree, update-policy, short-title, license, ISSN, container-title, issued, update-to, issue, prefix, approved, indexed, article-number, clinical-trial-number, accepted, author, group-title, DOI, is-referenced-by-count, updated-by, event, chair, standards-body, original-title, funder, translator, published, archive, published-print, alternative-id, subject, subtitle, published-online, publisher-location, content-domain, reference, title, link, type, publisher, volume, references-count, ISBN, issn-type, assertion, deposited, page, content-created, short-container-title, relation, editor

So, as an example, this query will return 10 randomly sampled journal articles which have funding data, and return just the DOI and funder information.
https://0-api-crossref-org.pugwash.lib.warwick.ac.uk/works?filter=type:journal-article,has-funder:true&sample=10&select=DOI,funder

Please let us know if you have any other questions.

-Shayn

1 Like