Discover/Com API
live

Com APImedex.com.bd

Access MedEx Bangladesh data via API: search medicines, get brand/generic details, compare prices, and look up pharmaceutical companies in Bangladesh.

Endpoint health
verified 1d ago
get_company_detail
get_company_brands
list_generics
get_brand_detail
get_brand_alternatives
11/11 passing latest checkself-healing
Endpoints
11
Updated
26d ago

What is the Com API?

The MedEx Bangladesh API exposes 11 endpoints covering brand medicines, generic compounds, pharmaceutical companies, and pricing data from medex.com.bd. You can search across brand and generic names via search_medicines, retrieve full clinical monographs with get_brand_detail or get_generic_detail, and run price comparisons with get_low_price_alternatives — all returning structured JSON with fields like unit_price, strip_price, generic_name, and clinical sections.

Try it
Search keyword matching brand or generic medicine names
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'
Python SDK · recommended

Typed, relational, agent-ready

A generated client with real types, enums, and the links between objects — the structure a flat JSON response can't carry. Autocompletes in your editor and reads cleanly to coding agents.

  • Fully typed · autocompletes
  • Objects link to objects
  • Typed errors & pagination

Typed Python client. Set up the SDK in your uv project, then pull this API’s typed client:

uv add parse-sdk
uv run parse init
uv run parse add --marketplace medex-com-bd-api

uv run parse add --marketplace pulls a pinned snapshot of this canonical API — it won’t change underneath you. To customize it, subscribe and swap to your own copy.

"""MedEx Bangladesh: search medicines, compare prices, drill into details."""
from parse_apis.medex_bangladesh_medicine_database_api import (
    MedEx, Herbal, NotFound
)

client = MedEx()

# Search for a medicine by name — returns matching brands with generic compound.
for brand in client.brandsummaries.search(query="Napa", limit=5):
    print(brand.name, brand.generic)

# Drill into the first match to get full clinical detail.
brand = client.brandsummaries.search(query="Napa", limit=1).first()
if brand:
    detail = brand.details()
    print(detail.name, detail.strength, detail.unit_price)

    # Walk alternatives (same generic compound) via the sub-resource.
    for alt in brand.alternatives.list(limit=3):
        print(alt.name, alt.dosage_form, alt.price)

# Find cheapest alternatives for a brand — pre-sorted by price ascending.
for alt in client.brandsummaries.find_alternatives(brand_name="Seclo", limit=3):
    print(alt.name, alt.company, alt.price)

# Browse pharmaceutical companies, then drill into top brands.
company = client.companysummaries.list(limit=1).first()
if company:
    info = company.details()
    print(info.name, info.overview)
    for tb in info.top_brands[:3]:
        print(tb.name, tb.generic)

# Typed error handling for a missing resource.
try:
    bogus = client.brandsummaries.search(query="Napa", limit=1).first()
    if bogus:
        bogus.details()
except NotFound as exc:
    print(f"not found: {exc.slug}")

print("exercised: search / details / alternatives.list / find_alternatives / companysummaries.list / details")
All endpoints · 11 totalmissing one? ·

Full-text search across brand and generic medicine names. Returns a flat list of matching brands with basic identification, generic compound, and manufacturer. No pagination — all matches returned in a single response. Useful as an entry point to discover brand IDs and slugs for detail endpoints.

Input
ParamTypeDescription
queryrequiredstringSearch keyword matching brand or generic medicine names
Response
{
  "type": "object",
  "fields": {
    "brands": "array of brand objects each containing 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 Com API

Medicine Search and Brand Data

The search_medicines endpoint accepts a query string and returns a flat array of matching brand objects — each with id, slug, name, generic, company, and url. These identifiers feed into get_brand_detail, which takes a slug and brand_id and returns stable pricing fields (unit_price, strip_price, pack_size, dosage_form, strength) alongside a sections object keyed by clinical topic (e.g. Indications, Pharmacology, Side Effects, Interactions). The list_brands endpoint supports alphabetical filtering via the letter parameter and a herbal boolean flag, returning paginated results of ~30 brands per page.

Generics and Alternatives

list_generics provides a paginated directory of active pharmaceutical ingredients, each with a brand_count showing how many branded formulations exist. get_generic_detail retrieves the full clinical monograph for a generic compound, returning the same sections structure as brand detail plus a brands_preview array. To find therapeutically equivalent products, get_brand_alternatives returns all brands sharing the same generic compound, and get_low_price_alternatives goes further — sorting those alternatives by unit_price ascending for direct price comparison.

Pharmaceutical Companies

list_companies paginates through Bangladeshi pharmaceutical manufacturers, each entry including generics_count and brands_count. get_company_detail returns a details object with structured corporate data (Established, Market Share, Headquarter, Contact), an overview text block, and a top_brands array. get_company_brands fetches the first page of that company's product catalog with pricing and generic cross-references.

Convenience Endpoints

Two convenience endpoints combine multiple lookups into one call. get_medicine_price accepts a medicine name and returns pricing fields for the first matching brand without requiring a separate search step. get_low_price_alternatives accepts a brand_name and returns the full alternatives list sorted cheapest-first, making it suitable for cost-comparison workflows without chaining multiple calls.

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
1d ago
Latest check
11/11 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 medicine price comparison tool for Bangladeshi consumers using get_low_price_alternatives sorted by unit_price.
  • Populate a drug information app with clinical monographs from get_brand_detail and get_generic_detail sections fields.
  • Index the complete MedEx brand catalog for search using list_brands with letter-based pagination.
  • Look up pharmaceutical company profiles including market share and headquarters via get_company_detail.
  • Retrieve all brands manufactured by a specific company using get_company_brands with company_id and slug.
  • Check the current BDT price of any medicine by name using the get_medicine_price convenience endpoint.
  • Map generic compounds to their available branded formulations using list_generics and get_generic_detail brands_preview.
Pricing & limitsSee full pricing →
TierPriceCredits/monthRate limit
Free$0/mo1005 req/min
Hobby$30/mo1,00020 req/min
Developer$100/mo5,000100 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.

Frequently asked questions
Does MedEx Bangladesh offer an official developer API?+
MedEx (medex.com.bd) does not publish an official public developer API or documented REST interface. This Parse API provides structured programmatic access to the data available on the site.
What clinical information does `get_brand_detail` return beyond pricing?+
The sections object in the response maps clinical topic titles to their text content. Common keys include Indications, Pharmacology, Dosage, Side Effects, Drug Interactions, Contraindications, and Precautions, though the exact keys present vary by medicine. Pricing fields (unit_price, strip_price, pack_size) are returned as separate top-level fields.
Does `get_company_brands` return all pages of a company's product catalog?+
The endpoint returns the first page of results along with a pagination object that includes total page count and a next indicator. Full multi-page traversal is not automated in a single call. You can fork this API on Parse and revise it to add a paginated loop that fetches all pages for a given company.
Does the API cover prescription status, drug scheduling, or regulatory approval data for Bangladesh?+
Not currently. The API covers brand names, generic compounds, clinical monograph sections, pricing in BDT, and manufacturer details. Prescription classification, DGDA regulatory status, and drug scheduling data are not included in the current response fields. You can fork this API on Parse and revise it to add an endpoint targeting that information if it is available on the source site.
Does `search_medicines` return paginated results for large result sets?+
No — search_medicines returns all matching brands in a single flat array regardless of result count. There is no page parameter. For browsing the full catalog alphabetically with pagination, use list_brands with the letter parameter instead.
Page content last updated . Spec covers 11 endpoints from medex.com.bd.
Related APIs in HealthcareSee all →
1mg.com API
Access data from 1mg.com.
altibbi.com API
Search and browse comprehensive medicine and disease information from Altibbi's medical encyclopedia using commercial or scientific names. Get detailed profiles including dosage, uses, side effects, and disease descriptions to support healthcare decisions and medical research.
apollo247.com API
Search and compare medicines, view detailed product information, discover lab tests, and locate nearby Apollo 24|7 pharmacy stores. Browse medical specialties and popular diagnostic services to plan your healthcare needs in one convenient platform.
drugs.com API
Search for drugs and pill identifications, get detailed information about FDA approvals and drug interactions, and find medications by condition or letter. Look up side effects, dosages, and potential drug interactions to make informed health decisions.
blinkhealth.com API
Find affordable medications by comparing prices across pharmacies, viewing available formulations, and locating nearby participating locations. Search drugs, discover generic alternatives, and check preferred drug lists to save money on prescriptions.
chemistwarehouse.co.nz API
Search for medications and health products at Chemist Warehouse NZ, browse categories, view detailed product information, and find nearby store locations. Get access to product pricing, descriptions, and store addresses all in one place.
daraz.com.bd API
Search and browse products on Daraz Bangladesh to find items across any category. Retrieve detailed product information, explore category listings, and surface top-selling items — all from a single API.
pharmdata.co.uk API
Search UK pharmacies, access NHS service statistics, and retrieve pharmacy dispensing data to compare performance across regions. Monitor MHRA drug safety alerts and view LPC rankings to make informed decisions about pharmacy services and medications.