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.
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/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.
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 name | Type | Shown on this page as | Filled |
|---|---|---|---|
target_id | text | Target ID (hidden) | 3 of 3 |
disease_id | text | Disease ID (hidden) | 3 of 3 |
disease_name | text | Disease name | 3 of 3 |
target_symbol | text | Target symbol | 3 of 3 |
target_name | text | Target name | 3 of 3 |
association_score | number | Association score | 3 of 3 |
known_drugs | list | Known drugs | 1 of 3 |
drug_count | number | Drug count | 3 of 3 |
max_phase | text | Maximum phase | 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 | Disease name | Target symbol | Target name | Association score | Known drugs | Drug count | Maximum phase |
|---|---|---|---|---|---|---|---|
| 1 | obesity disorder | MC4R | melanocortin 4 receptor | 0.836219 | BREMELANOTIDE, BREMELANOTIDE ACETATE, SETMELANOTIDE ACETATE, SETMELANOTIDE | 5 | APPROVAL |
| 2 | obesity disorder | GNAS | GNAS complex locus | 0.823574 | — | 0 | — |
| 3 | obesity disorder | PCSK1 | proprotein convertase subtilisin/kexin type 1 | 0.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.
- 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.
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.