LS Search
B007 Drug search
Obtain drugs through fields such as target, organization, disease, etc.
post/synapse/drug/search
Request
- Base URLhttps://connect.patsnap.com
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"limit": 10,
"drug": {
"condition": "OR",
"value": [
"945fa31ebe9e41ae912e493aa3324576"
]
},
"target": {
"condition": "OR",
"value": [
"9786d32e3d244a688ec6a60d2fe1b10b"
]
},
"disease": {
"condition": "OR",
"value": [
"3beea980d93a4cc0abc864e27514601c"
]
},
"organization": {
"condition": "OR",
"value": [
"6a8c172f1efc649035845f94c31a9c1e"
]
},
"mechanism_action": {
"condition": "OR",
"value": [
"4dd338b149b3ecd0ee860e1fb379b44f"
]
},
"drug_type": {
"condition": "OR",
"value": [
"c38eb408d6b842f487d6a27484156633"
]
},
"global_highest_dev_status": [
"Approved"
],
"exist_deal": true,
"dev_status": [
"Approved"
],
"country": [
"US",
"EU"
],
"organization_type": [
"Company"
],
"employee_number": [
"GREATER_THAN_500"
],
"sort": [
{
"sort_field": "DRUG_TYPE_SORT",
"sort_order": "desc"
},
{
"sort_field": "GLOBAL_HIGHEST_DEV_STATUS_RANK",
"sort_order": "desc"
},
{
"sort_field": "FIRST_APPROVED_DATE",
"sort_order": "desc"
}
]
}Response
Successful b007 drug search response.
Example response
{
"data": {
"items": [
{
"drug_id": "11d208e0c26a4345946d95f92d9fcaf0",
"drug_name": [
{
"lang": "CN",
"name": "阿达格拉西"
},
{
"lang": "EN",
"name": "Adagrasib"
}
],
"drug_type": [
{
"display_name": [
{
"lang": "EN",
"name": "Small molecule drug"
},
{
"lang": "CN",
"name": "小分子化药"
}
],
"normalized_id": "1151dbc710f64a85923dc05d4a5a0ba9"
}
]
}
],
"limit": 10
},
"error_msg": "The request parameter format is incorrect!"
}Changes
No recorded changes to this operation across all 1 revision of this API.