---
title: "B050 Disease ID search"
method: POST
path: "/synapse/disease/autocomplete"
tags: ["Biopharmaceutical Dictionary Data"]
---

# B050 Disease ID search

`POST /synapse/disease/autocomplete`

## Request

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

Input the disease name and get the disease ID

## Request body

- B050DiseaseAutocompleteRequest
  - `limit` integer, required: limit
  - `prefix` string, required: keywords

## Response `200`

Successful b050 disease id search response.

- B050DiseaseAutocompleteResponse
  - `data` B050DiseaseAutocompleteDiseaseAutocompleteResponseDto[]: response data
    - `id` string: ID
    - `display_name` B050DiseaseAutocompleteCommonName[]: Name
      - `lang` string: Language
      - `name` string: Drug,Target,Organization,Disease,Country/Location,DICT,Mechanism Action Name
  - `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)
