GET
/
medical-db
/
v1
/
sym-and-diag
Search Symptoms and Diagnoses
curl --request GET \
  --url https://api.dev.eka.care/medical-db/v1/sym-and-diag \
  --header 'Authorization: Bearer <token>'
{
  "symptoms": [
    {
      "id": "<string>",
      "name": "<string>",
      "common_name": "<string>"
    }
  ],
  "diagnoses": [
    {
      "id": "<string>",
      "name": "<string>",
      "common_name": "<string>",
      "icd10_code": "<string>",
      "icd10_name": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

Enter JWT token for authentication

Query Parameters

q
string
required

Search query string for symptoms or diagnoses

limit
integer
default:10

Maximum number of results to return

Required range: 1 <= x <= 100
s_type
enum<string>
default:all

Type of search to perform - symptom for symptoms only, diagnosis for diagnoses only, all for both

Available options:
symptom,
diagnosis

Response

200
application/json

OK

The response is of type object.