🇬🇧 United Kingdom · NHSBSA · MHRA · VMD

UK medicine database API

Search every dm+d product with its BNF code, MHRA product licences and the Veterinary Medicines Directorate register by name, active ingredient or code. One REST API, collected daily, with the source and licence of every record.

Instant access. No credit card required.

GET /v1/drugs
curl -G https://api.medifontis.com/v1/drugs \
  -H "Authorization: Bearer mf_live_your_api_key" \
  --data-urlencode "country=gb" \
  --data-urlencode "q=amoxicillin"
Response
{
  "country": "gb",
  "results": [
    {
      "country": "gb",
      "sourceId": "gb.nhsbsa.bnf-snomed",
      "id": "gb:nhsbsa:dmd:196111000001109",
      "kind": "amp",
      "name": "Almodan 125mg/5ml syrup (Teva UK Ltd)",
      "names": [
        "Almodan 125mg/5ml syrup (Teva UK Ltd)",
        "Almodan 125mg/5ml syrup",
        "Amoxicillin"
      ],
      "identifiers": [
        {
          "value": "196111000001109",
          "scheme": "dmd"
        },
        {
          "value": "0501013B0BDABAJ",
          "scheme": "bnf"
        },
        {
          "value": "774586009",
          "scheme": "vtm"
        }
      ],
      "data": {
        "name": "Almodan 125mg/5ml syrup (Teva UK Ltd)",
        "level": "AMP",
        "bnfCode": "0501013B0BDABAJ",
        "bnfName": "Almodan 125mg/5ml syrup",
        "vtmCode": "774586009",
        "vtmName": "Amoxicillin"
      },
      "retrievedAt": "2026-10-20T02:32:49.259Z",
      "sourceUrl": "https://www.nhsbsa.nhs.uk/prescription-data/understanding-our-data/bnf-snomed-mapping",
      "licence": {
        "id": "OGL-UK-3.0",
        "attribution": "BNF SNOMED Mapping data, NHSBSA Copyright 2026. This information is licenced under the terms of the Open Government Licence."
      }
    }
  ],
  "nextOffset": 2
}

Try it before you integrate

Find a medicine by name or code

Explore a small saved sample of official records. Create a free key to search the complete API.

492,238Records · 🇬🇧 United Kingdom
3Official sources · 🇬🇧
199Countries covered
6.7MRecords worldwide

🇬🇧 United Kingdom

Official sources

Every record comes from one of these publishers, with its counts and licence as of the latest collection.

Medicines and Healthcare products Regulatory Agency

MHRA product licences

Products and their licence numbers from the MHRA products database.

Records
79,563

Product licence

NHS Business Services Authority

dm+d products with BNF codes

Every VMP, VMPP, AMP and AMPP in the NHSBSA BNF–SNOMED mapping, with dm+d and BNF codes.

Records
406,290

dm+dBNFVTM

Veterinary Medicines Directorate

Veterinary medicines

The Veterinary Medicines Directorate product information database, with VM numbers.

Records
6,385

VMD productVM number

Why Medifontis

Built for developers who need medicine data they can trust

One schema for every country

Records from 199 countries share the same JSON shape, so code written for one country works for every other.

Names and national codes

Search brand names, active ingredients and identifiers such as AIC, CN, CIP13, NDC, DIN or BNF codes, without worrying about accents or case.

Provenance on every record

Each result carries its source URL, retrieval time, licence and limitations, so you can show users exactly where the data comes from.

Human and veterinary

Filter by use domain and target species wherever the source publishes them.

Typeahead suggestions

A dedicated endpoint returns distinct names while users type, ranked exact, prefix, then substring.

Collected every day

Every source is collected on a daily schedule and published atomically, so you never read a half-imported country.

Provenance

Every record tells you where it came from

Medifontis never invents or merges data. Each record keeps the identifiers its publisher assigned and states its source, licence and known limitations.

  • sourceUrl links the official dataset the record was collected from.
  • retrievedAt is when Medifontis collected it.
  • licence names the publisher’s terms and the attribution to show.
  • limitations lists what the source does not establish, such as current availability.
Learn about records
Provenance fields
{
  "sourceUrl": "https://www.nhsbsa.nhs.uk/prescription-data/understanding-our-data/bnf-snomed-mapping",
  "retrievedAt": "2026-10-20T02:32:49.259Z",
  "licence": {
    "id": "OGL-UK-3.0",
    "url": "https://www.nhsbsa.nhs.uk/our-policies/terms-and-conditions",
    "scope": "NHSBSA monthly BNF–SNOMED mapping file; not the TRUD dm+d release",
    "reviewedAt": "2026-09-28",
    "attribution": "BNF SNOMED Mapping data, NHSBSA Copyright 2026. This information is licenced under the terms of the Open Government Licence.",
    "documentsIncluded": false
  },
  "limitations": [
    "Every VMP, VMPP, AMP and AMPP row of NHSBSA’s published BNF–SNOMED mapping, which follows dm+d; the full TRUD dm+d release (legal category, availability, prices) is not collected.",
    "No legal category (POM, P, GSL) is published in this file, so the prescription classification stays unknown.",
    "Rows without a BNF code are typically parallel imports or secondary-care products, as NHSBSA notes.",
    "dm+d identifiers are SNOMED CT UK Drug Extension concept IDs as NHSBSA publishes them; no SNOMED CT release content is included.",
    "A mapping row does not establish marketing, availability, reimbursement or patient eligibility."
  ]
}

Use cases

What developers build with Medifontis

Clinical and e-prescribing software

Let clinicians find the exact authorised product and keep its national code with the prescription.

Pharmacy and e-commerce catalogues

Match your catalogue to national codes and keep product names and holders in sync with the regulator.

Patient and telehealth apps

Autocomplete medicine names in medication lists, reminders and intake forms.

AI assistants and agents

Ground answers about medicines in official records instead of model memory.

Market research and analytics

Track authorised products, holders and presentations across countries.

Veterinary software

Search veterinary medicines and their target species where regulators publish them.

FAQ

Frequently asked questions

Where does the data come from?

From the official publishers listed above: NHSBSA · MHRA · VMD. Medifontis collects each source as published and keeps every record independent; records from different sources are never merged or matched by name.

How fresh is the data?

Each source is collected every day and the country is published atomically once collection succeeds. Every record carries the time it was retrieved from its source.

Which codes can I search?

Names match anywhere in the text and identifiers match from their first character. For this country that covers dm+d IDs, BNF codes, product licences and VM numbers.

Can I use the data in my product?

Yes, within the licence of each source. Every record includes its licence and attribution text, and some publishers restrict commercial redistribution, so check the licences of the sources you rely on.

Is Medifontis medical advice?

No. Medifontis reports what official sources publish. It does not decide whether a medicine is suitable, available or reimbursed for a patient.

How do I get access?

Create an API key in a few seconds. It works immediately, for every country and every endpoint, and there is nothing to install.

Start building with official medicine data

Your API key works immediately with every country and every endpoint.

Get your API key