Cure Cancer With AI MAMMAL API

IBM MAMMAL biomedical foundation-model predictions.

GitHub OpenAPI

Operations 3

POST /api/v1/mammal/ppi Protein–protein interaction #
POST /api/v1/mammal/dti Drug–target interaction (pKd) #
POST /api/v1/mammal/clintox ClinTox clinical-trial toxicity #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/curecancerwithai-com:curecancerwithai-com-mammal-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

curecancerwithai-com-mammal-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Curecancerwithai Com MAMMAL API
  version: 1.0.0
  contact:
    name: Cure Cancer With AI
    url: https://www.curecancerwithai.com/developers
  license:
    name: Free to use — see developer docs
    url: https://www.curecancerwithai.com/developers
  description: 'Operations tagged MAMMAL across 2 of this provider''s published API definitions: curecancerwithai-com-openapi.json, curecancerwithai-com-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://www.curecancerwithai.com
  description: Production
security:
- bearerAuth: []
- apiKeyHeader: []
tags:
- name: MAMMAL
  description: IBM MAMMAL biomedical foundation-model predictions.
paths:
  /api/v1/mammal/ppi:
    post:
      tags:
      - MAMMAL
      operationId: predictPpi
      summary: Protein–protein interaction
      description: 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.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PpiRequest'
            example:
              protein_a: MADQLTEEQIAEF...
              protein_b: MSSKLLLAGLDIE...
      responses:
        '200':
          description: PPI prediction.
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    $ref: '#/components/schemas/PpiResult'
              example:
                data:
                  prediction: <SENTINEL_ID_0><1><EOS>
                  label: '1'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '422':
          $ref: '#/components/responses/ValidationError'
        '429':
          $ref: '#/components/responses/RateLimited'
    servers:
    - url: https://www.curecancerwithai.com
      description: Production
  /api/v1/mammal/dti:
    post:
      tags:
      - MAMMAL
      operationId: predictDti
      summary: Drug–target interaction (pKd)
      description: Predict drug–target binding affinity as pKd (−log₁₀ Kd). Higher pKd means stronger predicted binding. The model is CPU-bound; use a client timeout of at least 60 seconds.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/DtiRequest'
            example:
              target_seq: NLMKRCTRGFRKLGKCTTLEEEKCKTLYPRGQCTCSDSKMNTHSCDCKSC
              drug_seq: CC(=O)NCCC1=CNc2c1cc(OC)cc2
      responses:
        '200':
          description: DTI prediction.
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    $ref: '#/components/schemas/DtiResult'
              example:
                data:
                  pKd: 5.4932751
        '401':
          $ref: '#/components/responses/Unauthorized'
        '422':
          $ref: '#/components/responses/ValidationError'
        '429':
          $ref: '#/components/responses/RateLimited'
    servers:
    - url: https://www.curecancerwithai.com
      description: Production
  /api/v1/mammal/clintox:
    post:
      tags:
      - MAMMAL
      operationId: predictClintox
      summary: ClinTox clinical-trial toxicity
      description: Predict clinical-trial toxicity for a compound. The model is CPU-bound; use a client timeout of at least 60 seconds.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ClintoxRequest'
            example:
              smiles: CC(CCl)OC(C)CCl
      responses:
        '200':
          description: ClinTox prediction.
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    $ref: '#/components/schemas/ClintoxResult'
              example:
                data:
                  pred: 0
                  score: 1.9e-05
        '401':
          $ref: '#/components/responses/Unauthorized'
        '422':
          $ref: '#/components/responses/ValidationError'
        '429':
          $ref: '#/components/responses/RateLimited'
    servers:
    - url: https://www.curecancerwithai.com
      description: Production
components:
  schemas:
    RateLimitError:
      type: object
      properties:
        error:
          type: string
          example: Rate limit exceeded.
        resetAt:
          type: string
          format: date-time
    PpiRequest:
      type: object
      required:
      - protein_a
      - protein_b
      properties:
        protein_a:
          type: string
          description: Amino-acid sequence, single-letter codes (ACDEFGHIKLMNPQRSTVWY), no spaces or FASTA headers.
        protein_b:
          type: string
          description: Amino-acid sequence, single-letter codes.
    PpiResult:
      type: object
      properties:
        prediction:
          type: string
          example: <SENTINEL_ID_0><1><EOS>
        label:
          type: string
          enum:
          - '0'
          - '1'
          description: 1 = interacting, 0 = non-interacting.
    DtiResult:
      type: object
      properties:
        pKd:
          type: number
          description: −log10 Kd. Higher = stronger predicted binding.
          example: 5.4932751
    DtiRequest:
      type: object
      required:
      - target_seq
      - drug_seq
      properties:
        target_seq:
          type: string
          description: Target protein amino-acid sequence (single-letter codes).
        drug_seq:
          type: string
          description: Drug structure in SMILES notation.
        norm_y_mean:
          type: number
          description: Optional. Normalization mean override.
        norm_y_std:
          type: number
          description: Optional. Normalization standard-deviation override.
    ClintoxResult:
      type: object
      properties:
        pred:
          type: integer
          enum:
          - 0
          - 1
          description: 1 = toxic / likely to fail trials, 0 = not toxic.
        score:
          type: number
          description: Raw positive-class score.
          example: 1.9e-05
    ClintoxRequest:
      type: object
      required:
      - smiles
      properties:
        smiles:
          type: string
          description: Compound structure in SMILES notation.
    Error:
      type: object
      properties:
        error:
          type: string
      required:
      - error
  responses:
    ValidationError:
      description: Missing or invalid request body fields.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            error: protein_a is required.
    RateLimited:
      description: Rate limit exceeded (100 requests/hour per key). Includes a Retry-After header.
      headers:
        Retry-After:
          description: Seconds to wait before retrying.
          schema:
            type: integer
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/RateLimitError'
          example:
            error: Rate limit exceeded.
            resetAt: '2026-06-11T12:00:00.000Z'
    Unauthorized:
      description: Missing, invalid, or revoked API key.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            error: Invalid or revoked API key.
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: 'API key as a Bearer token: `Authorization: Bearer ccw_live_YOUR_KEY`. Get a free key at https://www.curecancerwithai.com/api-keys.'
    apiKeyHeader:
      type: apiKey
      in: header
      name: x-api-key
      description: API key in the `x-api-key` header (alternative to the Bearer token).
externalDocs:
  description: Developer documentation
  url: https://www.curecancerwithai.com/developers
x-refined-from:
- curecancerwithai-com-openapi.json
- curecancerwithai-com-openapi.yml