← Back to Blog

MAMMAL ClinTox Toxicity API: Predicting Clinical Trial Risks with Ease

August 6, 2026

High-quality close-up image of fresh oysters resting in water, showcasing textures and details.

Photo by Mark Stebnicki on Pexels

The MAMMAL ClinTox toxicity API is a powerful endpoint within the free Cure Cancer With AI API that allows developers and researchers to predict the toxicity of chemical compounds before they enter clinical trials. By leveraging the IBM MAMMAL model, this API addresses a critical challenge in drug development—toxicity being one of the leading causes of clinical trial failure. Understanding the toxicity profile of a compound early in the research process can save time and resources, ultimately speeding up the drug discovery process.

Why This Endpoint Matters

Toxicity concerns are paramount in the pharmaceutical industry. Approximately 30% of drug candidates fail due to safety and toxicity issues during clinical trials. This high failure rate can result in significant financial losses and wasted effort for research teams. The MAMMAL ClinTox toxicity API provides an early warning system by predicting whether a compound is likely to be toxic based on its molecular structure expressed in SMILES notation. This early signal allows researchers to deprioritize risky candidates, focus on safer alternatives, and enhance the efficiency of their drug discovery workflows.

How to Use It

The MAMMAL ClinTox toxicity API follows a straightforward pattern with a single method and path:

  • Method: POST
  • Path: /api/v1/mammal/clintox

To make a request, the API expects a JSON body containing the following parameter:

  • smiles: The compound structure in SMILES notation.

Upon successful execution, the API returns a response in the following shape:

{
    "data": {
        "pred": 1, // 1 indicates toxic (likely to fail trials), 0 indicates not toxic
        "score": 0.85 // raw positive-class score
    }
}

Here’s a concrete example using curl to demonstrate how to call this endpoint:

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

In this example, replace YOUR_KEY with your actual API key. The SMILES string "CC(C)C(=O)O" represents a specific chemical compound, and the API will return a prediction based on its toxicity profile.

What You Can Build

With the MAMMAL ClinTox toxicity API, developers can create a variety of applications to enhance their research and drug discovery processes. Here are a few concrete use cases:

  • Flag Risky Candidates: Integrate this API into your screening process to automatically flag compounds that may be toxic, allowing teams to focus on safer alternatives.
  • Filter Generated Molecule Sets: If you’re using generative models to create new compounds, run them through this API to filter out undesirable candidates before further analysis.
  • Add Safety Scores to Dashboards: Incorporate toxicity predictions into your compound screening dashboards, providing a visual representation of safety scores alongside other metrics.

Get Started for Free

The MAMMAL ClinTox toxicity API is absolutely free to use! You can create your free API key by visiting /api-keys. Additionally, you can read the full documentation, including all parameters and code samples, at /developers. Each key allows for 100 requests per hour, enabling you to experiment and integrate the API into your projects without any cost.

Conclusion

The MAMMAL ClinTox toxicity API is an invaluable tool for anyone involved in drug discovery and development. By predicting the toxicity of compounds early in the research process, teams can make informed decisions and prioritize safer candidates for clinical trials. Remember, while the predictions provided by this API offer valuable insights, they are not a substitute for medical advice or clinical judgment. Always consult with qualified professionals for health-related decisions.

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.