Search draft listings.
Search
Search draft listings.
Paginated search across InStockRx draft listings with filtering and sorting.
Validation Rules
| Field | Required | Type | Rules |
|---|---|---|---|
| PharmacyNpi | Yes | long | Must be a valid NPI |
| SearchTerm | No | string | Free-text search across drug name, form, and strength |
| HideGeneric | No | bool | Exclude generic drugs |
| HideBranded | No | bool | Exclude branded drugs |
| TornPackageLabel | No | bool | Filter by torn package labels |
| FullPackage | No | bool | Filter by full packages only |
| SealedPackage | No | bool | Filter by sealed packages only |
| OriginalPackage | No | bool | Filter by original packaging only |
| SortName | No | string | Allowed: nationalDrugCode, price, expirationDate, packageName |
| SortDirection | No | string | asc or desc |
| Start | No | int | Pagination offset (default: 0) |
| Take | No | int | Page size (default: 10) |
POST
Search draft listings.
Authorizations
Custom API Key authentication. Default header: X-INVIEW-AUTH.