Integrate chemicals across collection groups
Returns chemicals from the union of collection ids within each group and the intersection across groups. Supports up to three groups and five collection ids per group. Empty groups are ignored; zero effective groups and no matches return an empty array.
Request Body
application/json
Collection groups. Collection ids are unioned within each group and the resulting groups are intersected.
Collection groups to combine using union within each group and intersection across groups
Up to three collection groups, with at most five collection_id values per group. Empty groups are ignored.
Response Body
application/json
application/json
curl -X POST "https://example.com/chemical/collection/chemicals/integrate" \ -H "Content-Type: application/json" \ -d '{ "collections": [ [ 1, 2, 5 ], [ 6, 7, 2 ], [ 1, 5, 9, 10 ] ] }'[ { "chemicalId": 0, "pubchemCid": 0, "cichemId": "string", "dtxsid": "string", "primaryName": "string", "casrn": "string", "systematicName": "string", "inchikey": "string", "smiles": "string", "qcLevelName": "string", "qcLevelDescription": "string", "exportDate": "2019-08-24", "dataVersion": "string" }]Render chemical structure image GET
Returns a PNG or SVG image of the chemical structure rendered from the SMILES string for the given cichem_id.
Search collection chemicals by cichem id GET
Returns all link rows for a cichem id. Projection controls response shape: full (link row columns), chemicaldetails (link row columns plus chemical details fields), navigator-chm-cols/navigator-exp-cols/navigator-hzd-cols/navigator-tk-cols (Chemistry/Exposure/Hazard/TK-cipher collections containing the chemical with domain-type tag names aggregated into collectionTypes), or navigator-chm-cols-histo/navigator-exp-cols-histo/navigator-hzd-cols-histo/navigator-tk-cols-histo (histogram of domain tag names across the corresponding cipher collections containing the chemical, plus an Unspecified bucket for collections with no domain tag).