← Back to Blog

Understanding the MAMMAL ClinTox Toxicity API: A Free Resource for Cancer Research

July 9, 2026

Close-up of HTML code highlighted in vibrant colors on a computer monitor.

Photo by Pixabay on Pexels

As part of the free Cure Cancer With AI API, the MAMMAL ClinTox toxicity endpoint is a powerful tool for researchers and developers in the oncology field. This endpoint allows you to predict the toxicity of chemical compounds, helping to flag potentially risky candidates before they enter clinical trials. The capability to assess toxicity early in the drug development process can significantly enhance the likelihood of success and reduce wasted resources.

Why This Endpoint Matters

Toxicity is a leading cause of failure in clinical trials, often resulting in substantial financial loss and delays in drug development. By utilizing the MAMMAL ClinTox API, researchers can gain early insights into the potential toxicity of compounds. This early signal enables teams to deprioritize risky candidates and focus their efforts on more promising molecules. Consequently, the API not only aids in enhancing the efficiency of drug development but also contributes to safer therapeutic options for patients.

How to Use It

The MAMMAL ClinTox toxicity API is accessed via a POST request to the following path:

POST https://curecancerwithai.com/api/v1/mammal/clintox

To make a request, you will need to provide a JSON body with the following parameter:

  • smiles: The compound structure in SMILES notation.

The API will respond with a JSON object containing:

  • pred: A value of 1 indicates that the compound is toxic (likely to fail trials), while a value of 0 indicates it is not toxic.
  • score: The raw positive-class score representing the model’s confidence in the prediction.

Here’s a code example using curl to interact with the 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": "C1=CC=CC=C1"}'

In this example, replace YOUR_KEY with your actual API key. The SMILES string provided represents a simple benzene ring.

What You Can Build

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

  • Flag Risky Candidates: Use the API to analyze a list of potential drug compounds before entering expensive clinical trials, allowing for informed decision-making.
  • Filter Generated Molecule Sets: If you're using computational methods to generate new compounds, you can integrate toxicity predictions to filter out less viable options based on safety.
  • Add Safety Scores to Screening Dashboards: By incorporating the API into a screening dashboard, you can provide users with a safety score for each compound, enhancing the selection process for further research.

Get Started for Free

The MAMMAL ClinTox toxicity API is available for free, allowing you to make up to 100 requests per hour with a single API key. To start utilizing this invaluable resource, create your free API key at /api-keys and check the full documentation, including parameters and code samples, at /developers.

Conclusion

In conclusion, the MAMMAL ClinTox toxicity API is an essential tool for anyone involved in cancer research and drug development. By providing early toxicity predictions, the API helps teams make informed decisions about which compounds to pursue, ultimately streamlining the research process. Remember, the information provided by this API is for research purposes only and should not be considered medical advice. Always consult healthcare professionals for medical guidance.

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.