ChEMBL Mechanism API

Mechanism of action information for approved drugs.

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/chembl-mechanism-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

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

OpenAPI Specification

chembl-mechanism-api-openapi.yml Raw ↑
openapi: 3.0.3
info:
  title: ChEMBL Data REST Activity Mechanism API
  description: ChEMBL is a manually curated database of bioactive molecules with drug-like properties, maintained by the EMBL-EBI. This REST API provides programmatic access to bioactive molecules, drug targets, bioactivity measurements, approved drugs, assay data, and clinical trial compound information. ChEMBL_37 contains over 2.9 million distinct compounds, 24.5 million activities, and 18,552 targets.
  version: ChEMBL_37
  contact:
    name: ChEMBL Team
    email: chembl-help@ebi.ac.uk
    url: https://www.ebi.ac.uk/chembl/
  license:
    name: Creative Commons Attribution-ShareAlike 3.0 Unported
    url: https://creativecommons.org/licenses/by-sa/3.0/
  termsOfService: https://www.ebi.ac.uk/about/terms-of-use/
  x-logo:
    url: https://www.ebi.ac.uk/chembl/static/chembl/img/chembl_logo.png
servers:
- url: https://www.ebi.ac.uk/chembl/api/data
  description: ChEMBL Production API Server
tags:
- name: Mechanism
  description: Mechanism of action information for approved drugs.
paths:
  /mechanism:
    get:
      tags:
      - Mechanism
      summary: List mechanisms of action
      description: Retrieve mechanism of action information for approved drugs, including target, action type, and selectivity.
      operationId: listMechanisms
      parameters:
      - $ref: '#/components/parameters/format'
      - $ref: '#/components/parameters/limit'
      - $ref: '#/components/parameters/offset'
      - name: molecule_chembl_id
        in: query
        description: Filter by molecule ChEMBL ID
        schema:
          type: string
      - name: target_chembl_id
        in: query
        description: Filter by target ChEMBL ID
        schema:
          type: string
      responses:
        '200':
          description: Paginated list of drug mechanisms
          content:
            application/json:
              schema:
                type: object
                properties:
                  meta:
                    $ref: '#/components/schemas/Meta'
                  mechanisms:
                    type: array
                    items:
                      $ref: '#/components/schemas/Mechanism'
components:
  parameters:
    offset:
      name: offset
      in: query
      description: Number of records to skip for pagination
      schema:
        type: integer
        default: 0
        minimum: 0
    format:
      name: format
      in: query
      description: Response format
      schema:
        type: string
        enum:
        - json
        - xml
        - yaml
        - jsonp
        default: json
    limit:
      name: limit
      in: query
      description: Number of records to return per page (default 20, max 1000)
      schema:
        type: integer
        default: 20
        maximum: 1000
        minimum: 1
  schemas:
    Meta:
      type: object
      description: Pagination metadata for list responses
      properties:
        limit:
          type: integer
          description: Number of records returned per page
        next:
          type: string
          nullable: true
          description: URL for the next page of results
        offset:
          type: integer
          description: Number of records skipped
        previous:
          type: string
          nullable: true
          description: URL for the previous page of results
        total_count:
          type: integer
          description: Total number of records matching the query
    Mechanism:
      type: object
      description: Mechanism of action for an approved drug
      properties:
        mec_id:
          type: integer
          description: Unique ID for the mechanism record
        action_type:
          type: string
          nullable: true
          description: Action type (e.g., INHIBITOR, AGONIST, ANTAGONIST, MODULATOR)
        binding_site_comment:
          type: string
          nullable: true
        direct_interaction:
          type: boolean
          nullable: true
          description: Indicates a direct interaction with the target
        disease_efficacy:
          type: boolean
          nullable: true
          description: Indicates the mechanism is responsible for clinical efficacy
        mechanism_comment:
          type: string
          nullable: true
        mechanism_of_action:
          type: string
          nullable: true
          description: Free-text description of the mechanism of action
        molecular_mechanism:
          type: boolean
          nullable: true
        molecule_chembl_id:
          type: string
          description: ChEMBL ID of the drug
        refs:
          type: array
          items:
            type: object
        selectivity_comment:
          type: string
          nullable: true
        site_id:
          type: integer
          nullable: true
        target_chembl_id:
          type: string
          nullable: true
          description: ChEMBL ID of the mechanism target
externalDocs:
  description: ChEMBL Web Services Documentation
  url: https://chembl.gitbook.io/chembl-interface-documentation/web-services/chembl-data-web-services