Index

get/v1/drugs/{id}

Request

  • Base URL: https://api.pillwise.dev
  • URL: https://api.pillwise.dev/v1/drugs/{id}
  • Auth: HTTP bearer

Path parameters

idstring required
Example:pw_d_tylenol

Query parameters

as_ofstring

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.

graph_versionstring

Exact snapshot pin. Unknown or pruned versions return 410 gone_graph.

Response

Canonical drug. drug.member gives its form, strength and name in members' words (see MemberView).

Example response

{
  "drug": {
    "member": {
      "display_name": "Albuterol inhaler, 90 mcg per puff",
      "dose_form": "Metered Dose Inhaler"
    }
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.