Developers
Official medicine data, one API call away
Medifontis gives your application the medicine registers of 199 countries through a small, predictable REST API: three GET endpoints, one record shape, provenance on every result.
curl -G https://api.medifontis.com/v1/drugs \
-H "Authorization: Bearer $MEDIFONTIS_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 ${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": "es", "q": "enantyum"},
headers={"Authorization": f"Bearer {os.environ['MEDIFONTIS_API_KEY']}"},
timeout=10,
)
response.raise_for_status()
results = response.json()["results"]
Get started
Three steps to your first result
-
1
Create a key
Sign up with your email and get a key instantly. No credit card, no sales call.
Get your API key -
2
Search a medicine
Call GET /v1/drugs with a country and a name, an active ingredient or a national code.
Quickstart -
3
Show where it came from
Every record carries its source, licence and limitations, ready to display next to the data.
Records and provenance
API
The whole API at a glance
GET
/v1/drugsSearch medicines
GET/v1/drugs/suggestionsSuggest medicine names
GET/v1/drugs/recordRetrieve a record
- Bearer or X-Api-Key authentication
- 300 requests per minute per key
- JSON responses, OpenAPI 3.1 contract
- Read-only: no write endpoints, no patient data
Resources
Everything you need to integrate
Quickstart
Your first request in five minutes.
Guides
Search, suggestions, records, errors and licences.
API reference
Every endpoint, parameter and field.
AI agents
Give assistants a tool for official medicine data.
Coverage
199 countries and their sources.
Contact
Questions about the API, a source or a licence.
OpenAPI 3.1
Generate a client or import the API into your tools.
llms.txt
A plain-text summary of the API for language models.
Start building with official medicine data
Your API key works immediately with every country and every endpoint.