medex.com.bd APImedex.com.bd ↗
Access medicine prices, brand details, generics, and pharma company data from MedEx Bangladesh via 11 structured API endpoints.
curl -X GET 'https://api.parse.bot/scraper/af459ee7-7e72-4a74-93d3-09da010d2026/search_medicines?query=Napa' \ -H 'X-API-Key: $PARSE_API_KEY'
Search for medicines by brand or generic name. Returns a list of matching brands with basic details including name, generic compound, manufacturer, and URL.
| Param | Type | Description |
|---|---|---|
| queryrequired | string | Search keyword (brand or generic name) |
{
"type": "object",
"fields": {
"brands": "array of matching brand objects with id, slug, name, generic, company, and url"
},
"sample": {
"data": {
"brands": [
{
"id": "10452",
"url": "https://medex.com.bd/brands/10452/napa-500-mg-tablet",
"name": "Napa 500 mg (Tablet)",
"slug": "napa-500-mg-tablet",
"company": "Beximco Pharmaceuticals Ltd",
"generic": "Paracetamol"
}
]
},
"status": "success"
}
}About the medex.com.bd API
The MedEx Bangladesh API exposes 11 endpoints covering medicine search, brand listings, generic drug profiles, pharmaceutical company directories, and price lookups from medex.com.bd. Use search_medicines to find brands by name or active ingredient, get_brand_detail to pull clinical sections and BDT pricing, or get_low_price_alternatives to retrieve cheaper substitutes for any brand sorted by unit price.
Medicine and Brand Data
The search_medicines endpoint accepts a keyword (brand or generic name) and returns matching brand objects including id, slug, name, generic, company, and url. For a full product record, get_brand_detail takes a slug and brand_id and returns fields like dosage_form, strength, pack_size, unit_price, and strip_price in BDT, plus clinical sections covering indications, pharmacology, dosage, side effects, and drug interactions. list_brands supports paginated browsing with optional filtering by first letter (letter param) or herbal classification (herbal param).
Generic Drug Profiles
list_generics returns a paginated index of generic compound names with a brand_count per entry. get_generic_detail goes deeper — given a slug and generic_id, it returns a sections object mapping clinical heading names to their text content (e.g., Indications, Pharmacology, Dosage & Administration) and a brands_preview array with name, URL, and price for a subset of available brands.
Pharmaceutical Company Directory
list_companies paginates through pharmaceutical manufacturers with generics_count and brands_count per entry. get_company_detail retrieves a structured details object (keys like Established, Market Share, Headquarter, Contact) plus an overview text field and a top_brands array. get_company_brands returns the full paginated product catalogue for a given company.
Price and Alternative Lookups
get_medicine_price accepts a free-text medicine name and returns the first matching brand's unit_price, strip_price, pack_size, and dosage_form. get_brand_alternatives returns all brands sharing the same active ingredient as a given brand. get_low_price_alternatives performs the same substitution lookup but sorts results by price ascending, making it straightforward to surface the cheapest available option for a given compound.
- Build a medicine price comparison tool using
get_low_price_alternativesto rank generically equivalent brands by unit price in BDT. - Populate a drug reference app with clinical indications, pharmacology, and dosage text from
get_generic_detailsections. - Track pharmaceutical company portfolios by combining
get_company_detailmarket share data with paginated results fromget_company_brands. - Alert patients to cheaper substitutes by querying
get_brand_alternativeswhenever a brand is searched. - Index the full Bangladesh medicine catalogue by iterating
list_brandswith alphabeticalletterfiltering andpagepagination. - Display pack size and strip pricing alongside dosage form for pharmacy inventory tools using
get_brand_detail. - Filter and list herbal medicines separately using the
herbal=trueparameter onlist_brandsorlist_generics.
| Tier | Price | Credits/month | Rate limit |
|---|---|---|---|
| Free | $0/mo | 100 | 5 req/min |
| Hobby | $30/mo | 1,000 | 20 req/min |
| Developer | $100/mo | 5,000 | 250 req/min |
One credit = one API call regardless of which marketplace API you call. Exceeding the rate limit returns a 429 response. Authenticate with the X-API-Key header.
Does MedEx Bangladesh have an official developer API?+
What does `get_brand_detail` return beyond basic pricing?+
get_brand_detail returns unit_price and strip_price in BDT alongside dosage_form, strength, pack_size, generic_name, and manufacturer. It also includes clinical information sections — indications, pharmacology, dosage and administration, side effects, and drug interactions — for the brand.How does pagination work across listing endpoints?+
list_brands, list_generics, list_companies, and get_company_brands all return a pagination object with current, total, next, and prev fields. Pass the desired page number via the page parameter. There is no configurable page size — results per page match the source site's default.