🇧🇷 Brazil · ANVISA · CMED · MAPA

Brazilian medicine database API

Search every presentation on the CMED medicine price list by name, active ingredient, ANVISA registration, GGREM code or barcode, plus veterinary products from the Ministry of Agriculture. 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=br" \
  --data-urlencode "q=dipirona sodica"
Response
{
  "country": "br",
  "results": [
    {
      "country": "br",
      "sourceId": "br.anvisa.cmed-prices",
      "id": "br:cmed:presentations:528525010218907",
      "kind": "presentations",
      "name": "DIPIRONA SODICA 1000 MG COM CT BL AL PLAS AMB X 30",
      "names": [
        "DIPIRONA SODICA 1000 MG COM CT BL AL PLAS AMB X 30",
        "DIPIRONA SODICA",
        "DIPIRONA"
      ],
      "identifiers": [
        {
          "value": "1256800410339",
          "scheme": "registration"
        },
        {
          "value": "528525010218907",
          "scheme": "ggrem"
        },
        {
          "value": "7899547553505",
          "scheme": "barcode"
        }
      ],
      "data": {
        "name": "DIPIRONA SODICA 1000 MG COM CT BL AL PLAS AMB X 30",
        "holder": "PRATI DONADUZZI & CIA LTDA",
        "stripe": "Tarja Sem Tarja",
        "currency": "BRL",
        "ggremCode": "528525010218907",
        "useDomain": "unknown"
      },
      "retrievedAt": "2026-10-20T07:01:32.181Z",
      "sourceUrl": "https://www.gov.br/anvisa/pt-br/assuntos/medicamentos/cmed/precos",
      "licence": {
        "id": "LicenseRef-CMED-Lista-Precos",
        "attribution": "Fonte: Câmara de Regulação do Mercado de Medicamentos (CMED), Secretaria Executiva/ANVISA — Lista de Preços de Medicamentos (Preços Fábrica e Máximos ao Consumidor)"
      }
    }
  ],
  "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.

31,151Records · 🇧🇷 Brazil
3Official sources · 🇧🇷
199Countries covered
6.7MRecords worldwide

🇧🇷 Brazil

Official sources

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

Câmara de Regulação do Mercado de Medicamentos (CMED), Secretaria Executiva exercida pela Agência Nacional de Vigilância Sanitária (ANVISA)

CMED medicine price list

Every presentation on the CMED price list, with ANVISA registration, GGREM code and barcode.

Records
26,635
Licence
Publisher terms

BarcodeGGREMRegistration number

Ministério da Agricultura e Pecuária (MAPA)

Veterinary biologicals

Veterinary biological products licensed by the Ministry of Agriculture.

Records
1,744
Licence
Publisher terms

MAPA licenceMAPA registration

Ministério da Agricultura e Pecuária (MAPA)

Veterinary pharmaceuticals

Veterinary pharmaceutical products registered with the Ministry of Agriculture.

Records
2,772
Licence
Publisher terms

MAPA product keyMAPA registration

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.gov.br/anvisa/pt-br/assuntos/medicamentos/cmed/precos",
  "retrievedAt": "2026-10-20T07:01:32.181Z",
  "licence": {
    "id": "LicenseRef-CMED-Lista-Precos",
    "url": "https://www.gov.br/anvisa/pt-br/assuntos/medicamentos/cmed/precos",
    "scope": "current consumer price list (PF and PMC) linked from the CMED prices page",
    "termsUrl": "https://creativecommons.org/licenses/by-nd/3.0/deed.pt_BR",
    "reviewedAt": "2026-09-29",
    "attribution": "Fonte: Câmara de Regulação do Mercado de Medicamentos (CMED), Secretaria Executiva/ANVISA — Lista de Preços de Medicamentos (Preços Fábrica e Máximos ao Consumidor)",
    "documentsIncluded": false
  },
  "limitations": [
    "Every presentation of the current CMED consumer price list (Preço Fábrica and Preço Máximo ao Consumidor): medicines with a CMED price, not ANVISA’s complete registration register.",
    "The list carries no registration status; being priced does not establish a valid registration, current marketing or availability. \"COMERCIALIZAÇÃO <year>\" is the holder’s report for that past year only.",
    "The stripe (tarja) is the prescription classification: red and black stripes are sold under prescription and \"Sem Tarja\" without one; \"- (*)\" means ANVISA’s Datavisa records carry no stripe, so the classification stays unknown. No patient eligibility is inferred.",
    "Prices are regulatory ceilings in BRL per ICMS rate, not transaction prices; the PMC is omitted for hospital-restricted packs.",
    "The reviewed October 9, 2026 preamble states no separate price-validity date; pricesValidFrom stays null, independently of the publication date.",
    "Therapeutic classes are the list’s own class codes, not WHO ATC codes.",
    "gov.br publishes its site content under CC BY-ND 3.0. ANVISA also lists these price data as open data (Plano de Dados Abertos 2023–2025), which Decreto 8.777/2016 defines as freely usable with attribution, and official acts are outside copyright (Lei 9.610/1998, art. 8). Medifontis restructures the list into records; whether the no-derivatives notice applies is not resolved."
  ]
}

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: ANVISA · CMED · MAPA. 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 ANVISA registrations, GGREM codes and barcodes.

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