← Back to Blog

Understanding the MAMMAL ClinTox Toxicity API: A Key Resource in Cancer Research

November 8, 2026

Engineer assists patient in fitting a high-tech prosthetic arm in a modern healthcare facility.

Photo by ThisIsEngineering on Pexels

The MAMMAL ClinTox toxicity API, part of the free Cure Cancer With AI public API, is an essential tool for researchers and developers working in the field of oncology. This endpoint, accessed via a simple POST request at `/api/v1/mammal/clintox`, is designed to predict the toxicity of compounds during clinical trials using the advanced IBM MAMMAL model. When it comes to drug development, understanding the potential toxicity of a compound is crucial. Toxicity is one of the leading causes of failure in clinical trials, and identifying risky candidates early can save time, resources, and lives. With the MAMMAL ClinTox toxicity API, developers can gain insights into the safety profiles of their compounds, allowing them to make informed decisions in their research processes.

Why This Endpoint Matters

The importance of the MAMMAL ClinTox toxicity API cannot be overstated. By providing early toxicity signals, this endpoint helps research teams to: - Deprioritize risky compounds: Knowing which compounds are likely to fail trials due to toxicity allows teams to focus their efforts on safer candidates. - Optimize research resources: By filtering out toxic compounds early in the development process, research teams can allocate their time and funding more effectively. - Enhance screening processes: Adding a safety score to molecule screening dashboards can improve the decision-making process for chemists and researchers. Overall, this API plays a critical role in the drug development lifecycle, ultimately paving the way for safer therapeutic options for patients.

How to Use It

Using the MAMMAL ClinTox toxicity API is straightforward. Here’s what you need to know about making requests to this endpoint. Method and Path: To use this endpoint, you will make a POST request to the following URL: ``` https://curecancerwithai.com/api/v1/mammal/clintox ``` Key Parameters: The API requires a JSON body containing the following parameter: - `smiles`: This is the compound structure represented in SMILES (Simplified Molecular Input Line Entry System) notation. Response Shape: The API will return a JSON object containing: - `pred`: A binary prediction where `1` indicates that the compound is toxic (likely to fail trials) and `0` indicates that it is not toxic. - `score`: A raw positive-class score that reflects the level of toxicity. Code Example: Here’s an example of how to make a request to the MAMMAL ClinTox toxicity API using JavaScript's Fetch API:

fetch('https://curecancerwithai.com/api/v1/mammal/clintox', {
    method: 'POST',
    headers: {
        'Authorization': 'Bearer ccw_live_YOUR_KEY',
        'Content-Type': 'application/json'
    },
    body: JSON.stringify({
        smiles: 'CCO' // Example SMILES notation for ethanol
    })
})
.then(response => response.json())
.then(data => {
    console.log('Prediction:', data.pred);
    console.log('Score:', data.score);
})
.catch(error => console.error('Error:', error));
Be sure to replace `YOUR_KEY` with your actual API key, which you can get for free.

What You Can Build

The MAMMAL ClinTox toxicity API opens up a wealth of possibilities for developers and researchers in the oncology field. Here are some practical use cases: - Flagging Risky Candidates: Integrate this API into your compound screening pipeline to automatically flag compounds that are predicted to be toxic, allowing researchers to focus on safer alternatives. - Filtering Generated Molecule Sets: If you are using generative models to create new compounds, you can use this API to filter out those with high toxicity scores, streamlining your research efforts. - Adding Safety Scores to Dashboards: Enhance your existing molecule screening dashboards by incorporating toxicity predictions, providing a more comprehensive view of potential candidates. With these capabilities, the MAMMAL ClinTox toxicity API is a valuable asset in the fight against cancer.

Get Started for Free

Accessing the MAMMAL ClinTox toxicity API is completely free! You can create your own API key at /api-keys and start making requests right away. Be sure to check the full documentation at /developers, where you can find detailed information about parameters, sample code, and usage guidelines. The free tier allows for 100 requests per hour, making it easy to integrate this powerful tool into your workflow.

Conclusion

The MAMMAL ClinTox toxicity API is a pivotal resource for anyone involved in drug development for oncology. By providing critical toxicity predictions, this endpoint empowers researchers to make informed decisions, ultimately enhancing the safety and efficacy of new therapeutic compounds. Remember that while the data and predictions provided by the API are valuable for research and informational purposes, they should not be considered medical advice or a substitute for professional consultation. Always consult with qualified professionals in the field when making decisions based on this information.

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.