Search medicines
GET/v1/drugs
Searches every record of every source in one country by name, active ingredient or identifier. Names match anywhere in the text; identifiers such as AIC, CN, NDC or DIN codes match from their first character. Matching ignores accents and case. Results rank exact matches first, then prefix matches, then other matches, each by record name.
Parameters
-
countrystring Required - Two-letter ISO 3166-1 country code, lowercase. Every search is scoped to one country.
-
qstring Required - The text to search for: a name, an active ingredient or an identifier. 3 to 120 characters, matched literally.
-
limitinteger - Number of results to return, from 1 to 50. Defaults to 20.
-
offsetinteger - Number of results to skip, from 0 to 10000. Use the nextOffset of the previous page.
-
kindsstring - Keep only these record kinds, as comma-separated sourceId:kind pairs of the requested country, at most 12. Applied before pagination.
-
useDomainenum -
Keep only records whose source classifies them for this use. human and veterinary also include products the source marks for both. Applied before pagination.
Possible values:
humanveterinarybothunknownnot-applicable -
speciesstring - Keep only records with this reviewed target species, such as dog, cat, horse or cattle. Records with unknown or unmapped species are excluded. Applied before pagination.
Returns
-
countrystring - The country searched.
-
resultsRecord[] - The matching records, best matches first.
-
nextOffsetinteger | null - The offset of the next page, or null on the last page.
Errors
400 401
403
429 503 ·
Errors and rate limits
curl -G https://api.medifontis.com/v1/drugs \
-H "Authorization: Bearer $MEDIFONTIS_API_KEY" \
--data-urlencode "country=it" \
--data-urlencode "q=tachipirina"const params = new URLSearchParams({ country: 'it', q: 'tachipirina' })
const response = await fetch(`https://api.medifontis.com/v1/drugs?${params}`, {
headers: { Authorization: `Bearer ${process.env.MEDIFONTIS_API_KEY}` },
})
if (!response.ok) throw new Error(`Medifontis ${response.status}`)
const { results, nextOffset } = await response.json()import os
import requests
response = requests.get(
"https://api.medifontis.com/v1/drugs",
params={"country": "it", "q": "tachipirina"},
headers={"Authorization": f"Bearer {os.environ['MEDIFONTIS_API_KEY']}"},
timeout=10,
)
response.raise_for_status()
results = response.json()["results"]
{
"country": "it",
"results": [
{
"country": "it",
"sourceId": "it.aifa.packages",
"id": "it:aifa:packages:012745016",
"kind": "packages",
"name": "TACHIPIRINA",
"data": {
"aic": "012745016",
"atc": "N02BE01",
"form": "Sciroppo",
"name": "TACHIPIRINA",
"holder": "AZIENDE CHIMICHE RIUNITE ANGELINI FRANCESCO A.C.R.A.F. S.P.A.",
"smpcUrl": "https://api.aifa.gov.it/aifa-bdf-eif-be/1.0.0/organizzazione/219/farmaci/12745/stampati?ts=RCP",
"useDomain": "human",
"leafletUrl": "https://api.aifa.gov.it/aifa-bdf-eif-be/1.0.0/organizzazione/219/farmaci/12745/stampati?ts=FI",
"supplyRegime": "Medicinali non soggetti a prescrizione medica ma non da banco",
"targetSpecies": [],
"useDomainEvidence": {
"basis": "publisher-dataset-scope",
"field": "sourceId",
"value": "it.aifa.packages",
"version": 1,
"sourceId": "it.aifa.packages"
},
"packageDescription": "120 mg/5 ml sciroppo> flacone in PET da 120 ml con siringa dosatrice e bicchiere dosatore",
"targetSpeciesStatus": "not-applicable",
"administrativeStatus": "Autorizzata",
"prescriptionCategory": "non-prescription",
"activeIngredientsText": "PARACETAMOLO"
},
"region": null,
"retrievedAt": "2026-10-20T03:30:57.988Z",
"sourceUrl": "https://drive.aifa.gov.it/farmaci/confezioni_fornitura.csv",
"licence": {
"id": "CC-BY-4.0",
"url": "https://www.aifa.gov.it/it/copyright",
"attribution": "Agenzia Italiana del Farmaco (AIFA)",
"documentsIncluded": false
},
"limitations": [
"Publisher labels this dataset provisional and descriptive.",
"Authorisation does not establish current marketing or patient-specific eligibility.",
"Document links do not grant document redistribution rights."
],
"names": [
"TACHIPIRINA",
"PARACETAMOLO"
],
"identifiers": [
{
"value": "012745016",
"scheme": "aic"
},
{
"value": "N02BE01",
"scheme": "atc"
}
]
}
],
"nextOffset": 2
}