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.

Try it
Ready-made, maintained by usRecords, 13 fieldsv1.0

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

Query
Drug, gene or disease name to search for, as you would type it on the Open Targets site.
Example: insulin
Entityoptional
Which kind of entry to return: drug, target (gene), disease, or any for a mix.
Maximum recordsoptional
Most rows to return.
Example: 50

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
Endpoint
POSThttps://pullrow.dev/v1/apis/opentargets-drug-targets/run
  • Small runs answer in the same request; longer ones answer 202 with a run to poll.
  • fields returns only the fields you name. The examples send the ones picked on this page.
  • Idempotency-Key is optional. A retry with it is never charged twice.
  • You pay for records returned. Zero records cost zero.

Every run option, explained

Calling it needs a key
10,000 free records of this API to start. No card.
curl
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.

querytextrequired
Drug, gene or disease name to search for, as you would type it on the Open Targets site.
example: insulin
entitytext
Which kind of entry to return: drug, target (gene), disease, or any for a mix.
default: anyexample: anyone of: any, drug, target, disease
max_recordsnumber
Most rows to return.
default: 50example: 50

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

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 nameTypeShown on this page asFilled
idtextID (hidden)3 of 3
urllinkLink3 of 3
nametextName3 of 3
entitytextEntity3 of 3
descriptiontextDescription3 of 3
max_clinical_stagetextMaximum clinical stage2 of 3
mechanisms_of_actionlistMechanisms of action2 of 3
targetslistTargets2 of 3
indicationslistIndications1 of 3
indication_countnumberIndication count2 of 3
associated_diseaseslistAssociated diseases1 of 3
associated_targetslistAssociated targets0 of 3
association_scorenumberAssociation score1 of 3

How it reads the site

Runs on a reader we built and maintain by hand for this site.

Sample records

Sample records
RecordNameEntityDescriptionMaximum clinical stageMechanisms of actionTargetsIndicationsIndication countAssociated diseasesAssociated targetsAssociation scoreLink
1GLUCAGONdrugProtein drug with a maximum clinical stage of Approval (across all indications), with 7 approved and 12 investigational indications.APPROVALGlucagon receptor agonistGCGRdiabetes mellitus (APPROVAL), Hypoglycemia (APPROVAL), type 2 diabetes mellitus (PHASE_3), type 1 diabetes mellitus (PHASE_3)10———platform.opentargets.org/drug/CHEMBL5314341
2GCGtargetglucagon—————type 2 diabetes mellitus (0.134), obesity due to melanocortin 4 receptor deficiency (0.131), psoriasis (0.129), hypothyroidism (0.122)—0.134platform.opentargets.org/target/ENSG00000115263
3GLUCAGON HYDROCHLORIDEdrugProtein drug with a maximum clinical stage of Phase 3.PHASE_3Glucagon receptor agonistGCGR—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.
Known limits
  • 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.