---
title: "B011 Medical Literature Search"
method: POST
path: "/synapse/paper/search"
tags: ["LS Search"]
---

# B011 Medical Literature Search

`POST /synapse/paper/search`

## Request

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

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

## Request body

- B011PaperSearchRequest
  - `offset` integer: Offset, default 0
  - `limit` integer: Limit, default 10. offset + limit <= 10000， limit up to 1,000.
  - `keyword` B011PaperSearchPaperSearchKeywordConditionValue
    - `condition` string: Logical operators, The value is an enum with the following values:AND,OR. Case-sensitive.
    - `value` unknown[]: Value List
      - unknown
  - `drug` B011PaperSearchPaperSearchDrugConditionValue
    - `condition` string: Logical operators, The value is an enum with the following values:AND,OR. Case-sensitive.
    - `value` unknown[]: Value List
      - unknown
  - `target` B011PaperSearchPaperSearchTargetConditionValue
    - `condition` string: Logical operators, The value is an enum with the following values:AND,OR. Case-sensitive.
    - `value` unknown[]: Value List
      - unknown
  - `disease` B011PaperSearchPaperSearchDiseaseConditionValue
    - `condition` string: Logical operators, The value is an enum with the following values:AND,OR. Case-sensitive.
    - `value` unknown[]: Value List
      - unknown
  - `organization` B011PaperSearchPaperSearchOrganizationConditionValue
    - `condition` string: Logical operators, The value is an enum with the following values:AND,OR. Case-sensitive.
    - `value` unknown[]: Value List
      - unknown
  - `drug_type` B011PaperSearchPaperSearchDrugTypeConditionValue
    - `condition` string: Logical operators, The value is an enum with the following values:AND,OR. Case-sensitive.
    - `value` unknown[]: Value List
      - unknown
  - `author` unknown[]: Author
    - unknown
  - `publication_year` B011PaperSearchPaperSearchPublicationYearLongRangeItem
    - `from` integer: from
    - `to` integer: to
  - `sort` B011PaperSearchPaperSearchSortDto[]: Sorting fields. The value is an enum with the following values: score, PUBLICATION_DATE. The default sorting is by Relevancy descending order. Referencing "PaperSearchSortDto"
    - `sort_field` string: sort field, enum values: score, PUBLICATION_DATE
    - `sort_order` string: sort order, support:desc,asc

## Response `200`

Successful b011 medical literature search response.

- B011PaperSearchResponse
  - `data` B011PaperSearchPaperSearchResponseDto
    - `items` B011PaperSearchPaperDetailDto[]: result items
      - `paper_id` string: Paper ID
      - `paper_title` B011PaperSearchPaperTitleDto[]: Paper Title
        - `lang` string: Paper Title Language
        - `title` string: Paper Title
    - `limit` integer: limit
    - `total` integer: total
    - `offset` integer: offset
  - `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)
