GoodRx APIs

Put GoodRx's Prescription Drug Prices On Your Site!

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.

Copyright ©2026 GoodRx, Inc.

GoodRx is not sponsored by or affiliated with any of the pharmacies identified in its price comparisons. All trademarks, brands, logos and copyright images are property of their respective owners and rights holders and are used solely to represent the products of these rights holders. This information is for informational purposes only and is not meant to be a substitute for professional medical advice, diagnosis or treatment. GoodRx is not offering advice, recommending or endorsing any specific prescription drug, pharmacy or other information on the site. GoodRx provides no warranty for any of the pricing data or other information. Please seek medical advice before starting, changing or terminating any medical treatment.

In all states except Tennessee, GoodRx is considered a marketer of prescription discount cards, and is not required to register as a discount card provider. In Tennessee, GoodRx is registered as a Prescription Drug Discount Plan Operator.

GoodRx works to make its website accessible to all, including those with disabilities. If you are having difficulty accessing this website, please email us at ada@goodrx.com so that we can provide you with the services you require through alternative means.

Safe Pharmacy