Discover/Com API
live

Com APImedex.com.bd ↗

Access medicine prices, generic compounds, brand alternatives, and pharma company profiles from MedEx Bangladesh (medex.com.bd) via 12 structured endpoints.

Endpoint health
verified 3d ago
get_company_brands
list_brands
get_company_detail
search_medicines
get_brand_detail
12/12 passing latest checkself-healing
Endpoints
12
Updated
17d ago

What is the Com API?

The MedEx Bangladesh API exposes 12 endpoints covering medicine search, brand listings, generic monographs, and pharmaceutical company profiles sourced from medex.com.bd. Use search_medicines to query brand and generic names and receive unit prices in BDT, manufacturer names, and slugs for detail lookups. Use get_brand_alternatives to retrieve every brand sharing the same generic compound, or get_low_price_alternatives for a price-sorted comparison list.

This call costs1 credit / call— charged only on success
Try it
Search keyword matching brand or generic medicine names
Optional maximum unit price in BDT (decimal, e.g. 1.5). Excludes results whose unit price is above this value and results without a published price. Omit to return every match.
→ api.parse.bot/scraper/af459ee7-7e72-4a74-93d3-09da010d2026/<endpoint>
Ready to send
Fill in the parameters and hit sign in to send to see live response data here.
Call it over HTTPgrab a free API key at signup
curl -X GET 'https://api.parse.bot/scraper/af459ee7-7e72-4a74-93d3-09da010d2026/search_medicines?query=Napa' \
  -H 'X-API-Key: $PARSE_API_KEY'
All endpoints · 12 totalmissing one? ·

Full-text search across brand and generic medicine names. Returns a flat list of matching brands (at most 30, the site's single search page) with identification, generic compound, manufacturer, unit price and pack size. No pagination. Each result's pricing is read from the brand's own page, so one call performs one search request plus one request per result; expect a few seconds of latency. price is the unit price in BDT as a decimal string (e.g. '2.25') and is null when the site publishes no price for that brand; pack_size is the site's packaging text and may be null. company is the manufacturer name as shown in the search listing (no trailing period) while manufacturer is the name as shown on the brand page. When max_price is supplied, results whose unit price is greater than the limit are excluded, as are results with no published price. Sponsored rows are resolved to their real brand identifiers. An empty brands array means no match.

Input
ParamTypeDescription
queryrequiredstringSearch keyword matching brand or generic medicine names
max_pricenumberOptional maximum unit price in BDT (decimal, e.g. 1.5). Excludes results whose unit price is above this value and results without a published price. Omit to return every match.
Response
{
  "type": "object",
  "fields": {
    "brands": "array of brand objects each containing id, slug, name, generic, company, url, price (unit price BDT decimal string or null), manufacturer (string or null), pack_size (string or null)"
  },
  "sample": {
    "data": {
      "brands": [
        {
          "id": "28639",
          "url": "https://medex.com.bd/brands/28639/napa-one-1000-mg-tablet",
          "name": "Napa One 1000 mg (Tablet)",
          "slug": "napa-one-1000-mg-tablet",
          "price": "2.25",
          "company": "Beximco Pharmaceuticals Ltd",
          "generic": "Paracetamol",
          "pack_size": "20 x 10: ৳ 450.00",
          "manufacturer": "Beximco Pharmaceuticals Ltd."
        },
        {
          "id": "28439",
          "url": "https://medex.com.bd/brands/28439/napa-120-mg-syrup",
          "name": "Napa 120 mg/5 ml (Syrup)",
          "slug": "napa-120-mg-syrup",
          "price": null,
          "company": "Beximco Pharmaceuticals Ltd",
          "generic": "Paracetamol",
          "pack_size": null,
          "manufacturer": "Beximco Pharmaceuticals Ltd."
        }
      ]
    },
    "status": "success"
  }
}

About the Com API

Medicine Search and Brand Detail

The search_medicines endpoint accepts a query string and an optional max_price filter (in BDT) and returns up to 30 matching brand objects, each with id, slug, name, generic, company, url, and price. These slugs and IDs feed directly into get_brand_detail, which returns structured clinical sections (indications, pharmacology, dosage, side effects, interactions) alongside unit_price, strip_price, pack_size, dosage_form, and strength. The get_medicine_details endpoint accepts either a slug or a medicine_id and returns the same clinical fields plus indications, dosage instructions, and storage as top-level fields for convenience.

Generic Compounds and Alternatives

list_generics returns paginated generic medicine names with brand_count per entry. Passing a slug and generic_id to get_generic_detail retrieves the full clinical monograph for that active ingredient along with a brands_preview array. get_brand_alternatives takes a brand's slug and brand_id and returns every alternative brand for the same compound with dosage form, strength, company, and pricing. get_low_price_alternatives wraps the same logic and sorts results by unit price ascending, which is useful for price-comparison features.

Pharmaceutical Company Profiles

list_companies paginates through all registered Bangladeshi pharmaceutical manufacturers, each carrying generics_count and brands_count. get_company_detail returns a details object with keys like Established, Market Share, Growth, and Headquarter, alongside an overview text and top_brands. get_company_brands retrieves the first page of that company's brand catalogue with pricing and generic compound data.

Pricing Convenience Endpoints

get_medicine_price accepts a medicine name string and returns unit_price, strip_price, pack_size, dosage_form, strength, company, and generic for the first matching result — useful for quick lookups without a two-step search-then-detail flow. All prices are in BDT as decimal strings and may be null if not listed on the source.

Reliability & maintenanceVerified

The Com API is a managed, monitored endpoint for medex.com.bd — not a raw scraper you maintain. Every endpoint is automatically health-checked on a schedule, and when medex.com.bd changes and a check fails, the API is automatically queued for repair and re-verified. It is built to keep working as the site underneath it changes.

This isn't an official medex.com.bd API — it's an independent, maintained REST wrapper over public data. Where the source has no official API (or only a limited one), Parse gives you a stable contract over a source that never promised one, and keeps it current. Need a new endpoint or field? You can revise it yourself in plain English and the agent rebuilds it against the live site in minutes — contributing the change back to the shared API is free.

Last verified
3d ago
Latest check
12/12 endpoints passing
Maintenance
Monitored & self-healing
Will this API break when the source site changes?+
It's built not to. Every endpoint is health-checked on a schedule with automated test probes. When the source site changes and a check fails, the API is automatically queued for repair and re-verified — that's the self-healing layer. Each API page shows when its endpoints were last verified. And because marketplace APIs are shared, any fix reaches everyone using it.
Is this an official API from the source site?+
No — Parse APIs are independent, managed REST wrappers over publicly available data. That is the point: where a site has no official API (or only a limited one), Parse gives you a maintained, monitored endpoint for that data and keeps it working as the site changes — so you get a stable contract over a source that never promised one.
Can I fix or extend this API myself if I need a new endpoint or field?+
Yes — and you don't have to wait on us. This API was generated by the Parse agent, which stays attached. Describe the change in plain English ("add an endpoint that returns reviews", "fix the price field") in the revise box on the API page or via the revise_api MCP tool, and the agent rebuilds it against the live site in minutes. Contributing the change back to the public API is free.
What happens if I call an endpoint that has an issue?+
Errors are machine-readable: a bad call returns a clean status with the list of available endpoints and a repair hint, so an agent (or you) can recover or trigger a fix instead of failing silently. Confirmed failures feed the automatic repair queue.
Common use cases
  • Build a Bangladesh medicine price comparison tool using get_low_price_alternatives sorted by unit price
  • Populate a drug information app with clinical indications, pharmacology, and side effects from get_generic_detail
  • Display equivalent generic options and their manufacturers using get_brand_alternatives
  • Track pharmaceutical company profiles, market share data, and product counts via get_company_detail
  • Run a nightly price monitor across brand categories using list_brands with letter-based pagination
  • Implement a quick medicine price lookup widget using get_medicine_price with a single name string input
  • Index generic compound names and their brand counts from list_generics for a formulary database
Pricing & limitsSee full pricing →
TierPriceCredits/monthRate limit
Free$0/mo2005 req/min
Hobby$30/mo1,00020 req/min
Developer$100/mo5,000100 req/min
Team$300/mo20,000300 req/min
Company$1,000/mo100,000500 req/min

Each endpoint has a fixed posted price per successful call — most fall between 1 and 10 credits — shown on this API's page before you run it. Exceeding the rate limit returns a 429 response. Authenticate with the X-API-Key header.

Frequently asked questions
Does MedEx Bangladesh have an official developer API?+
MedEx (medex.com.bd) does not publish an official public developer API or documented developer program as of mid-2025. This Parse API is the structured programmatic interface available for the data on their site.
What does `get_brand_detail` return beyond basic pricing?+
It returns a sections object whose keys are the clinical section titles present on that brand's page — typically Indications, Pharmacology, Dosage & Administration, Side Effects, Drug Interactions, Contraindications, and Storage. The exact keys vary by brand. Alongside sections, it returns unit_price, strip_price, pack_size, strength, dosage_form, and generic_name.
Does `search_medicines` paginate beyond the first 30 results?+
No. search_medicines returns at most 30 results matching the source's single search page and does not support pagination. For broader browsing, use list_brands with the letter and page parameters, which pages through the full alphabetical catalogue.
Does the API cover prescription status, drug scheduling, or regulatory approval data for Bangladeshi medicines?+
Not currently. The API covers pricing, clinical text sections, generic compound names, dosage forms, and manufacturer details. Regulatory classification and prescription-only status fields are not exposed. You can fork this API on Parse and revise it to add an endpoint targeting that data if it becomes available on the source.
Does `get_company_brands` return all pages of a company's brand list?+
It returns the first page of brands along with a pagination object containing current, total, next, and prev fields. Full multi-page retrieval across all company brands is not covered in a single call. You can fork this API on Parse and revise it to iterate through subsequent pages using the pagination metadata.
Page content last updated . Spec covers 12 endpoints from medex.com.bd.
Related APIs in HealthcareSee all →