Docs / API reference

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

country string Required
Two-letter ISO 3166-1 country code, lowercase. Every search is scoped to one country.
q string Required
The text to search for: a name, an active ingredient or an identifier. 3 to 120 characters, matched literally.
limit integer
Number of results to return, from 1 to 50. Defaults to 20.
offset integer
Number of results to skip, from 0 to 10000. Use the nextOffset of the previous page.
kinds string
Keep only these record kinds, as comma-separated sourceId:kind pairs of the requested country, at most 12. Applied before pagination.
useDomain enum
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: human veterinary both unknown not-applicable

species string
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

country string
The country searched.
results Record[]
The matching records, best matches first.
nextOffset integer | null
The offset of the next page, or null on the last page.

Errors

400 401 403 429 503 · Errors and rate limits

GET /v1/drugs
curl -G https://api.medifontis.com/v1/drugs \
  -H "Authorization: Bearer $MEDIFONTIS_API_KEY" \
  --data-urlencode "country=it" \
  --data-urlencode "q=tachipirina"
Response
{
  "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
}