ChEMBL Activity API

Activity values recorded in assays, linking molecules to targets with quantitative bioactivity measurements.

Operations 3

GET /activity List activities #
GET /activity/{activity_id} Get activity by ID #
GET /activity/search Search activities #

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-activity-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 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

chembl-activity-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: ChEMBL Data REST Activity 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: Activity
  description: Activity values recorded in assays, linking molecules to targets with quantitative bioactivity measurements.
paths:
  /activity:
    get:
      tags:
      - Activity
      summary: List activities
      description: Retrieve a paginated list of activity records. Activities link molecules to targets with quantitative bioactivity measurements (IC50, Ki, EC50, etc.).
      operationId: listActivities
      parameters:
      - $ref: '#/components/parameters/format'
      - $ref: '#/components/parameters/limit'
      - $ref: '#/components/parameters/offset'
      - name: molecule_chembl_id
        in: query
        description: Filter by ChEMBL ID of the compound
        schema:
          type: string
          example: CHEMBL25
      - name: target_chembl_id
        in: query
        description: Filter by ChEMBL ID of the target
        schema:
          type: string
          example: CHEMBL301
      - name: assay_chembl_id
        in: query
        description: Filter by ChEMBL ID of the assay
        schema:
          type: string
      - name: standard_type
        in: query
        description: Filter by activity type (e.g., IC50, Ki, EC50, Kd)
        schema:
          type: string
          example: IC50
      - name: standard_value__lte
        in: query
        description: Filter by standard value less than or equal to
        schema:
          type: number
      - name: standard_value__gte
        in: query
        description: Filter by standard value greater than or equal to
        schema:
          type: number
      - name: assay_type
        in: query
        description: Filter by assay type (B=Binding, F=Functional, A=ADME, T=Toxicity, P=Physicochemical, U=Unclassified)
        schema:
          type: string
          enum:
          - B
          - F
          - A
          - T
          - P
          - U
      responses:
        '200':
          description: Successful response with paginated list of activities
          content:
            application/json:
              schema:
                type: object
                properties:
                  meta:
                    $ref: '#/components/schemas/Meta'
                  activities:
                    type: array
                    items:
                      $ref: '#/components/schemas/Activity'
        '400':
          $ref: '#/components/responses/BadRequest'
        '404':
          $ref: '#/components/responses/NotFound'
  /activity/{activity_id}:
    get:
      tags:
      - Activity
      summary: Get activity by ID
      description: Retrieve a single activity record by its unique activity ID.
      operationId: getActivity
      parameters:
      - name: activity_id
        in: path
        required: true
        description: Unique numeric activity ID
        schema:
          type: integer
          example: 31863
      - $ref: '#/components/parameters/format'
      responses:
        '200':
          description: Activity record
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Activity'
        '404':
          $ref: '#/components/responses/NotFound'
  /activity/search:
    get:
      tags:
      - Activity
      summary: Search activities
      description: Full-text search for activities using query string.
      operationId: searchActivities
      parameters:
      - name: q
        in: query
        required: true
        description: Search query string
        schema:
          type: string
      - $ref: '#/components/parameters/format'
      - $ref: '#/components/parameters/limit'
      - $ref: '#/components/parameters/offset'
      responses:
        '200':
          description: Search results
          content:
            application/json:
              schema:
                type: object
                properties:
                  meta:
                    $ref: '#/components/schemas/Meta'
                  activities:
                    type: array
                    items:
                      $ref: '#/components/schemas/Activity'
components:
  parameters:
    offset:
      name: offset
      in: query
      description: Number of records to skip for pagination
      schema:
        type: integer
        default: 0
        minimum: 0
    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
    format:
      name: format
      in: query
      description: Response format
      schema:
        type: string
        enum:
        - json
        - xml
        - yaml
        - jsonp
        default: json
  responses:
    BadRequest:
      description: Bad request - invalid query parameters
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    NotFound:
      description: Resource not found
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  schemas:
    Error:
      type: object
      properties:
        error_message:
          type: string
        status:
          type: string
    Activity:
      type: object
      description: A bioactivity measurement linking a compound to a target through an assay
      properties:
        activity_id:
          type: integer
          description: Unique ID for the activity record
        assay_chembl_id:
          type: string
          description: ChEMBL ID of the assay
        assay_description:
          type: string
          description: Description of the assay
        assay_type:
          type: string
          description: Assay type code (B=Binding, F=Functional, A=ADME, T=Toxicity, P=Physicochemical, U=Unclassified)
        bao_endpoint:
          type: string
          description: BioAssay Ontology (BAO) endpoint term ID
        bao_format:
          type: string
          description: BioAssay Ontology (BAO) format term ID
        bao_label:
          type: string
          description: Human-readable BAO endpoint label
        canonical_smiles:
          type: string
          description: Canonical SMILES representation of the compound
        data_validity_comment:
          type:
          - string
          - 'null'
          description: Comment on data validity/quality
        document_chembl_id:
          type: string
          description: ChEMBL ID of the source document
        document_journal:
          type: string
          description: Journal of the source publication
        document_year:
          type:
          - integer
          - 'null'
          description: Year of the source publication
        molecule_chembl_id:
          type: string
          description: ChEMBL ID of the tested compound
        pchembl_value:
          type:
          - number
          - 'null'
          description: Negative log10 of the molar activity value (-log10 of standard value in M)
        relation:
          type:
          - string
          - 'null'
          description: Relationship qualifier for the activity value (=, >, <, >=, <=, ~)
        standard_flag:
          type:
          - boolean
          - 'null'
          description: Whether the activity was standardized
        standard_relation:
          type:
          - string
          - 'null'
          description: Standardized relationship qualifier
        standard_text_value:
          type:
          - string
          - 'null'
          description: Standardized text value for non-numeric activities
        standard_type:
          type:
          - string
          - 'null'
          description: Standardized activity type (e.g., IC50, Ki, EC50, Kd)
        standard_units:
          type:
          - string
          - 'null'
          description: Standardized units of the activity measurement
        standard_value:
          type:
          - number
          - 'null'
          description: Standardized numeric activity value
        target_chembl_id:
          type: string
          description: ChEMBL ID of the biological target
        target_organism:
          type:
          - string
          - 'null'
          description: Organism of the biological target
        target_pref_name:
          type:
          - string
          - 'null'
          description: Preferred name of the biological target
        target_tax_id:
          type:
          - string
          - 'null'
          description: NCBI taxonomy ID of the target organism
        type:
          type:
          - string
          - 'null'
          description: Original activity type as reported in the source document
        units:
          type:
          - string
          - 'null'
          description: Original units as reported in the source document
        value:
          type:
          - string
          - 'null'
          description: Original numeric or text value as reported in the source document
    Meta:
      type: object
      description: Pagination metadata for list responses
      properties:
        limit:
          type: integer
          description: Number of records returned per page
        next:
          type:
          - string
          - 'null'
          description: URL for the next page of results
        offset:
          type: integer
          description: Number of records skipped
        previous:
          type:
          - string
          - 'null'
          description: URL for the previous page of results
        total_count:
          type: integer
          description: Total number of records matching the query
externalDocs:
  description: ChEMBL Web Services Documentation
  url: https://chembl.gitbook.io/chembl-interface-documentation/web-services/chembl-data-web-services