Drugs
GET Drugs
- / drugs
This endpoint returns a list of all the drugs in the DDPred database
Response
curl -X GET -H 'Authorization: Bearer <access_token>
'
https://api.ddpred.com/drugs/
[
{
"id": "string",
"name": "string",
"type": "string",
"genotype": "string",
"therapeutic_area": "string",
"remarks": [{"type": "number", "text": "string"}]
},
...
]
GET Substrates
- / drugs
- substrates
This endpoint returns a list of all the substrates in the DDPred database
Parameters QUERY
substratesOnly (optional) |
boolean |
(Defaults to true) If false, also returns substrates for which:
- CYP metabolism is a minor pathway for the elimination of this drug. No relevant
interaction with CYP inhibitors or inducers is expected. (type:
not_substrate_1)
- Glucuronidation is a major pathway for the elimination of this drug. No relevant
interaction with CYP inhibitors is expected. Some inducers (e.g. rifampicin) may lower
its exposure. (type: not_substrate_2)
|
Response
curl -X GET -H 'Authorization: Bearer <access_token>
'
https://api.ddpred.com/drugs/substrates
[
{
"id": "string",
"name": "string",
"type": "string",
"genotype": "string",
"therapeutic_area": "string",
"remarks": [{"type": "number", "text": "string"}]
},
...
]
GET Interactors
- / drugs
- interactors
This endpoint returns a list of all the interactors in the DDPred database
Response
curl -X GET -H 'Authorization: Bearer <access_token>
'
https://api.ddpred.com/drugs/interactors
[
{
"id": "string",
"name": "string",
"type": "string",
"genotype": "string",
"therapeutic_area": "string",
"remarks": [{"type": "number", "text": "string"}]
},
...
]
GET Inducers
- / drugs
- inducers
This endpoint returns a list of all the inducers in the DDPred database
Parameters QUERY
cyp* |
string |
CYP for which drugs should be inducers. Possible choices:
- cyp3A4
- cyp2D6
- cyp2C9
- cyp2C19
- cyp1A2
|
Response
curl -X GET -H 'Authorization: Bearer <access_token>
'
https://api.ddpred.com/drugs/inducers?cyp=cyp2C9
[
{
"id": "string",
"name": "string",
"type": "string",
"therapeutic_area": "string",
"remarks": [{"type": "number", "text": "string"}]
},
...
]
GET Inhibitors
- / drugs
- inhibitors
This endpoint returns a list of all the inhibitors in the DDPred database
Parameters QUERY
cyp* |
string |
CYP for which drugs should be inhibitors. Possible choices:
- cyp3A4
- cyp2D6
- cyp2C9
- cyp2C19
- cyp1A2
|
Response
curl -X GET -H 'Authorization: Bearer <access_token>
'
https://api.ddpred.com/drugs/inhibitors?cyp=cyp3A4
[
{
"id": "string",
"name": "string",
"type": "string",
"therapeutic_area": "string",
"remarks": [{"type": "number", "text": "string"}]
},
...
]
GET Drug info
- / drugs
- :id / info
This endpoint returns all the information of a specific drug in the DDPred database
Parameters PARAM
id* |
string |
The hexadecimal string id of the drug in the database |
Response
curl -X GET -H 'Authorization: Bearer <access_token>
'
https://api.ddpred.com/drugs/5ee79a2b869b3aba2a31468f
/info
[
{
"id": "string",
"name": "string",
"type": "string",
"therapeutic_area": "string",
"remarks": [{"type": "number", "text": "string"}],
"genotype": "string",
"cyp3A4": "number",
"cyp2D6": "number",
"cyp2C9": "number",
"cyp2C19": "number",
"cyp1A2": "number"
},
...
]
Predictor
POST DDI
- / predictor
- ddi
This endpoint computes the impact of drug-drug interactions on drug exposure.
Parameters BODY
MIME type of parameters can either be x-www-for-urlencoded or application/json
substrate* |
string |
The name of the substrate |
interactor* |
string |
The name of the interactor |
age (optional) |
integer |
The age in months of patients under 24 months (included). Patient will be considered adult if
not specified.
|
Response
curl -X POST -H 'Authorization: Bearer <access_token>
'
https://api.ddpred.com/predictor/ddi -d "substrate=Alprazolam
&interactor=Aprepitant
80 mg/d
"
{
"ratios": [
{
"name": "EM*/EM",
"nameHtml": "AUCEM*/AUCEM",
"results": [
{
"aucRatio": "string",
"distribution": {
"perc5": "string",
"perc95": "string"
},
"adverseEvents"?: [
{
"preferredTerm": string,
"oddsRatio": string,
"frequency": string,
"modifiedOddsRatio": string,
"modifiedFrequency": string,
"references": [{"text": string, "link": string}]
}
]
}
]
}
],
"remarks": {"<substrate | interactor>": [{"type": "number", "text": "string"}]}
}
POST Polymorphism
- / predictor
- polymorphism
This endpoint computes the impact of CYP polymorphism on drug exposure.
Parameters BODY
substrate* |
string |
The name of the substrate |
age (optional) |
integer |
The age in months of patients under 24 months (included). Patient will be considered adult if
not specified.
|
genotype (optional) |
string |
The genotype fo which to compute the ratio. If not specified, all genotypes will be
considered.
|
Response
curl -X POST -H 'Authorization: Bearer <access_token>
'
https://api.ddpred.com/predictor/polymorphism -d "substrate=Nebivolol
"
{
"ratios": [
{
"name": "XM/EM",
"nameHtml": "AUCXM/AUCEM",
"results": [
{
"cyp": "string",
"genotype": "string",
"phenotype": "string",
"aucRatio": "string",
"distribution": {
"perc5": "string",
"perc95": "string"
},
"adverseEvents"?: [
{
"preferredTerm": string,
"oddsRatio": string,
"frequency": string,
"modifiedOddsRatio": string,
"modifiedFrequency": string,
"references": [{"text": string, "link": string}]
}
]
},
...
]
}
],
"remarks": {"<substrate | interactor>": [{"type": "number", "text": "string"}]}
}
POST Cirrhosis
- / predictor
- cirrhosis
This endpoint computes the impact of cirrhosis on drug exposure.
Parameters BODY
substrate* |
string |
The name of the substrate |
route* |
string |
The route of administration (Oral | IV) |
Response
curl -X POST -H 'Authorization: Bearer <access_token>
'
https://api.ddpred.com/predictor/cirrhosis -d "substrate=Midazolam
&route=Oral
"
{
"ratios": [
{
"name": "CuCIR/Cu",
"nameHtml": "AUCuCIR/AUCu",
"results": [
{
"childPugh": "A",
"aucRatio": "string",
"distribution": {
"perc5": "string",
"perc95": "string"
}
},
{
"childPugh": "B",
"aucRatio": "string",
"distribution": {
"perc5": "string",
"perc95": "string"
}
},
{
"childPugh": "C",
"aucRatio": "string",
"distribution": {
"perc5": "string",
"perc95": "string"
}
}
]
},
{
"name": "CuCIR/Cu.Rfu",
"nameHtml": "AUCCIR/AUC",
"results": [
{
"childPugh": "A",
"aucRatio": "string",
"distribution": {
"perc5": "string",
"perc95": "string"
},
"adverseEvents"?: [
{
"preferredTerm": string,
"oddsRatio": string,
"frequency": string,
"modifiedOddsRatio": string,
"modifiedFrequency": string,
"references": [{"text": string, "link": string}]
}
]
},
{
"childPugh": "B",
"aucRatio": "string",
"distribution": {
"perc5": "string",
"perc95": "string"
},
"adverseEvents"?: [
{
"preferredTerm": string,
"oddsRatio": string,
"frequency": string,
"modifiedOddsRatio": string,
"modifiedFrequency": string,
"references": [{"text": string, "link": string}]
}
]
},
{
"childPugh": "C",
"aucRatio": "string",
"distribution": {
"perc5": "string",
"perc95": "string"
},
"adverseEvents"?: [
{
"preferredTerm": string,
"oddsRatio": string,
"frequency": string,
"modifiedOddsRatio": string,
"modifiedFrequency": string,
"references": [{"text": string, "link": string}]
}
]
}
]
}
],
"remarks": {"<substrate | interactor>": [{"type": "number", "text": "string"}]}
}
POST DDI-Polymorphism
- / predictor
- ddi-polymorphism
This endpoint computes the combined impact of drug-drug interaction and CYP polymorphism.
Parameters BODY
substrate* |
string |
The name of the substrate |
interactor* |
string |
The name of the interactor |
age (optional) |
integer |
The age in months of patients under 24 months (included). Patient will be considered adult if
not specified.
|
genotype (optional) |
string |
The genotype fo which to compute the ratio. If not specified, all genotypes will be
considered.
|
Response
curl -X POST -H 'Authorization: Bearer <access_token>
'
https://api.ddpred.com/predictor/ddi-polymorphism -d
"substrate=Alprazolam
&interactor=Carbamazepine 200-600
mg/d
&age=14
&genotype=cyp2c19*17*17
"
{
"ratios": [
{
"name": "XM*/XM",
"nameHtml": "AUCXM*/AUCXM",
"results": [
"cyp": "string",
"genotype": "string",
"phenotype": "string",
"aucRatio": "string",
"distribution": {
"perc5": "string",
"perc95": "string"
},
"adverseEvents"?: [
{
"preferredTerm": string,
"oddsRatio": string,
"frequency": string,
"modifiedOddsRatio": string,
"modifiedFrequency": string,
"references": [{"text": string, "link": string}]
}
]
}
]
},
{
"name": "XM*/EM",
"nameHtml": "AUCXM*/AUCEM",
"results": [
{
"cyp": "string",
"genotype": "string",
"phenotype": "string",
"aucRatio": "string",
"distribution": {
"perc5": "string",
"perc95": "string"
},
"adverseEvents"?: [
{
"preferredTerm": string,
"oddsRatio": string,
"frequency": string,
"modifiedOddsRatio": string,
"modifiedFrequency": string,
"references": [{"text": string, "link": string}]
}
]
}
]
}
],
"remarks": {"<substrate | interactor>": [{"type": "number", "text": "string"}]}
}
POST DDI-Cirrhosis
- / predictor
- ddi-cirrhosis
This endpoint computes the combined impact of drug-drug interaction and cirrhosis.
Parameters BODY
substrate* |
string |
The name of the substrate |
interactor* |
string |
The name of the interactor |
Response
curl -X POST -H 'Authorization: Bearer <access_token>
'
https://api.ddpred.com/predictor/ddi-cirrhosis -d "substrate=Alprazolam
&interactor=Carbamazepine
200-600 mg/d
"
{
"ratios": [
{
"name": "CuCIR*/Cu",
"nameHtml": "AUCuCIR*/AUCu",
"results": [
{
"childPugh": "A",
"aucRatio": "string",
"distribution": {
"perc5": "string",
"perc95": "string"
},
"adverseEvents"?: [
{
"preferredTerm": string,
"oddsRatio": string,
"frequency": string,
"modifiedOddsRatio": string,
"modifiedFrequency": string,
"references": [{"text": string, "link": string}]
}
]
},
{
"childPugh": "B",
"aucRatio": "string",
"distribution": {
"perc5": "string",
"perc95": "string"
},
"adverseEvents"?: [
{
"preferredTerm": string,
"oddsRatio": string,
"frequency": string,
"modifiedOddsRatio": string,
"modifiedFrequency": string,
"references": [{"text": string, "link": string}]
}
]
},
{
"childPugh": "C",
"aucRatio": "string",
"distribution": {
"perc5": "string",
"perc95": "string"
},
"adverseEvents"?: [
{
"preferredTerm": string,
"oddsRatio": string,
"frequency": string,
"modifiedOddsRatio": string,
"modifiedFrequency": string,
"references": [{"text": string, "link": string}]
}
]
}
]
},
{
"name": "CuCIR*/CuCIR",
"nameHtml": "AUCuCIR*/AUCuCIR",
"results": [
{
"childPugh": "A",
"aucRatio": "string",
"distribution": {
"perc5": "string",
"perc95": "string"
},
"adverseEvents"?: [
{
"preferredTerm": string,
"oddsRatio": string,
"frequency": string,
"modifiedOddsRatio": string,
"modifiedFrequency": string,
"references": [{"text": string, "link": string}]
}
]
},
{
"childPugh": "B",
"aucRatio": "string",
"distribution": {
"perc5": "string",
"perc95": "string"
},
"adverseEvents"?: [
{
"preferredTerm": string,
"oddsRatio": string,
"frequency": string,
"modifiedOddsRatio": string,
"modifiedFrequency": string,
"references": [{"text": string, "link": string}]
}
]
},
{
"childPugh": "C",
"aucRatio": "string",
"distribution": {
"perc5": "string",
"perc95": "string"
},
"adverseEvents"?: [
{
"preferredTerm": string,
"oddsRatio": string,
"frequency": string,
"modifiedOddsRatio": string,
"modifiedFrequency": string,
"references": [{"text": string, "link": string}]
}
]
}
]
}
],
"remarks": {"<substrate | interactor>": [{"type": "number", "text": "string"}]}
}