Current Active Requests: Pharmacy
Welcome to the Pharmacy section of Current Active Requests. Below are options for Pharmacy. These sections will include descriptors of both, as well as sample requests/parameters for each.
Pharmacy Radius Get
Returns In Network Pharmacies within a distance from a Zip Code for a Group ordered closest to furthest. Pharmacy data is cached automatically on a nightly basis.
Sample Request / Parameters
/PharmacyRadius?groupNum=JHELIG5&radius=5&zip=44087
curl --location --request GET 'https://clientapi.test.ad.rxlogic.com/PharmacyRadius?groupNum=JHELIG5&radius=5&zip=44087'
Pharmacy Radius accepts parameters for Group Number, Radius (in miles), and Zip Code. All 3 are required. A sample response is seen below.
{
"Message": "Success",
"Pharmacies": [
{
"Npi": "1376856062",
"Nabp": "3679149",
"AffiliationCode": "039",
"Name": "CVS PHARMACY #08932",
"Address1": "8059 DARROW RD",
"Address2": "",
"City": "TWINSBURG",
"State": "OH",
"Zip": "440872330",
"Phone": "3304251344",
"Longitude": "-81.440360",
"Latitude": "41.284790"
},
{
"Npi": "1578666319",
"Nabp": "3663223",
"AffiliationCode": "177",
"Name": "CVS PHARMACY #04437",
"Address1": "10085 DARROW RD",
"Address2": "",
"City": "TWINSBURG",
"State": "OH",
"Zip": "44087",
"Phone": "3304254300",
"Longitude": "-81.439170",
"Latitude": "41.339930"
},
{
"Npi": "1164700951",
"Nabp": "3679795",
"AffiliationCode": "904",
"Name": "CCF-TWINSBURG AMBULATORY PHARMACY",
"Address1": "8701 DARROW RD",
"Address2": "",
"City": "TWINSBURG",
"State": "OH",
"Zip": "440872105",
"Phone": "3308884200",
"Longitude": "-81.438262",
"Latitude": "41.302705"
},
{
"Npi": "1053326074",
"Nabp": "3666661",
"AffiliationCode": "226",
"Name": "WALGREENS #4775",
"Address1": "9043 DARROW RD",
"Address2": "API TESTING DO NOT CLEAR",
"City": "TWINSBURG",
"State": "OH",
"Zip": "44087",
"Phone": "3304056268",
"Longitude": "-81.440260",
"Latitude": "41.312250"
}
]
}
/* Enter your code */
Pharmacy Radius Pricing
Returns pricing information for In Network Pharmacies within a distance from a Zip Code for a Group for a provided member, NDC, qty, and days supply. This is a combination of the Pharmacy Radius Get and the Pricing Request API. Results are sorted closest to furthest. Pharmacy data is cached automatically on a nightly basis.
There are two variants of the endpoint, PharmacyRadiusPricing, and MemberPharmacyRadiusPricing. MemberPharmacyRadiusPricing is to be used for programs that verify eligibility and will take the submitted member information and populate other demographic information automatically for the claim submission. PharmacyRadiusPricing is to be used for programs that do not validate eligibility.
Sample Request / Parameters
/PharmacyRadiusPricing
/MemberPharmacyRadiusPricing
curl --location --request POST 'https://clientapi.test.ad.rxlogic.com/PharmacyRadiusPricing' \
--header 'apiKey: 11111111-aa11-1af1-a1e1-111111111111' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--data-urlencode 'memberNumber=CHIDNUMBERHERE' \
--data-urlencode 'personCode=01' \
--data-urlencode 'ndc=61958180101' \
--data-urlencode 'quantity=4.5' \
--data-urlencode 'daysSupply=30' \
--data-urlencode 'groupNum=PHARMRAD1' \
--data-urlencode 'radius=9' \
--data-urlencode 'zip=44087' \
--data-urlencode 'maxRecords=2'
Pharmacy Radius Pricing accepts the following parameters, all of which are required.
|
FIELD |
REQUIRED? |
Additional Info |
|---|---|---|
|
memberNumber |
REQUIRED |
Cardholder ID for the member |
|
personCode |
REQUIRED |
Person Code for the member |
|
ndc |
REQUIRED |
NDC number of the drug product |
|
quantity |
REQUIRED |
Quantity of the product to price out |
|
daysSupply |
REQUIRED |
Days supply of the transaction |
|
groupNum |
REQUIRED |
Group number the member is in |
|
radius |
REQUIRED |
Radius (in miles) from the zip code to look for pharmacies |
|
Zip |
REQUIRED |
Zip code (length 5 only) of the location |
|
maxRecords |
REQUIRED |
Max number of records to be returned |
{
"Message": "Success",
"Response": [
{
"Pharmacy": {
"Npi": "1629083563",
"Nabp": "3673197",
"AffiliationCode": "605",
"Name": "MARCS",
"Address1": "550 W AURORA RD",
"Address2": "",
"City": "SAGAMORE HILLS",
"State": "OH",
"Zip": "44067",
"Phone": "3304684868",
"Longitude": "-81.558250",
"Latitude": "41.313410"
},
"Pricing": {
"RequestId": "79e4c383-e635-4ff2-95b2-5fa9763ea340",
"Status": 3,
"Gpi": "12359902400320",
"UnitCost": 0.0,
"DAWDifference": null,
"PatientPay": null,
"TotalPay": null,
"PlanPay": null,
"ProcessingFee": null,
"DispensingFee": null,
"IncentiveFee": null,
"Copay": null,
"ClientBilled": null,
"MarginApplied": null,
"FQMessage": "PRODUCT/SERVICE NOT COVERED - PLAN/BENEFIT EXCLUSION (PHARMACY NOT IN CASH CARDNETWORK. )",
"F4Message": null,
"BenefitCap": null,
"Deductible": null,
"MOOP": null,
"PatientTax": 0.0,
"SellTax": null,
"BuyTax": null,
"PharmacyFee": null,
"VaccineAdminFee": null,
"SellDispensingFee": null,
"BuyDispensingFee": null,
"SellIngredientCost": null,
"BuyIngredientCost": null,
"RejectCodes": "70",
"BillCostCalculatorRuleName": null,
"CostCalculatorRuleName": null,
"CopayRuleName": null
}
},
{
"Pharmacy": {
"Npi": "1447353271",
"Nabp": "3662334",
"AffiliationCode": "177",
"Name": "CVS PHARMACY #03393",
"Address1": "118 WEST GARFIELD RD",
"Address2": "",
"City": "AURORA",
"State": "OH",
"Zip": "44202",
"Phone": "3305627032",
"Longitude": "-81.350030",
"Latitude": "41.3175"
},
"Pricing": {
"RequestId": "b830b1a9-15ae-4b63-8e74-248f8487208b",
"Status": 1,
"Gpi": "12359902400320",
"UnitCost": 1039.5000000000,
"DAWDifference": null,
"PatientPay": 200.00,
"TotalPay": 4489.52,
"PlanPay": 4482.75,
"ProcessingFee": 0.0,
"DispensingFee": 5.00,
"IncentiveFee": 2.33,
"Copay": 200.00,
"ClientBilled": 4482.75,
"MarginApplied": 4682.75000000,
"FQMessage": "USED NETWORK MAC",
"F4Message": null,
"BenefitCap": null,
"Deductible": null,
"MOOP": null,
"PatientTax": 0.0,
"SellTax": 0.0000,
"BuyTax": 0.0,
"PharmacyFee": 2.77,
"VaccineAdminFee": null,
"SellDispensingFee": 0.0,
"BuyDispensingFee": 5.00,
"SellIngredientCost": 4682.75000000,
"BuyIngredientCost": 4677.75,
"RejectCodes": "",
"BillCostCalculatorRuleName": "TRANSPARENT",
"CostCalculatorRuleName": "APIClostCalc",
"CopayRuleName": "$4 HD DISCOUNT"
}
}
]
}
/* Enter your code */