curl --request GET \
--url https://test-instockrx-api.azurewebsites.net/api/v1/ndc-transaction-statistic \
--header 'X-INVIEW-AUTH: <api-key>'const options = {method: 'GET', headers: {'X-INVIEW-AUTH': '<api-key>'}};
fetch('https://test-instockrx-api.azurewebsites.net/api/v1/ndc-transaction-statistic', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://test-instockrx-api.azurewebsites.net/api/v1/ndc-transaction-statistic"
headers = {"X-INVIEW-AUTH": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text){
"highTransacted": {
"price": 123,
"quantity": 123
},
"lowTransacted": {
"price": 123,
"quantity": 123
},
"averageTransacted": {
"price": 123,
"quantity": 123
},
"mostRecentTransacted": {
"price": 123,
"quantity": 123
},
"highPriceOffered": {
"price": 123,
"quantity": 123
},
"lowPriceOffered": {
"price": 123,
"quantity": 123
},
"averagePriceOffered": {
"price": 123,
"quantity": 123
},
"mostRecentPriceOffered": {
"price": 123,
"quantity": 123
},
"highListed": {
"price": 123,
"quantity": 123
},
"lowListed": {
"price": 123,
"quantity": 123
},
"averageListed": {
"price": 123,
"quantity": 123
},
"mostRecentListed": {
"price": 123,
"quantity": 123
}
}Retrieves NDC transaction statistics
Provides transaction statistics for a specific National Drug Code (NDC), including transaction counts, volumes, and other relevant metrics.
Validation Rules
| Field | Required | Type | Rules |
|---|---|---|---|
| nationalDrugCode (query) | Yes | string | Must be a valid NDC (e.g. “12345678901”) |
curl --request GET \
--url https://test-instockrx-api.azurewebsites.net/api/v1/ndc-transaction-statistic \
--header 'X-INVIEW-AUTH: <api-key>'const options = {method: 'GET', headers: {'X-INVIEW-AUTH': '<api-key>'}};
fetch('https://test-instockrx-api.azurewebsites.net/api/v1/ndc-transaction-statistic', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://test-instockrx-api.azurewebsites.net/api/v1/ndc-transaction-statistic"
headers = {"X-INVIEW-AUTH": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text){
"highTransacted": {
"price": 123,
"quantity": 123
},
"lowTransacted": {
"price": 123,
"quantity": 123
},
"averageTransacted": {
"price": 123,
"quantity": 123
},
"mostRecentTransacted": {
"price": 123,
"quantity": 123
},
"highPriceOffered": {
"price": 123,
"quantity": 123
},
"lowPriceOffered": {
"price": 123,
"quantity": 123
},
"averagePriceOffered": {
"price": 123,
"quantity": 123
},
"mostRecentPriceOffered": {
"price": 123,
"quantity": 123
},
"highListed": {
"price": 123,
"quantity": 123
},
"lowListed": {
"price": 123,
"quantity": 123
},
"averageListed": {
"price": 123,
"quantity": 123
},
"mostRecentListed": {
"price": 123,
"quantity": 123
}
}Authorizations
Custom API Key authentication. Default header: X-INVIEW-AUTH.
Query Parameters
The National Drug Code (NDC) to retrieve statistics for.
Response
Transaction, offer and listing price statistics for the requested NDC.
Highest price actually transacted.
Show child attributes
Show child attributes
Lowest price actually transacted.
Show child attributes
Show child attributes
Average price actually transacted.
Show child attributes
Show child attributes
Most recent price actually transacted.
Show child attributes
Show child attributes
Highest price offered in a cash offer.
Show child attributes
Show child attributes
Lowest price offered in a cash offer.
Show child attributes
Show child attributes
Average price offered in a cash offer.
Show child attributes
Show child attributes
Most recent price offered in a cash offer.
Show child attributes
Show child attributes
Highest price listed on the marketplace.
Show child attributes
Show child attributes
Lowest price listed on the marketplace.
Show child attributes
Show child attributes
Average price listed on the marketplace.
Show child attributes
Show child attributes
Most recent price listed on the marketplace.
Show child attributes
Show child attributes