CIMA medicines and packages
Authorised medicines and their packages from the AEMPS CIMA catalogue, with registration numbers and national codes.
- Records
- 67,515
- Licence
- Publisher terms
Registration number
🇪🇸 Spain · AEMPS · CIMA · CIMAVet
Search every medicine in the AEMPS CIMA catalogue by name, active ingredient, registration number or national code, including veterinary medicines from CIMAVet. One REST API, collected daily, with the source and licence of every record.
Instant access. No credit card required.
curl -G https://api.medifontis.com/v1/drugs \
-H "Authorization: Bearer mf_live_your_api_key" \
--data-urlencode "country=es" \
--data-urlencode "q=enantyum"const params = new URLSearchParams({ country: 'es', q: 'enantyum' })
const response = await fetch(`https://api.medifontis.com/v1/drugs?${params}`, {
headers: { Authorization: 'Bearer mf_live_your_api_key' },
})
if (!response.ok) throw new Error(`Medifontis ${response.status}`)
const { results, nextOffset } = await response.json()import requests
response = requests.get(
"https://api.medifontis.com/v1/drugs",
params={"country": "es", "q": "enantyum"},
headers={"Authorization": "Bearer mf_live_your_api_key"},
timeout=10,
)
response.raise_for_status()
results = response.json()["results"]
{
"country": "es",
"results": [
{
"country": "es",
"sourceId": "es.aemps.cima",
"id": "es:cima:medicines:60927",
"kind": "medicines",
"name": "ENANTYUM 12,5 mg COMPRIMIDOS",
"names": [
"ENANTYUM 12,5 mg COMPRIMIDOS"
],
"identifiers": [
{
"value": "60927",
"scheme": "registration"
}
],
"data": {
"form": "COMPRIMIDO RECUBIERTO",
"name": "ENANTYUM 12,5 mg COMPRIMIDOS",
"holder": "Laboratorios Menarini S.A.",
"doseText": "12,5 mg",
"useDomain": "human",
"supplyRegime": "Medicamento Sujeto A Prescripción Médica"
},
"retrievedAt": "2026-10-20T04:47:41.074Z",
"sourceUrl": "https://cima.aemps.es/cima/rest",
"licence": {
"id": "LicenseRef-AEMPS-CIMA-REST",
"attribution": "Fuente de la información: Agencia Española de Medicamentos y Productos Sanitarios www.aemps.gob.es"
}
}
],
"nextOffset": 2
}
Try it before you integrate
Explore a small saved sample of official records. Create a free key to search the complete API.
🇪🇸 Spain
Every record comes from one of these publishers, with its counts and licence as of the latest collection.
Authorised medicines and their packages from the AEMPS CIMA catalogue, with registration numbers and national codes.
Registration number
Veterinary medicines from AEMPS CIMAVet, with registration numbers, national codes and ATCvet codes.
ATCvetRegistration numberNational code
Homeopathic medicines registered with AEMPS.
National codeRegistration number
Why Medifontis
Records from 199 countries share the same JSON shape, so code written for one country works for every other.
Search brand names, active ingredients and identifiers such as AIC, CN, CIP13, NDC, DIN or BNF codes, without worrying about accents or case.
Each result carries its source URL, retrieval time, licence and limitations, so you can show users exactly where the data comes from.
Filter by use domain and target species wherever the source publishes them.
A dedicated endpoint returns distinct names while users type, ranked exact, prefix, then substring.
Every source is collected on a daily schedule and published atomically, so you never read a half-imported country.
Provenance
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.
{
"sourceUrl": "https://cima.aemps.es/cima/rest",
"retrievedAt": "2026-10-20T04:47:41.074Z",
"licence": {
"id": "LicenseRef-AEMPS-CIMA-REST",
"url": "https://sede.aemps.gob.es/datos-abiertos/",
"scope": "CIMA REST metadata; not the separately restricted Nomenclátor bulk database",
"termsUrl": "https://www.aemps.gob.es/aviso-legal/",
"reviewedAt": "2026-09-24",
"attribution": "Fuente de la información: Agencia Española de Medicamentos y Productos Sanitarios www.aemps.gob.es",
"documentsIncluded": false
},
"limitations": [
"Complete unfiltered human-medicine registrations and presentations currently exposed by CIMA, not a historical archive of all Spanish authorisations.",
"Two identical full passes detect observed drift but CIMA supplies no point-in-time snapshot guarantee.",
"Authorisation, marketing, prescription requirement and patient/prescriber eligibility are separate facts.",
"Autonomous-community reimbursement, dispensing pathways, treatment plans and patient eligibility are not collected.",
"Official document URLs and their supplied modification dates only; no document content or images are redistributed.",
"REST reuse relies on the AEMPS open-data listing and website notice, not a Creative Commons licence or the Nomenclátor bulk terms."
]
}
Use cases
Let clinicians find the exact authorised product and keep its national code with the prescription.
Match your catalogue to national codes and keep product names and holders in sync with the regulator.
Autocomplete medicine names in medication lists, reminders and intake forms.
Ground answers about medicines in official records instead of model memory.
Track authorised products, holders and presentations across countries.
Search veterinary medicines and their target species where regulators publish them.
Coverage
The same endpoints and the same record shape for every country Medifontis covers.
FAQ
From the official publishers listed above: AEMPS · CIMA · CIMAVet. Medifontis collects each source as published and keeps every record independent; records from different sources are never merged or matched by name.
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.
Names match anywhere in the text and identifiers match from their first character. For this country that covers registration numbers, national codes and ATCvet codes.
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.
No. Medifontis reports what official sources publish. It does not decide whether a medicine is suitable, available or reimbursed for a patient.
Create an API key in a few seconds. It works immediately, for every country and every endpoint, and there is nothing to install.
Your API key works immediately with every country and every endpoint.