Query the REST API with hour / minute / second resolution

We’ve updated several time filters on the works endpoint of the REST API. You can now make requests using iso-formatted dates and times, with resolution down to 1 s. This applies to the from-created-date, from-update-date, and from-index-date filters, along with the corresponding until filters.

For example:

http://api.crossref.org/v1/works?rows=10&filter=from-created-date:2024-10-02T15:55:01,until-created-date:2024-10-02T16:57:03

http://api.crossref.org/v1/works?rows=10&filter=from-created-date:2025-01-05T15,until-created-date:2025-01-05T15

Note that the times are inclusive, so the second example above will retrieve all results created in an hour window.

This change permits more precise and efficient filtering of results. We expect it to help those retrieving large amounts of data that sit within a small time window. In addition, members of the community who keep a local copy of all or some of our records will be able to sync on a more regular basis.

4 Likes