GET
Drug-name autocomplete

Authorizations

X-InStockRx-Api-Key
string
header
required

Scoped partner API key. Send the whole key, e.g. ik_live_a1b2c3…, on every request.

Headers

X-Pharmacy-Id
string<uuid>

Which pharmacy in your group you are acting as. Required whenever your group holds more than one pharmacy — omitting it is then 400 missing-pharmacy-context. With exactly one pharmacy it may be omitted, but send it anyway: the call starts failing the day a second pharmacy is added.

Query Parameters

q
string
required

Partial drug name (>=2 chars).

Required string length: 2 - 100
limit
integer
default:10
Required range: 1 <= x <= 25

Response

200 - application/json

OK

data
object[]