All API requests require authentication using your API key in the header:
/drug-autocomplete
Retrieve a list of medications that match the search query.
{ "matches": [ "asparaginase", "aspirin", "aspirin with codeine", "aspirin with metoclopramide", "biphasic insulin aspart", "caspofungin", "crisantaspase", "insulin aspart", "magnesium aspartate", "pegaspargase", "wasp venom extract" ] }
Requests are unlimited. Each request costs 1 credit from your account.
Status Code | Description |
---|---|
400 | Bad Request - Invalid parameters |
401 | Unauthorized - Invalid or missing API key |
403 | Forbidden - Insufficient credits or permissions |
404 | Not Found - Requested resource does not exist |
429 | Too Many Requests - Rate limit exceeded |
500 | Internal Server Error |