Skip to content

Drugs.com API: Identify pill by imprint

Finds possible pill matches on the Drugs.com pill identifier by imprint, optionally narrowed by color and shape, with each pill's labeler.

drugs.com (opens in a new tab)Version 1ReadNo sign-inVerified Nov 2, 2026

Unofficial. Not affiliated with or endorsed by Drugs.com.

Inputs

Values from the run on Oct 31, 2026, shown under Output.

Color optionalcolor

Pill color, for example white.

(default)

Shape optionalshape

Pill shape, for example capsule, oval, or round.

round

Default .

Imprint, requiredimprint

Letters or numbers printed on the pill, for example L484.

M

Output

From a run on Oct 31, 2026, shortened for this page.
{  "matches": [    {      "color": "White",      "shape": "Round",      "imprint": "M",      "strength": "2 mg",      "manufacturer": "SpecGx LLC",      "medicine_name": "Levorphanol Tartrate",      "pill_page_link": "https://www.drugs.com/imprints/m-29950.html",      "pill_image_link": "https://www.drugs.com/images/pills/custom/pill29950-2/levorphanol-tartrate-2-mg-m-124556.png"    },    {      "color": "White",      "shape": "Round",      "imprint": "M",      "strength": "0.025 mg / 2.5 mg",      "manufacturer": "Aphena Pharma Solutions - Tennessee, LLC",      "medicine_name": "Atropine Sulfate and Diphenoxylate Hydrochloride",      "pill_page_link": "https://www.drugs.com/imprints/m-31501.html",      "pill_image_link": "https://www.drugs.com/images/pills/custom/pill31501-1/atropine-sulfate-and-diphenoxylate-hydrochloride-0-025-mg-2-5-mg-m-117623.png"    },    {      "color": "White",      "shape": "Round",      "imprint": "M",      "strength": "70 mg",      "manufacturer": "Radius Health, Inc.",      "medicine_name": "Binosto",      "pill_page_link": "https://www.drugs.com/imprints/m-19894.html",      "pill_image_link": "https://www.drugs.com/images/pills/fio/MIS01010/binosto-70-mg-m-94635.JPG"    }  ]}
Price
1 credit per completed run (1¢ with pay as you go); failed runs are free.
Method
drugs.com/identify_pill
Returns
medicine name, strength, imprint, color, shape, manufacturer (labeler), pill image link, pill page link

Use it from your agent

Give your agent this line. It reads SKILL.md, gets a Fous API key and connects the Fous MCP server. Its run then takes the method drugs.com/identify_pill with the inputs above.

Ask your agent

  • Found a white oval pill with M367 stamped on it in my kid's backpack. What is it?
  • On drugs.com, look up a pill with imprint IP 109 and tell me the drug name, strength, and who makes it
  • Yellow round tablet marked 'G 3722' — can you figure out what medication this is and link me to a picture?
  • Identify a blue capsule-shaped pill with the imprint 'TEVA 3109' and list possible matches with their manufacturers
  • Use the Drugs.com pill identifier to find what a pink round pill imprinted '54 733' is
  • Looks up a medicine by brand or generic name on Drugs.com and returns a plain-language overview: class, uses, availability, schedule, dosage forms, side effects, and pregnancy and breastfeeding notes.

    drugs.com/get_drug
  • Gets the US cash prices Drugs.com lists for a brand or generic medicine by strength, dosage form and quantity, optionally filtered. Where a range is listed the lower price is returned.

    drugs.com/get_drug_prices
  • Checks 2 to 10 medicine names together on the Drugs.com interaction checker and returns drug-to-drug interactions and food or lifestyle warnings, most severe first, plus the names it could not recognise.

    drugs.com/check_drug_interactions
  • Finds the latest FDA drug label for a brand or generic medicine and returns its uses, directions, warnings, ingredients and a DailyMed link.

    open.fda.gov/get_drug_label
  • Finds FDA drug enforcement recalls by medicine or company name, newest first, with status, class, reason and quantity. Recent recalls may not yet appear.

    open.fda.gov/search_drug_recalls
  • Looks up a medicine at Cost Plus Drugs by generic or brand name and returns the listed price and its breakdown for a strength, form and quantity, with the strengths and forms on offer. The drug price excludes shipping and taxes; standard shipping is shown separately.

    costplusdrugs.com/get_drug_price
  • Looks up a chemical on PubChem by common name or CAS number and returns its formula, molecular weight, names, description, SMILES, InChIKey and 2D structure image link.

    pubchem.ncbi.nlm.nih.gov/get_chemical
  • Looks up a medicine in the NHS medicines A to Z and returns its guidance: uses, key facts, who can take it, how to take it, side effects, pregnancy and interactions. Sections absent from NHS guidance are null; a plain name with separate adult and child pages selects the adult page.

    nhs.uk/get_medicine