GET
/
eka-mcp
/
pharmacology
/
v1
/
search
Get Generic (pharmacology) Information
curl --request GET \
  --url https://api.dev.eka.care/eka-mcp/pharmacology/v1/search \
  --header 'Authorization: Bearer <token>'
{
  "results": [
    {
      "generic_name": "<string>",
      "components": [
        "<string>"
      ],
      "is_compound": true,
      "page_number": 123,
      "reference_page_number": 123,
      "has_references": 123,
      "is_a_reference": true,
      "pregnancy_category": "<string>",
      "indications": "<string>",
      "availability": "<string>",
      "dose": "<string>",
      "contraindications": "<string>",
      "precautions": "<string>",
      "precautions_appendix": "<string>",
      "adverse_effects": "<string>",
      "storage": "<string>",
      "schedule": "<string>",
      "note": "<string>",
      "additional_keys": "<string>",
      "generic_category": "<string>",
      "comments": "<string>"
    }
  ],
  "search_info": {}
}

Why Use This API

Access generic information from India’s National Formulary through a simple REST API. Instead of manually compiling medication databases or scraping multiple sources, get structured generic data that’s already standardized and ready to use in your application. This information has been extracted from guidelines published by the National Formulary of India from the Ministry of Health & Welfare (Government of India) - Link The details have been extracted through a vision LLM and every generic has been validated by a team of clinicians at eka.care

What You Get Per Generic

Each response includes comprehensive information about the medication:

Clinical Information

  • What it treats (indications) - Medical conditions and symptoms
  • How much to take (dose) - Dosing instructions for adults and children
  • Drug interactions (precautions_appendix) - Contraindications and safety warnings
  • Side effects (adverse_effects, contraindications) - Known adverse reactions and warnings
  • Pregnancy safety (pregnancy_category) - Safety classification for pregnant patients

Drug Details

  • Generic name (generic_name) - Standard medication name
  • Components (components, is_compound) - Active ingredients and compound status
  • Category (generic_category) - Therapeutic classification
  • Available forms (availability) - Tablets, capsules, injections, etc.
  • Storage (storage) - Temperature and storage requirements
  • Schedule (schedule) - Regulatory classification
  • Notes (note) - Additional clinical guidance

Search Capabilities

The search supports:
  • Single generic searches: Find specific medications by generic name
  • Compound generic searches: Search for combination generics using separators like ”+”, ”,”, “and”
  • Category filtering: Filter by generic categories
  • Exact matching: Option for precise matches only
  • Relevance threshold: Adjustable filtering for result quality

Authorizations

Authorization
string
header
required

Enter JWT token

Query Parameters

query
string | null

Text to search for across all fields. Can be a single drug name (e.g., 'Rifampicin') or compound drugs (e.g., 'Rifampicin + Isoniazid')

category
string | null

Filter by category (e.g., 'Antibiotics', 'Analgesics')

limit
integer | null
default:10

Maximum number of results to return

exact_match
boolean | null
default:false

If true, only return exact matches for the query

relevance_threshold
integer | null
default:100

Minimum relevance score for results (higher = more strict filtering)

Response

200
application/json

OK

The response is of type object.