---
title: "Protein–protein interaction"
method: POST
path: "/api/v1/mammal/ppi"
tags: ["MAMMAL"]
---

# Protein–protein interaction

`POST /api/v1/mammal/ppi`

## Request

- Base URL: `https://www.curecancerwithai.com`
- URL: `https://www.curecancerwithai.com/api/v1/mammal/ppi`
- Auth: one of:
  - HTTP bearer
  - API key in header `x-api-key`

Predict the binding-affinity class for a pair of proteins using the IBM MAMMAL biomedical foundation model. The model is CPU-bound and serialized server-side; a call may take up to ~60s, so use a client timeout of at least 60 seconds.

## Request body

- PpiRequest
  - `protein_a` string, required: Amino-acid sequence, single-letter codes (ACDEFGHIKLMNPQRSTVWY), no spaces or FASTA headers.
  - `protein_b` string, required: Amino-acid sequence, single-letter codes.

## Response `200`

PPI prediction.

- object
  - `data` PpiResult
    - `prediction` string
    - `label` '0' | '1': 1 = interacting, 0 = non-interacting.

## Other responses

- `401`: Missing, invalid, or revoked API key.
- `422`: Missing or invalid request body fields.
- `429`: Rate limit exceeded (100 requests/hour per key). Includes a Retry-After header.

---

[API](https://skmtc.dev/curecancerwithai/apis/cure-cancer-with-ai-public-api.md) - [All operations](https://skmtc.dev/curecancerwithai/apis/cure-cancer-with-ai-public-api/llms.txt) - [OpenAPI document](https://skmtc.dev/curecancerwithai/apis/cure-cancer-with-ai-public-api/revisions/fd99aa2f2fd5?raw)
