---
title: "Search Drugs and Laboratory Tests"
method: GET
path: "/medical-db/v1/drugs-and-labs"
tags: ["drugs", "labs"]
---

# Search Drugs and Laboratory Tests

`GET /medical-db/v1/drugs-and-labs`

This endpoint returns comprehensive information about pharmaceutical drugs and laboratory tests from the Eka medical database based on search query.

The API provides detailed drug information including manufacturer details, dosage information, generic names etc

## Query parameters

- `q` string, required — Search query string for drugs or lab tests
- `limit` integer
- `s_type` 'drug' | 'lab' — Type of search to perform - drug/medicine for pharmaceutical products, lab for laboratory tests

## Response `200`

OK

- SearchResponseA9993e3
  - `drugs` DrugB6c8896[], required — Array of drug objects matching the search criteria
    - `id` string, required — Unique identifier for the drug
    - `name` string, required — Commercial name of the drug
    - `manufacturer_name` string, required — Name of the manufacturing company
    - `product_type` string, required — Type/form of the product (Tablet, Syrup, Injection, etc.)
    - `product_sku` string — Product packaging information
    - `generic_name` string, required — Generic/chemical name with dosage information
    - `generic_id` string, required — Unique identifier for the generic compound
    - `dosage` Dosage6a07bef
      - `unit` string — Dosage unit (tablet, ml, etc.)
      - `unit_name` string — Human-readable unit name
      - `unit_id` string — Unique identifier for the dosage unit
      - `dosage` string — Dosage frequency pattern (e.g., 1-1-1 for three times daily)
      - `dosage_form` string, required — Form of the medication (tablet, syrup, injection, etc.)
      - `df_id` string, required — Unique identifier for the dosage form
      - `days` string — Duration of treatment in days
      - `food` string — Food relation instructions (SF = Sugar Free, etc.)
    - `action_class` object — Drug action classification
    - `common_name` string, required — Commonly used name for the drug
    - `soa` boolean, required — Schedule of Administration flag
    - `drug_name_match` boolean, required — Whether drug name matches search query exactly
    - `include_suggestion` boolean — Whether to include this drug in suggestion lists
    - `highlighted_fields` object — Fields to highlight in search results for better UX
    - `is_otc` boolean — Over-the-counter availability status
  - `lab_tests` LabTestE57b7a5[], required — Array of laboratory test objects matching the search criteria
    - `id` string, required — Unique identifier for the laboratory test
    - `name` string, required — Name of the laboratory test
    - `description` string — Detailed description of the test
    - `category` string — Test category or classification
    - `price` number — Test price in local currency
    - `preparation` string — Pre-test preparation instructions for patients

## Other responses

- `400` — Bad Request
- `404` — Not Found
- `429` — Too Many Requests
- `500` — Internal Server Error

---

[API](https://skmtc.net/eka/apis/eka-developer-apis.md) · [All operations](https://skmtc.net/eka/apis/eka-developer-apis/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/eka/eka-developer-apis/revisions/9ea23456f722/schema)
