ChEMBL Bioactivity and Compounds Data Scraper avatar

ChEMBL Bioactivity and Compounds Data Scraper

Pricing

from $3.50 / 1,000 chembl bioactivity records

Go to Apify Store
ChEMBL Bioactivity and Compounds Data Scraper

ChEMBL Bioactivity and Compounds Data Scraper

Fetch ChEMBL bioactivity measurements and compound records from the public EMBL-EBI ChEMBL REST API as structured JSON rows. Rows stay under CC BY-SA 3.0 with EMBL-EBI attribution. Not affiliated with EMBL-EBI.

Pricing

from $3.50 / 1,000 chembl bioactivity records

Rating

0.0

(0)

Developer

PlainKit bin

PlainKit bin

Maintained by Community

Actor stats

0

Bookmarked

1

Total users

0

Monthly active users

a day ago

Last modified

Features

Limited permissions

Share

Introduction

Medicinal chemists, bioinformatics teams, biotech analysts and data engineers who need ChEMBL data as clean rows can run this Actor instead of writing their own client. It reads the public ChEMBL REST API of EMBL-EBI and returns one JSON row per record in one of two modes:

  • activity: bioactivity measurements (for example IC50 or Ki values) of one biological target or one compound, with compound ID, target name and organism, assay ID, relation, value, units, pChEMBL value, canonical SMILES and source document.
  • molecule: compound records found by a name fragment or a ChEMBL ID, with preferred name and canonical SMILES.

Typical uses:

  • Collect the measured IC50 values of a target to build a training set for a screening model.
  • Look up all bioactivities recorded for one compound before you plan an experiment.
  • Find compounds by name and get their ChEMBL IDs and SMILES for joins with your own tables.
  • Give an AI agent a tool that answers questions about compounds and targets with sourced rows.

One run returns up to the row limit you set, at most 500 rows. The Actor reads compound and target facts only; it outputs no personal data.

This Actor is not affiliated with EMBL-EBI. It calls the public ChEMBL REST API (https://www.ebi.ac.uk/chembl/api/data/) and shows what that service returns on the day of the run.

Data licence and attribution

The ChEMBL data is made available by EMBL-EBI under the Creative Commons Attribution-ShareAlike 3.0 (CC BY-SA 3.0) licence, and EMBL-EBI expects attribution when you use it in publications, services or products. Every output row carries license = CC BY-SA 3.0 and attribution = EMBL-EBI ChEMBL Database. Output rows stay under CC BY-SA 3.0: if you share or publish them or data derived from them, keep the attribution and share them under the same licence. Please also cite ChEMBL as described in the ChEMBL documentation.

Input and output examples

Example input

{
"resource": "activity",
"target_chembl_id": "CHEMBL2095173",
"max_items": 5
}

Example output

{
"record_id": "activity:185453",
"resource": "activity",
"molecule_chembl_id": "CHEMBL54932",
"molecule_pref_name": "",
"target_chembl_id": "CHEMBL2095173",
"target_pref_name": "Potassium-transporting ATPase",
"target_organism": "Homo sapiens",
"assay_chembl_id": "CHEMBL690673",
"standard_type": "IC50",
"standard_relation": "=",
"standard_value": 98000.0,
"standard_units": "nM",
"pchembl_value": 4.01,
"canonical_smiles": "COc1c(C)cnc(CCC2(C)Nc3ccccc3S2)c1C",
"document_chembl_id": "CHEMBL1130895",
"source_url": "https://www.ebi.ac.uk/chembl/api/data/activity/185453.json",
"license": "CC BY-SA 3.0",
"attribution": "EMBL-EBI ChEMBL Database"
}

Text fields the API does not return are empty strings; numbers it does not return are null. In molecule mode the target, assay, document and measurement text fields are empty strings and the numeric measurement fields are null.

Pricing

The price is $0.005 per delivered record on the FREE tier of Apify Pay-Per-Event (event name: chembl-bioactivity-record).

  • FREE: $0.005 per row
  • BRONZE: $0.0045 per row
  • SILVER: $0.004 per row
  • GOLD: $0.0035 per row
  • PLATINUM: $0.0035 per row
  • DIAMOND: $0.003 per row

Each row is pushed to the dataset first and charged right after the push. If a charge is refused, the run stops; that row stays delivered and uncharged. If the spending limit is reached, the run stops after the row that was charged. Failed requests push nothing and charge nothing. If the platform restarts a run, rows already in the dataset are recognised by their record_id and are never pushed or charged twice; the run also keeps a STATUS record in the key-value store with its progress.

Tutorial

  1. Open the Actor and leave the prefilled input, or enter a target ID such as CHEMBL2095173 (activity mode) or a name fragment such as aspirin (molecule mode).
  2. Optionally set standard_type (for example IC50 or Ki) to keep one kind of measurement.
  3. Set max_items to the number of rows you want. Start with 5 to see the shape of the data.
  4. Start the run and open the dataset. Export it as JSON, CSV or Excel, or read it through the Apify API.

The Actor asks the API for pages of up to 100 records in a fixed order and stops at the row limit or at the last page. If the API fails after bounded retries, the run fails with a clear message and charges nothing for undelivered rows.

Actor recommendations

Use molecule_chembl_id and target_chembl_id as keys when you join these rows with your own tables. Run the Actor on a schedule for a target you follow to pick up newly recorded measurements. For other public datasets, see the other data Actors of the same publisher.

FAQ and support

Which records are returned? In activity mode, bioactivity records of the target or compound you name (and of one standard type if you set it). In molecule mode, compounds whose preferred name contains your text, or the one compound with your ID.

Why does activity mode need a target or a compound ID? So that one run cannot walk the whole database. Molecule mode needs a name fragment or an ID for the same reason.

How current is the data? The API answers with the state of the ChEMBL release it serves at the time of the request.

Is the data guaranteed to be correct? No. EMBL-EBI provides ChEMBL as is, without a guarantee of accuracy or fitness for a purpose; check important values at the source URL in each row.

Support. Open an issue on the Actor page with your input and the run link.

Configuration

FieldTypeDescriptionDefault
resourceStringactivity or molecule.activity
target_chembl_idStringTarget ChEMBL ID, for example CHEMBL2095173.""
molecule_chembl_idStringCompound ChEMBL ID, for example CHEMBL25.""
queryStringMolecule mode: text in the preferred compound name.""
standard_typeStringActivity mode: measurement type such as IC50 or Ki.""
max_itemsInteger (1-500)Maximum number of rows.25

Activity mode needs target_chembl_id or molecule_chembl_id; molecule mode needs query or molecule_chembl_id.

Use as an MCP Tool (AI Agents)

AI agents and MCP clients (such as Claude Desktop or Cursor) can invoke plainkitbin/chembl-bioactivity-compounds directly via @apify/actors-mcp-server over stdio:

$APIFY_TOKEN=<YOUR_APIFY_TOKEN> npx -y @apify/actors-mcp-server --actors plainkitbin/chembl-bioactivity-compounds

Hosted (Streamable HTTP): connect to https://mcp.apify.com?tools=plainkitbin/chembl-bioactivity-compounds using OAuth or the header Authorization: Bearer <YOUR_APIFY_TOKEN>.

Example MCP client configuration (mcpServers):

{
"mcpServers": {
"chembl-bioactivity-compounds": {
"command": "npx",
"args": [
"-y",
"@apify/actors-mcp-server",
"--actors",
"plainkitbin/chembl-bioactivity-compounds"
],
"env": {
"APIFY_TOKEN": "<YOUR_APIFY_TOKEN>"
}
}
}
}

Example JSON tool call matching .actor/input_schema.json:

{
"resource": "activity",
"target_chembl_id": "CHEMBL2095173",
"max_items": 5
}

Catalog and registry: browse all Actors at PlainKitBin or discover the multi-Actor server com.plainkitbin/public-data-actors in the MCP Registry.