Typeahead suggest (brand/ingredient groups). No packages on hits.
Suggest hits are what a member picks, in order: the medicine named exactly, then its main forms ("Gabapentin capsule"), brands and other ingredients, combinations, salts and single products; within each, the most widely sold first. Label names that are only the generic name ("Sertraline HCl") are the medicine itself. Everyday names ("vitamin D3", "NPH insulin") and brands still said after leaving the market ("Zofran") find the medicine; such a brand hit shows the name typed with the ingredient as its subtitle.
Request
- Base URL: https://api.pillwise.dev
- URL: https://api.pillwise.dev/v1/drugs/search
- Auth: HTTP bearer
Query parameters
Latest retained snapshot with built_at <= this instant. RFC3339 is an exact instant; YYYY-MM-DD includes that whole UTC day. Envelope freshness is pinned.
Exact snapshot pin. Unknown or pruned versions return 410 gone_graph.
Response
Suggest hits. Empty hits is 200, not 404.
Example response
{
"hits": [
{
"form_label": "Patch",
"strength_label": "14 mg per 24 hours",
"form_options": {
"forms": [
{
"value": "eye_drops",
"label": "Eye drops",
"dose_unit": "drop",
"route": "ophthalmic"
}
],
"strengths": [
{
"value": "0.05 MG/ML",
"label": "0.005%",
"forms": [
"eye_drops"
]
}
],
"routes": [
{
"value": "inhaled",
"label": "Inhaled"
}
]
}
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.