GoodRx

Get GoodRx drug prices by pharmacy

Returns GoodRx coupon, membership, and mail-order prices by pharmacy for one drug and prescription (brand/generic label, form, dosage, quantity), plus the drug summary, the priced configuration, the location prices were computed for, and every available label/form/dosage/quantity. Omit label/form/dosage/quantity for GoodRx's default prescription; values must come from /goodrx/drug-options. Pass latitude and longitude (optionally zip_code and state) to price at a US location; otherwise prices reflect a US location chosen by GoodRx. Requests use US egress because GoodRx is US-only.

get/goodrx/drug-prices

Request

  • Base URL: https://api.crawlora.net/api/v1
  • URL: https://api.crawlora.net/api/v1/goodrx/drug-prices
  • Auth: API key in header x-api-key

Query parameters

slugstring required

Drug slug from /goodrx/drugs, /goodrx/class, or /goodrx/condition-drugs

labelstring

Brand or generic label slug from /goodrx/drug-options

formstring

Form slug from /goodrx/drug-options

dosagestring

Dosage slug from /goodrx/drug-options

quantityinteger

Quantity (1-999999); /goodrx/drug-options lists GoodRx's standard quantities

latitudenumber

Latitude of a US location to price at (requires longitude)

longitudenumber

Longitude of a US location to price at (requires latitude)

zip_codestring

Five-digit ZIP code of that location

statestring

Two-letter state code of that location

Headers

x-api-keystring required

API key required

Response

OK

Changes

No recorded changes to this operation across all 2 revisions of this API.