Explore the MAMMAL Protein–Protein Interaction API: A Free Resource for Cancer Research
August 30, 2026

Photo by Mikhail Nilov on Pexels
The MAMMAL protein–protein interaction API, accessible at POST /api/v1/mammal/ppi, is a powerful tool within the free Cure Cancer With AI API. This endpoint leverages the IBM MAMMAL biomedical foundation model to predict the binding-affinity class between two proteins. Understanding these interactions is critical in the field of cancer research, as protein interactions play a vital role in biological processes, including the development and progression of cancer.
Why This Endpoint Matters
Protein–protein interactions (PPIs) are essential for cellular functions and signaling pathways. Disruptions in these interactions can lead to various diseases, including cancer. Traditional methods for studying PPIs often require extensive laboratory resources and time. The MAMMAL API streamlines this process by allowing researchers and developers to predict interactions computationally, saving both time and resources. By using this API, you can quickly assess potential interactions between protein pairs without the need for labor-intensive experiments, enabling faster decision-making in research and development.
How to Use It
To utilize the MAMMAL protein–protein interaction API, you'll need to make a POST request to the endpoint. Here’s how it works:
- Method: POST
- Path: /api/v1/mammal/ppi
- Parameters: A JSON body containing
protein_aandprotein_b, which are the amino-acid sequences represented in single-letter codes (e.g.,Afor Alanine,Cfor Cysteine). Ensure there are no spaces or FASTA headers in your input.
The API will return a JSON response containing the predicted interaction data. The response shape is as follows:
{
"data": {
"prediction": "1", // or "0"
"label": "1" // interacting or non-interacting
}
}
Here’s a practical example of how to use this API with JavaScript's fetch function:
fetch('https://curecancerwithai.com/api/v1/mammal/ppi', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
'Authorization': 'Bearer ccw_live_YOUR_KEY'
},
body: JSON.stringify({
protein_a: 'ACDEFGHIKLMNPQRSTVWY',
protein_b: 'ACDEFGHIKLMNPQRSTVWY'
})
})
.then(response => response.json())
.then(data => console.log(data))
.catch(error => console.error('Error:', error));
In this example, replace YOUR_KEY with your actual API key obtained from /api-keys.
What You Can Build
With the MAMMAL protein–protein interaction API, you can build a variety of applications that enhance your research capabilities:
- Screen Candidate Interaction Partners: Identify potential binding partners for proteins of interest, which can help in drug discovery or understanding disease mechanisms.
- Prioritize Wet-Lab Experiments: Use the predictions to focus on the most promising interactions, thereby optimizing your experimental efforts and resources.
- Annotate Protein Networks: Enrich your protein interaction networks with predicted edges, contributing to a more comprehensive understanding of the biological context.
Get Started for Free
The MAMMAL protein–protein interaction API is completely free to use! You can create a free API key at /api-keys and explore the full documentation, including parameters and additional code samples, at /developers. The free tier allows up to 100 requests per hour per key, which is perfect for initial exploration and development.
Remember, while the predictions provided by the API can be invaluable for research purposes, they are not a substitute for medical advice or clinical judgment. Always consult with a healthcare professional regarding medical matters.
Conclusion
The MAMMAL protein–protein interaction API offers a robust and accessible way for developers and researchers to delve deeper into the complex world of protein interactions in cancer research. By integrating this resource into your projects, you can enhance your research capabilities and contribute to the ongoing fight against cancer.
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.
