Dear all,
as you all know at the end of last year the Catalogue of Life has moved to a whole new infrastructure and now offers a new and richer API.
As I had a few similar requests vie email lately I thought it would be good to give you a quick introduction to get started, while we are still working on better documentation.
The basic concept has changed in the sense that the API does not only expose the Catalogue of Life (COL), but all of ChecklistBank (CLB) which hosts a large number of taxonomic or nomenclatural datasets including the sources that we use to assemble
the COL. You can read here more about it:
https://www.catalogueoflife.org/about/colpipeline
The base URL of the API uses Swagger to exposes a rudimentary documentation of all the available REST resources and allows you to test it with real data:
https://api.catalogueoflife.org
In order to access the latest version of COL you need to use the datasetKey=3LR (note that the swagger generated API docs do not allow strings, please use the currents release key 2242 for testing or curl). Pretty much all calls of interest to
you should be scoped under
http://api.catalogueoflife.org/dataset/3LR
In order to search for a name you could be doing this:
To get taxon details for a given taxonID this does most of it:
To browse the tree you can use the Tree API which in its basic form works like this:
There are a few small differences how we treat references compared to the previous version, otherwise it should work just as before.
We do consider this a legacy API and would like to encourage everyone using it still to migrate to our new API above.
Please don't hesitate to ask any questions on this list if you want to know more on how to use our API.
With best wishes,
Markus
+++ COL RESOURCES +++
COL Website:
http://www.catalogueoflife.org/