---
title: "B007 Drug search"
method: POST
path: "/synapse/drug/search"
tags: ["LS Search"]
---

# B007 Drug search

`POST /synapse/drug/search`

## Request

- Base URL: `https://connect.patsnap.com`
- URL: `https://connect.patsnap.com/synapse/drug/search`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/patsnap/apis/patsnap-open-platform-api/docs/synapse/drug/search/post.ts> (a function with typed inputs; its response is checked against the schema)

Obtain drugs through fields such as target, organization, disease, etc.

## Request body

- B007DrugSearchRequest
  - `offset` integer: Offset, default 0
  - `limit` integer: Limit, default 10. offset + limit <= 10000， limit up to 1,000.
  - `drug` B007DrugSearchDrugSearchDrugConditionValue
    - `condition` string: Logical operators, The value is an enum with the following values:AND,OR. Case-sensitive.
    - `value` unknown[]: Value List
      - unknown
  - `target` B007DrugSearchDrugSearchTargetConditionValue
    - `condition` string: Logical operators, The value is an enum with the following values:AND,OR. Case-sensitive.
    - `value` unknown[]: Value List
      - unknown
  - `disease` B007DrugSearchDrugSearchDiseaseConditionValue
    - `condition` string: Logical operators, The value is an enum with the following values:AND,OR. Case-sensitive.
    - `value` unknown[]: Value List
      - unknown
  - `organization` B007DrugSearchDrugSearchOrganizationConditionValue
    - `condition` string: Logical operators, The value is an enum with the following values:AND,OR. Case-sensitive.
    - `value` unknown[]: Value List
      - unknown
  - `mechanism_action` B007DrugSearchDrugSearchMechanismActionConditionValue
    - `condition` string: Logical operators, The value is an enum with the following values:AND,OR. Case-sensitive.
    - `value` unknown[]: Value List
      - unknown
  - `drug_type` B007DrugSearchDrugSearchDrugTypeConditionValue
    - `condition` string: Logical operators, The value is an enum with the following values:AND,OR. Case-sensitive.
    - `value` unknown[]: Value List
      - unknown
  - `global_highest_dev_status` unknown[]: Drug Highest Phase. The value is an enum with the following values: Discovery, Preclinical, IND, IND_Approval, Early_Phase_1, Phase_1, Phase_1_2, Phase_2, Phase_2_3, Phase_3, NDA_BLA, Approved, Clinical, Pending, Discontinued, Withdraw, Suspended, Unknown.
    - unknown
  - `exist_deal` boolean: Whether Drug Deal Exist
  - `dev_status` unknown[]: Phase(By Indication). The value is an enum with the following values: Discovery, Preclinical, IND, IND_Approval, Early_Phase_1, Phase_1, Phase_1_2, Phase_2, Phase_2_3, Phase_3, NDA_BLA, Approved, Clinical, Pending, Discontinued, Withdraw, Suspended, Unknown.
    - unknown
  - `country` unknown[]: Phase(By Indication). The value is an enum with the following values: US, EU, JP, CN, Other
    - unknown
  - `organization_type` unknown[]: Organization Type. The value is an enum with the following values: Company, University_Institution, Other
    - unknown
  - `employee_number` unknown[]: Employee Number. The value is an enum with the following values: LESS_THAN_10, BETWEEN_10_AND_100, BETWEEN_100_AND_500, GREATER_THAN_500
    - unknown
  - `start_up` boolean: Whether Start-Up Organization
  - `sort` B007DrugSearchDrugSearchSortDto[]: Field order, field can support: DRUG_TYPE_SORT, GLOBAL_HIGHEST_DEV_STATUS_RANK, FIRST_APPROVED_DATE; order can support:desc, asc (default desc)
    - `sort_field` string: sort field, enum values: DRUG_TYPE_SORT, GLOBAL_HIGHEST_DEV_STATUS_RANK, FIRST_APPROVED_DATE
    - `sort_order` string: sort order, support:desc,asc

## Response `200`

Successful b007 drug search response.

- B007DrugSearchResponse
  - `data` B007DrugSearchDrugSearchResponseDto
    - `items` B007DrugSearchDrugSummaryDto[]: result items
      - `drug_id` string: Drug ID
      - `drug_name` B007DrugSearchCommonName[]: Drug Name
        - `lang` string: Language
        - `name` string: Drug,Target,Organization,Disease,Country/Location,DICT,Mechanism Action Name
      - `drug_type` B007DrugSearchCommonDictionary[]: drug type view
        - `display_name` B007DrugSearchCommonName[]: Dict Name
          - `lang` string: Language
          - `name` string: Drug,Target,Organization,Disease,Country/Location,DICT,Mechanism Action Name
        - `normalized_id` string: Dict ID
    - `limit` integer: limit
    - `total` integer: total
    - `offset` integer: offset
    - `total_dev_status` integer: Involved Dev Status Count
  - `status` boolean, required: Status
  - `error_msg` string: Error Message
  - `error_code` integer, required: Error Code

## Other responses

- `201`: Created.
- `401`: Unauthorized.
- `403`: Forbidden.
- `404`: Not Found.

---

[API](https://skmtc.dev/patsnap/apis/patsnap-open-platform-api.md) - [All operations](https://skmtc.dev/patsnap/apis/patsnap-open-platform-api/llms.txt) - [OpenAPI document](https://skmtc.dev/patsnap/apis/patsnap-open-platform-api/revisions/c2264a0de595?raw)
