← Back to Blog

MAMMAL ClinTox Toxicity API: Predicting Clinical Trial Toxicity with Ease

September 3, 2026

A robotic arm offers a flower to a woman in a display of technology and human connection.

Photo by Pavel Danilyuk on Pexels

The MAMMAL ClinTox toxicity API, available at POST /api/v1/mammal/clintox, is a powerful tool offered as part of the free Cure Cancer With AI public API. This endpoint enables researchers and developers to predict the toxicity of chemical compounds before they enter clinical trials, addressing one of the leading causes of trial failure: toxicity. By leveraging the IBM MAMMAL model, this API provides early signals about a compound's safety, allowing teams to make informed decisions on which compounds to prioritize for development.

Why This Endpoint Matters

Toxicity is a significant hurdle in the drug development process. Many promising compounds fail during clinical trials due to unforeseen toxic effects, leading to wasted time, resources, and potential innovations that never see the light of day. By using the MAMMAL ClinTox toxicity API, researchers can receive early warnings about the safety of their compounds. This early toxicity signal allows teams to deprioritize risky candidates, ultimately streamlining the drug development process and enhancing the efficiency of clinical trials.

How to Use It

Using the MAMMAL ClinTox toxicity API is straightforward. The API requires a POST request to the specified path and accepts a JSON body containing the compound's structure in SMILES notation. Here’s a quick breakdown of how to use this endpoint:

  • Method: POST
  • Path: /api/v1/mammal/clintox
  • Parameters:
    • smiles: The compound structure in SMILES notation.
  • Response Shape: The API returns a JSON object with the following fields:
    • pred: A binary indicator where 1 means the compound is toxic (likely to fail trials) and 0 means it is not toxic.
    • score: The raw positive-class score, indicating the likelihood of toxicity.

Here’s a sample code snippet using curl to demonstrate how to interact with the API:

curl -X POST https://curecancerwithai.com/api/v1/mammal/clintox \
-H "Authorization: Bearer ccw_live_YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{"smiles": "C1=CC=CC=C1"}'

In this example, replace YOUR_KEY with your actual API key and C1=CC=CC=C1 with the SMILES notation of the compound you wish to evaluate.

What You Can Build

The MAMMAL ClinTox toxicity API opens up numerous possibilities for developers and researchers in the field of oncology and drug development. Here are a few concrete use cases:

  • Flag Risky Candidates: Before investing time and resources into clinical trials, developers can use this API to screen chemical compounds and identify potential risks associated with toxicity.
  • Filter Generated Molecule Sets: In computational chemistry, when generating new molecules, this API can be used to filter out compounds that are likely to be toxic, ensuring a safer selection for further analysis.
  • Add Safety Scores to Screening Dashboards: Developers can integrate the MAMMAL ClinTox predictions and scores into their existing dashboards, providing real-time safety evaluations for compounds under consideration.

Get Started for Free

The MAMMAL ClinTox toxicity API is available for free, allowing you to create a free API key at /api-keys. You can make up to 100 requests per hour with your free tier key. To explore the full documentation, including more parameters and code samples, visit /developers.

Conclusion

The MAMMAL ClinTox toxicity API is an invaluable tool for researchers and developers aiming to navigate the complexities of drug development. By predicting toxicity early in the process, this API helps teams make informed decisions, reduce risks, and optimize resources. Remember, the data and predictions provided by this API are intended as informational signals and should not be interpreted as medical advice. Stay ahead in the field of oncology research by leveraging this powerful, free resource.

To dive deeper into practical AI-for-cancer-research updates, explore our latest blog posts, learn more about our mission, and see how you can support ongoing work on our donations page.