Goodrx
Use GoodRx data APIs through OpenAny to retrieve drug-name matches and source identifiers for price queries. For search, provide search expression or keywords (q). Other available operations include drug, lowest prices, prices. Search results can distinguish drug names, conditions and classes, with each matching entry's source type and slug retained so that a name match is not mistaken for a personalised pharmacy quotation. Match drug names or prefixes, distinguish the result types and obtain a source slug for later formulation or price queries. Each API page provides supported parameters, request and response examples, and usage pricing.
- Endpoints
- 4In this collection
- Providers
- 1Unique providers
- Requests
- —Loading...
- Success rate
- —Loading...
- Response P50
- —Loading...
Available APIs
GoodRx drug API
Use the GoodRx drug API to retrieve drug identity and the available formulation or version options. Provide drug slug or supported link (drug); refine the result with side-effect and interaction notes option (notes). The drug record lists available labels, forms, strengths and version choices together with source-published drug information, supplying the selectors required to ask the pharmacy-price endpoint about one specific formulation. Identify brand or generic drug variants, compare available forms and strengths and obtain the version selectors needed for a price query. The detail page provides the supported parameters, request examples, available response examples and usage pricing for this operation.
GoodRx lowest prices API
Use the GoodRx lowest prices API to retrieve the lowest source-listed prices for up to 25 drug names, with a found flag for each requested drug. Provide comma-separated drug names (drugs). Compare source-listed prescription prices, keep the requested drug conditions aligned and examine the pharmacy or price options returned. A call accepts up to 25 drug names. A drug with no price has found=false; this batch view does not take the ZIP and formulation selectors of the pharmacy-prices endpoint. The detail page provides the supported parameters, request examples, available response examples and usage pricing for this operation.
GoodRx search API
Use the GoodRx search API to retrieve drug-name matches and source identifiers for price queries. Provide search expression or keywords (q). Search results can distinguish drug names, conditions and classes, with each matching entry's source type and slug retained so that a name match is not mistaken for a personalised pharmacy quotation. Match drug names or prefixes, distinguish the result types and obtain a source slug for later formulation or price queries. The detail page provides the supported parameters, request examples, available response examples and usage pricing for this operation.
GoodRx prices API
Use the GoodRx prices API to retrieve pharmacy prices near a US ZIP code for a selected drug version, including coupon, retail or membership options where listed. Provide drug slug or supported link (drug), US ZIP code (zip); refine the result with brand or generic label (label), drug formulation (form). Compare source-listed prescription prices, keep the requested drug conditions aligned and examine the pharmacy or price options returned. Prices depend on US location, drug formulation, dosage and quantity. These are source-listed offers rather than a prescription, insurance decision or guaranteed purchase price. The detail page provides the supported parameters, request examples, available response examples and usage pricing for this operation.
Common questions
How are Goodrx APIs priced?
Each endpoint publishes its own rate and billing unit. Compare the selected implementation and request-specific conditions; a collection starting price is not a quote for every request.
How do I authenticate Goodrx requests?
Use your OpenAny API key from a secure environment variable for supported account-based calls. Never paste secrets into prompts, documentation examples or public logs.
Are all implementations interchangeable?
No. Read each endpoint request schema, response examples and limitations before execution. Different suppliers may expose different fields and behavior; approve the budget before a paid call.
Use Goodrx with your agent
Inspect endpoint contracts and confirm availability and pricing before a paid call.