Chemical Image

Render chemical structure image

GET
/chemical/image/by-cichem-id/{cichemId}

Returns a PNG or SVG image of the chemical structure rendered from the SMILES string for the given cichem_id.

Path Parameters

cichemId*string

Chemical Insights Chemical id

Query Parameters

type?string

Image type. Allowed values: png, svg.

Default"png"

Value in

  • "png"
  • "svg"

Response Body

curl -X GET "https://example.com/chemical/image/by-cichem-id/CICHEM000201822?type=png"
"string"