Open Targets Drug and Target Evidence
Search drugs, gene targets and diseases in Open Targets and get flat rows: a drug's clinical stage, mechanisms, targets and indications; a target's top associated diseases with scores; a disease's top associated targets.
$0.50 per 1,000 records
You pay only for the records you get. Zero records cost zero. 10,000 free records of this API to start (5,000 at the base price of $1 per 1,000), no card.
Data from platform.opentargets.org/api
Get this data
Try it here with a few records, download the sample, fill a Google Sheet, or call it from your own code.
Try it
Run it on this page, or call it from your code with the endpoint in the developer section. A free key covers 10,000 records of this API, no card. Create a free key
For developers: the API and MCPThe endpoint, code in curl, JavaScript and Python, every input, and files for your tools
- Small runs answer in the same request; longer ones answer
202with a run to poll. fieldsreturns only the fields you name. The examples send the ones picked on this page.Idempotency-Keyis optional. A retry with it is never charged twice.- You pay for records returned. Zero records cost zero.
curl -X POST "https://pullrow.dev/v1/apis/opentargets-drug-targets/run" \
-H "Authorization: Bearer $PULLROW_API_KEY" \
-H "Content-Type: application/json" \
-d '{"input":{"query":"insulin"},"max_items":50}'Inputs
Send them as input in the request body. Leave one out to use its default.
What's in each record
13 fields: 12 here, 1 technical one under Technical details.
Basics
- Name
Drug name, gene symbol or disease name.
Example GLUCAGON
- Entity
Kind of entry: drug, target or disease.
Example drug
- Description
Short description of the drug, gene (approved name) or disease.
Example Protein drug with a maximum clinical stage of Approval (across all indications), with 7 approved and 12 investigational…
- Maximum clinical stage
Drugs: highest clinical stage reached, such as APPROVAL or PHASE_3.
Example APPROVAL
- Mechanisms of action
Drugs: mechanisms of action, such as Glucagon-like peptide 1 receptor agonist.
Example Glucagon receptor agonist
- Targets
Drugs: gene symbols the drug acts on.
Example GCGR
- Indications
Drugs: diseases with the highest clinical stage, as 'disease (STAGE)'.
Example diabetes mellitus (APPROVAL), Hypoglycemia (APPROVAL)
- Indication count
Drugs: total number of indications.
Example 10
- Associated diseases
Targets: top associated diseases as 'disease (score)'.
Example type 2 diabetes mellitus (0.134), obesity due to melanocortin 4 receptor deficiency (0.131)
- Associated targets
Diseases: top associated gene symbols as 'symbol (score)'.
Example MEN1 (0.37), GCG (0.011)
- Association score
Targets and diseases: highest association score among the listed associations, 0 to 1.
Example 0.134
Links
- Link
Link to the entry on the Open Targets Platform.
Technical detailsField names and types for developers, and the 1 field hidden above
Hidden by default
This field comes with each record too. It is an internal code, a note about how the record was read or a copy of what was searched for, so the lists above leave it out.
- ID
idOpen Targets id: ChEMBL id for a drug, Ensembl id for a target, EFO/MONDO id for a disease.
Field names and types
The names your code reads in each record. "Filled" counts how many of the 3 sample records carry the field.
| Field name | Type | Shown on this page as | Filled |
|---|---|---|---|
id | text | ID (hidden) | 3 of 3 |
url | link | Link | 3 of 3 |
name | text | Name | 3 of 3 |
entity | text | Entity | 3 of 3 |
description | text | Description | 3 of 3 |
max_clinical_stage | text | Maximum clinical stage | 2 of 3 |
mechanisms_of_action | list | Mechanisms of action | 2 of 3 |
targets | list | Targets | 2 of 3 |
indications | list | Indications | 1 of 3 |
indication_count | number | Indication count | 2 of 3 |
associated_diseases | list | Associated diseases | 1 of 3 |
associated_targets | list | Associated targets | 0 of 3 |
association_score | number | Association score | 1 of 3 |
How it reads the site
Runs on a reader we built and maintain by hand for this site.
Save as pipeline
A pipeline remembers this API, your inputs and the fields you picked. It can run on a schedule and email you the results.
Sample records
| Record | Name | Entity | Description | Maximum clinical stage | Mechanisms of action | Targets | Indications | Indication count | Associated diseases | Associated targets | Association score | Link |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | GLUCAGON | drug | Protein drug with a maximum clinical stage of Approval (across all indications), with 7 approved and 12 investigational indications. | APPROVAL | Glucagon receptor agonist | GCGR | diabetes mellitus (APPROVAL), Hypoglycemia (APPROVAL), type 2 diabetes mellitus (PHASE_3), type 1 diabetes mellitus (PHASE_3) | 10 | — | — | — | platform.opentargets.org/drug/CHEMBL5314341 |
| 2 | GCG | target | glucagon | — | — | — | — | — | type 2 diabetes mellitus (0.134), obesity due to melanocortin 4 receptor deficiency (0.131), psoriasis (0.129), hypothyroidism (0.122) | — | 0.134 | platform.opentargets.org/target/ENSG00000115263 |
| 3 | GLUCAGON HYDROCHLORIDE | drug | Protein drug with a maximum clinical stage of Phase 3. | PHASE_3 | Glucagon receptor agonist | GCGR | — | 0 | — | — | — | platform.opentargets.org/drug/CHEMBL5314342 |
Sample records from the example output this API publishes. Email addresses and phone numbers in them are masked. Hover over a column name to see the field name your code reads.
Reliability
Counted from real runs. Our own health checks are left out. A run succeeded when it finished and the site neither blocked it nor broke it.
Incidents and repairs
How it is kept working What a repair can't do
A ready-made API, maintained by us. It is not part of the daily check or the automatic rebuild yet.
- You pay only for records returned. A run that returns none costs nothing.
- Data comes from the Open Targets Platform, released under CC0 (public domain). Open Targets does not endorse this API.
- One search returns at most 1,000 matches (50 pages of 20); a broad word such as insulin matches thousands of entries, so narrow the query or choose one entity.
- Lists are capped: up to 25 indications per drug and the 10 highest-scoring associated diseases or targets per row, with the full count in indication_count.
- Fields apply to one kind of row each: clinical stage, mechanisms, targets and indications for drugs; associated_diseases for targets; associated_targets for diseases; association_score is the top score of the row's associations (0 to 1). The rest are empty.
- Open Targets publishes a new data release a few times a year; no request limit is published, so this API keeps a gentle pace of about 3 requests a second.
Version history
A run uses the live version unless the request names another one with version.
Manage this API
Only your workspace sees this part.
Automatic repair
Off: a rebuilt version is stored and waits for you in the version history.
Delete this API
Removes the API, its versions and the saved records of its runs. Calls to its address then answer 404. Records already charged stay charged. This cannot be undone.