GoodRx API Overview
The GoodRx V2 API suite enables developers to access real-time prescription pricing and discount information from the GoodRx platform. Through our endpoints, you can compare medication prices across pharmacies, retrieve available coupon and membership savings, and obtain key adjudication details to support seamless integration with healthcare, pharmacy, or patient-facing applications.
The Price Compare API (GET /v2/price/compare) returns the lowest available cash and coupon prices for a given drug, including details like dosage, form, quantity, manufacturer type, and pharmacy information. It matches drug names or NDCs to common forms and quantities, and includes both brand and generic equivalents when applicable.
The Coupon API (POST /v2/coupon) provides full coupon adjudication details for offers retrieved from the Price Compare endpoint. This includes pricing, group and member IDs, RxBIN/RxPCN values, and links to HTML or PDF coupon formats. Developers can use this data to deliver accurate, up-to-date GoodRx savings directly within their applications, giving users convenient access to verified pharmacy pricing and coupon information.
Together, these APIs make it easy to power cost transparency tools, medication price comparison features, or patient savings experiences with trusted data from GoodRx.

