Brazil ANVISA Medicines & CMED Prices Scraper avatar

Brazil ANVISA Medicines & CMED Prices Scraper

Pricing

from $3.00 / 1,000 medicines

Go to Apify Store
Brazil ANVISA Medicines & CMED Prices Scraper

Brazil ANVISA Medicines & CMED Prices Scraper

Search Brazil's official ANVISA medicine registry by name, active ingredient, company, registration number or EAN barcode, with CMED maximum prices per presentation.

Pricing

from $3.00 / 1,000 medicines

Rating

0.0

(0)

Developer

Ciro Villasanti

Ciro Villasanti

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

11 hours ago

Last modified

Features

Limited permissions

Share

Search every medicine registered with ANVISA, Brazil's health regulator, and get clean JSON with the registration number, status, expiry, holder company (CNPJ), active ingredients, regulatory category and, for each presentation, the EAN barcodes and CMED maximum prices (factory price PF and maximum consumer price PMC by ICMS rate).

The Actor reads ANVISA's official open-data files and joins two datasets that are published separately: the medicine registry (Medicamentos registrados) and the CMED price list (Lista de preços de medicamentos). You get one record per registration with all its presentations and prices nested inside.

  • ✅ Official source: ANVISA open data. No login, no captcha, no browser, no scraping of fragile web pages.
  • ✅ Fast and reliable: a search over the whole registry takes about 15 seconds.
  • ✅ Registry and prices together: search by name, ingredient, company, registration number or EAN barcode.
  • ✅ Ready for AI agents and MCP: flat English field names and a fully described output schema.

What data does it extract?

FieldExample
Product name and active ingredientsEUTHYROX, levotiroxina sódica
Registration number, process number100890202, 250000069099013
Status, approval date, expiry monthactive, 1996-03-01, 2036-03
Regulatory category and therapeutic classSimilar, HORMONIOS TIREOIDEANOS…
Holder company and CNPJMERCK S/A, 33069212000184
Presentations (optional)13-digit code, EAN barcodes, description, stripe (tarja), hospital-only flag
CMED prices (optional)PF and PMC without taxes and for every ICMS rate (0%, 12%, 17%, 18%, …)

Use cases

  • Pharmacies and distributors: check the legal maximum price (PMC) of every product you sell, by EAN.
  • Pharma market intelligence: list every generic or similar registered for an active ingredient, with holders and prices.
  • Regulatory monitoring: track registrations that are expiring or have become inactive for a company (CNPJ).
  • E-commerce and healthtech catalogs: enrich products with ANVISA registration, ingredients and therapeutic class.

Input examples

Every active medicine containing dipirona, with prices:

{
"searchTerms": ["dipirona"],
"maxItems": 500
}

Look up products by EAN barcode:

{
"eans": ["7891721014635", "7894916501729"]
}

Full registry of a laboratory (by CNPJ), active and inactive:

{
"holderCnpjs": ["33.069.212/0001-84"],
"status": "all",
"maxItems": 5000
}

Export the whole active registry without prices:

{
"includePrices": false,
"maxItems": 20000
}

Input fields

FieldDescription
searchTermsProduct names, active ingredients or company names. Accents and case are ignored.
registrationNumbers9-digit ANVISA registration numbers (13-digit presentation codes also work).
eansEAN/GTIN barcodes, looked up in the CMED price list.
holderCnpjsCNPJ of the registration holder.
statusactive (default), inactive or all.
includePricesAdd presentations, EANs and CMED prices (default true).
maxItemsMaximum number of medicines to save.

Filters combine with AND. With no filters, the Actor exports the registry from the start of the file up to maxItems.

Output example

{
"registrationNumber": "100890202",
"processNumber": "250000069099013",
"productName": "EUTHYROX",
"activeIngredients": ["levotiroxina sódica"],
"regulatoryCategory": "Similar",
"therapeuticClass": "HORMONIOS TIREOIDEANOS SIMPLES OU ASSOCIADOS ENTRE SI",
"holderCnpj": "33069212000184",
"holderName": "MERCK S/A",
"status": "active",
"approvalDate": "1996-03-01",
"registrationExpiry": "2036-03",
"presentations": [
{
"presentationCode": "1008902020601",
"ggremCode": "525424090054103",
"eans": ["7891721014635"],
"description": "25 MCG COM CT BL AL AL X 30",
"priceRegime": "Regulado",
"stripe": "Tarja Vermelha",
"hospitalOnly": false,
"marketed": false,
"factoryPriceNoTax": 11.03,
"maxConsumerPriceNoTax": 15.24,
"factoryPriceByIcms": { "0": 11.16, "12": 12.68, "17": 13.45, "18": 13.61 },
"maxConsumerPriceByIcms": { "0": 15.38, "12": 17.48, "17": 18.54, "18": 18.76 }
}
],
"registryUpdatedAt": "2026-11-20T09:33:36.000Z",
"pricesUpdatedAt": "2026-10-09T15:43:03.000Z"
}

The price maps include every ICMS rate published by CMED (0, 12, 17, 17.5, 18, 19, 19.5, 20, 20.5, 21, 22, 22.5 and 23%); the example is shortened. Prices are in BRL.

Pricing

Pay per event: you pay only for medicines saved to the dataset.

EventWhen it is charged
medicineOnce for every medicine (registration) saved, with all its presentations and prices included.

Set a maximum cost per run in the run options and the Actor stops cleanly when it reaches it.

Tips and limits

  • ANVISA updates the registry file regularly and CMED publishes a new price list monthly. Each record includes registryUpdatedAt and pricesUpdatedAt so you know how fresh the data is.
  • Only medicines with regulated or monitored prices appear in the CMED list, so some products (for example low-risk notified products) have an empty presentations array.
  • ANVISA's file repeats each registration many times; the Actor merges them into one record. A registration is active if any of its rows is active.

Use it from the API

Run the Actor and get the results in one call. This endpoint waits up to 5 minutes, so use the Python client below for longer runs:

curl -X POST "https://api.apify.com/v2/acts/cvillasanti~brazil-anvisa-medicines/run-sync-get-dataset-items?token=YOUR_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{"searchTerms": ["dipirona"], "maxItems": 500}'

Or with the Python client (pip install apify-client):

from apify_client import ApifyClient
client = ApifyClient("YOUR_API_TOKEN")
run = client.actor("cvillasanti/brazil-anvisa-medicines").call(run_input={
"searchTerms": [
"dipirona"
],
"maxItems": 500
})
for item in client.dataset(run["default_dataset_id"]).iterate_items():
print(item)

It also works from Make, Zapier, n8n, Google Sheets and any AI agent through the Apify MCP server.

FAQ

Is this legal? Yes. The data comes from ANVISA's official open-data portal (dados.anvisa.gov.br), published for public reuse.

How fresh is the data? Each run downloads the latest files from ANVISA, so you always get the current version.

Can I use it from an AI agent? Yes. Call it through the Apify MCP server or the API. The input and output schemas are fully described, so agents can build queries on their own.

Em português

Medicamentos registrados na ANVISA com preços CMED: nome do produto, princípio ativo, número de registro, situação, categoria regulatória, classe terapêutica, empresa detentora e CNPJ, apresentações com código EAN e preços PF e PMC por alíquota de ICMS. Busque por nome ou princípio ativo e exporte para JSON, CSV ou Excel. Útil para farmácias, distribuidoras, indústria farmacêutica e análise de preços.