← Back to Blog

Predict Drug-Target Interactions with the MAMMAL API: Part of the Free Cure Cancer With AI API

November 5, 2026

Two scientists in protective clothing conducting a laboratory experiment with beakers.

Photo by Artem Podrez on Pexels

In the competitive landscape of drug discovery, understanding how compounds interact with biological targets is critical. The MAMMAL drug–target interaction API allows developers to predict drug-target binding affinities using the advanced IBM MAMMAL model. This endpoint, accessible as part of the free Cure Cancer With AI public API, streamlines the process of estimating binding affinities, making it easier for researchers and developers to innovate in the field of oncology.

Why This Endpoint Matters

Estimating drug-target binding affinity is a fundamental step in the drug discovery process. High binding affinity can indicate a strong interaction between a drug and its target, which is essential for therapeutic efficacy. However, setting up complex predictive models locally requires significant computational resources and expertise. The MAMMAL API addresses this problem by providing an easy-to-use, scalable solution that allows researchers to access powerful predictions without the overhead of local installations. This accessibility democratizes drug discovery and accelerates the pace of research.

How to Use It

The MAMMAL drug–target interaction API operates using the following method and path:

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

To utilize this endpoint, you will need to send a JSON body containing the following parameters:

  • target_seq: The amino acid sequence of the protein target.
  • drug_seq: The SMILES representation of the drug compound.
  • Optional: norm_y_mean and norm_y_std for overriding normalization parameters.

The API will return a JSON response with the following structure:

{
    "data": {
        "pKd": 
    }
}

In this response, pKd represents the predicted -log₁₀ Kd, where higher values indicate stronger predicted binding affinities. You can expect the response time to be around 60 seconds.

Here is a sample code snippet using curl to call this endpoint:

curl -X POST https://curecancerwithai.com/api/v1/mammal/dti \
-H "Authorization: Bearer ccw_live_YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{
    "target_seq": "ACDEFGHIKLMNPQRSTVWY",
    "drug_seq": "CC(=O)OC1=CC=CC=C1C(=O)O"
}'

Replace YOUR_KEY with your actual API key to authenticate your request.

What You Can Build

The MAMMAL API enables a variety of impactful use cases in drug discovery and research:

  • Rank Compound Libraries: You can utilize the API to rank a library of compounds against specific protein targets, allowing researchers to identify promising candidates for further testing.
  • Triage Hits Before Assays: By estimating binding affinities, researchers can prioritize which compounds to advance to experimental assays, saving time and resources.
  • Add Binding-Affinity Signals: Integrate binding affinity predictions into existing discovery pipelines to enhance the decision-making process and improve the likelihood of finding effective therapeutics.

These capabilities make the MAMMAL API an essential tool for researchers aiming to streamline drug discovery efforts and contribute to advancements in cancer treatment.

Get Started for Free

The MAMMAL drug–target interaction API is completely free to use. To begin, create your API key at /api-keys. After obtaining your key, you can explore the full documentation and further examples at /developers. Keep in mind that the free tier allows for up to 100 requests per hour, making it accessible for both small-scale projects and larger research efforts.

As with all data and model predictions provided through the Cure Cancer With AI API, it is important to note that these outputs are for informational and research purposes only and do not constitute medical advice. Always consult qualified healthcare professionals for medical concerns.

In conclusion, the MAMMAL drug–target interaction API is a powerful resource for researchers engaged in drug discovery, providing accessible predictions of binding affinities that can significantly enhance research outcomes. Unlock the potential of your projects today by leveraging this 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.