Herbadex
Open Data and Static API
The core of the Herbadex catalogue is published as versioned, read-only JSON files. They are generated from the published records on every site build; no server, key or account is needed.
The core is deliberately narrow: identity, names and page links in three languages, Latin name, form, highest evidence level, safety flags, source references and dates. Benefit statements, preparation, interaction texts and FAQs stay on the site.
What is in, what is out
| In the core | Not in the core |
|---|---|
| Record id, name, slug and absolute page URL in three languages | Benefit statements and evidence explanations |
| Latin name, plant family, form, parts used, tags | Preparation, amount and duration details (How to use) |
| Risk level; pregnancy, breastfeeding and children status; external-only, age and duration flags | Safety notes, side effects and interaction texts |
| Highest evidence level of the record (A, B, C, T) and the sourced need ids | FAQ, "Did you know?" facts and editor notes |
| Number of recorded interaction rows and the medicine class ids they name | Summary and intro texts, change log |
| Source references (id, title, publisher, year, URL, type) | Draft records and records under review |
| Update and source-check dates, card image URL | |
| Licence, attribution text and a notice in three languages |
Endpoints
All files are read with GET, allow cross-origin requests (Access-Control-Allow-Origin: *) and are cached for one day. They are noindex for search engines.
https://herbadex.com/api/v1/index.json- Version, record count, last update, licence and endpoint list
https://herbadex.com/api/v1/herbs.json- Core array of all published records (one file; licence, attribution and notice are given once in index.json)
https://herbadex.com/api/v1/herbs/{id}.json- One record; replace {id} with a record id
Example:https://herbadex.com/api/v1/herbs/papatya.json
Field reference
id- Permanent record id; equals the Turkish slug and never changes.
slug, name, urls- Objects keyed tr, en and de: slug, display name and absolute page URL per language.
latinName, family- Botanical name and, when known, the plant family.
form, partsUsed, tags- Form id (the Turkish slug of the form page, /tr/form/<id>/; its hreflang links give the English and German names), parts used (English) and tags.
riskLevel- Editorial risk level: low, medium, high. It is not a personal assessment.
safety- avoid, caution, generally-safe or unknown for pregnancy, breastfeeding and children; externalOnly, minAgeYears and maxDurationDays flags. unknown means no data, not that something is safe.
evidence- Highest evidence level of the record: A strong clinical, B limited clinical, C laboratory/animal, T traditional use. null when the record has no benefits.
needs- Need ids derived from the sourced benefits; each id is the Turkish slug of the need page (/tr/ihtiyac/<id>/).
interactionsRecorded, interactionClassIds- Number of recorded interaction rows and the medicine class ids they name (Turkish slugs; the interaction checker on the site lists the class names in three languages). Row texts are not in the core; 0 or an empty list does not mean there are no interactions.
drugNames, compoundClassIds- Official Latin drug names (Ph. Eur., EMA HMPC, WHO, ESCOP, Commission E, Turkish Pharmacopoeia; empty when no monograph names the drug) and the ids of the characteristic constituent classes, most characteristic first (e.g. essential-oil, flavonoid). The site catalogue filters by these classes.
sources- References of the sources the record relies on: id, title, publisher, year, url, type.
updatedAt, evidenceCheckedAt- Last record update and the last day the sources were checked against their publishers (ISO 8601).
image- Absolute URL of the 640 px card image; absent when the record has no image.
license, attribution, disclaimer- Licence, attribution text and the notice in three languages; present in index.json and in every single-record file, not repeated in the herbs.json array.
Licence
The data is offered under Creative Commons BY-NC-ND 4.0: attribution is required; commercial use and derivative works are outside the licence. Attribution names "Herbadex" and links to the relevant page.
Commercial use, full texts, interaction rows and the update feed are provided under a separate licence agreement.
Revision cards and tables built from these records: Study Materials
For a commercial licence: iletisim@herbadex.com
Not a medical decision tool
Herbadex data is general information; it is not medical advice and not a medical decision tool. An empty or unknown flag does not mean something is safe. Personal questions belong to a doctor or pharmacist.
Version and updates
Version 1 · 166 published records · last update
The version number increases when a field name or meaning changes; new optional fields may be added within the same version. Files are refreshed on every site build; there is no separate feed or notification.