Drug Target Evidence API

Give a disease name and get its ranked gene targets from Open Targets, each with the association score, the drugs and clinical candidates that act on the target, and the furthest clinical stage reached. No GraphQL needed.

$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, 9 fieldsv1.0

Data from api.platform.opentargets.org/api/v4/graphql

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

Disease
Disease name, such as obesity or type 2 diabetes.
Example: obesity

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/open-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/open-targets/run" \
  -H "Authorization: Bearer $PULLROW_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"input":{"disease":"obesity"},"max_items":50}'

Inputs

Send them as input in the request body. Leave one out to use its default.

diseasetextrequired
Disease name, such as obesity or type 2 diabetes.
example: obesity

What's in each record

9 fields: 7 here, 2 technical ones under Technical details.

Basics

  • Disease name

    Name of that disease.

    Example obesity disorder

  • Target symbol

    Approved gene symbol, such as MC4R.

    Example MC4R

  • Target name

    Approved gene name.

    Example melanocortin 4 receptor

  • Association score

    Overall evidence score between 0 and 1; higher is stronger.

    Example 0.836219

  • Known drugs

    Names of drugs and clinical candidates that act on this target (any disease).

    Example BREMELANOTIDE, BREMELANOTIDE ACETATE

  • Drug count

    How many drugs and clinical candidates act on this target.

    Example 5

  • Maximum phase

    Furthest clinical stage any of them reached, such as APPROVAL or PHASE_2.

    Example APPROVAL

Technical detailsField names and types for developers, and the 2 fields hidden above

Hidden by default

These 2 fields come with each record too. They are internal codes, notes about how the record was read or a copy of what was searched for, so the lists above leave them out.

  • Target ID target_idEnsembl gene id of the target, such as ENSG00000166603.
  • Disease ID disease_idPlatform id of the disease the name resolved to, such as MONDO_0011122.

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
target_idtextTarget ID (hidden)3 of 3
disease_idtextDisease ID (hidden)3 of 3
disease_nametextDisease name3 of 3
target_symboltextTarget symbol3 of 3
target_nametextTarget name3 of 3
association_scorenumberAssociation score3 of 3
known_drugslistKnown drugs1 of 3
drug_countnumberDrug count3 of 3
max_phasetextMaximum phase1 of 3

How it reads the site

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

Sample records

Sample records
RecordDisease nameTarget symbolTarget nameAssociation scoreKnown drugsDrug countMaximum phase
1obesity disorderMC4Rmelanocortin 4 receptor0.836219BREMELANOTIDE, BREMELANOTIDE ACETATE, SETMELANOTIDE ACETATE, SETMELANOTIDE5APPROVAL
2obesity disorderGNASGNAS complex locus0.823574—0—
3obesity disorderPCSK1proprotein convertase subtilisin/kexin type 10.787427—0—

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
  • The disease name is resolved to the platform's best-matching disease (its id and name come back on every record); a name that matches nothing stops the run with a message.
  • Targets come ranked by overall association score, best first, 50 per request. At most 1,000 targets per run; common diseases have thousands of associated targets.
  • known_drugs lists the drugs and clinical candidates for the target in general, for any disease, not only the searched one; it holds at most 15 names and drug_count gives the full number. Many targets have none.
  • max_phase is the furthest stage any of those drugs reached (APPROVAL, PHASE_3, ... PRECLINICAL) and is empty when the target has no drug.
  • Requests are spaced half a second apart. The platform's data is released under CC0 and updated a few times a year.

Version history

A run uses the live version unless the request names another one with version.