Access to the ElMTree REST API is probided by making PUT requests to https://lmds.liverpool.ac.uk/elmtree_api with JSON fitting the following schema:

Argument Type Description
compositions String or list of string The composition(s) with which to search. Can be a single with comma seperated compositions

Assuming correct formatting results will be provided as a JSON list of list of lists with each list of lists refering to a single query. Queries are returned in the respective order in which they are given, the elements in each list of lists are being the results to that query. Each list refers to a single result to a single query with results having the following schema:

Argument Type Description
0 String The formula of the result
1 Float The Element movers distance from the query to this result
2 Dictionary/JSON Object The datasets in which this result is found, with the keys being the name of the datasets, and values being a list of IDs in that dataset which refer to this composition

Example Usage

$ curl -X PUT "https://lmds.liverpool.ac.uk/elmtree_api" -H "Content-Type: application/json" -d '{"compositions": "SrTiO3"}'

We store necessary cookies to make the site work. We'd also like to include a set of optional analytics cookies to give us further insight into how the website is being used. These will not be stored unless you enable them. Using this tool will store a cookie on your device to remember your preference.

Accept Reject