{"data":{"billing":{"currency":"USD","mode":"rules","parameters":[],"policy_version":2,"sale":{"addons":[],"base_price_micro_usd":"0","max_cost_micro_usd":"2000","quantities":[{"id":"upstream_credits","label":"Actual API.SH credits consumed","max_quantity":"1","measure":"value","pointer":"/credits_used","price_micro_usd":"2000","quantity_scale":0,"source":"response","unit":"credit","unit_quantity":"1"}],"rounding":"ceil","variants":[]}},"capabilityId":"28d0d9b3-1b98-41ff-9c8f-e8cc27d6a0e8","catalogType":"api","categories":["data"],"dataPlatform":"goodrx","dataPlatformLogoUrl":"https://api.sh/logos/goodrx.png","dataPlatformTranslations":{},"dataProduct":"medicine-reference","description":"Get GoodRx drug metadata by slug or URL via REST or OpenAny MCP—with pay-per-use pricing, no subscription, and no proxies required. Powered by Apish, pass parameters such as drug, output, and retrieve structured data including source drug slug, source drug name, default source strength, source formulation identifier, and form selector slug for drug catalogue, and price lookup.","descriptionTranslations":{"ar":"استرجع بيانات دواء GoodRx بالمسار أو الرابط، مع نسخ الشكل الدوائي والكمية الافتراضية وملاحظات المصدر الاختيارية لربط الدواء بخيارات بحث الأسعار. استخدم بيانات المصدر لبناء دليل مرتبط أو فهرس معلومات، مع حفظ الموقع والتواريخ وسياق كل حقل وأمثلة الطلبات المدعومة وتسعير التنفيذ الحالي في صفحة API.","ja":"スラッグまたは URL で GoodRx 医薬品情報を取得し、製剤バージョン・既定数量・任意の出典説明から価格検索を準備できます。 返された出典データをリンク付きディレクトリや情報カタログに使い、地域・日付・各項目の文脈を保持できます。API 詳細ページには対応リクエスト例と選択した実装の料金があります。","zh":"通过来源 slug 或链接查询 GoodRx 药品资料，获取剂型版本、默认数量和可选来源说明，为价格查询选择有效药品版本。 可利用返回的来源数据构建带链接的目录或信息库，保留地区、日期和各字段的上下文；API 详情页提供受支持的请求示例及当前实现价格。"},"effectContentHtml":"","executionMode":"sync","id":"f3bf8bf8-ffc5-406a-8cda-eedd5f7e15ae","includedContentHtml":"","inputs":[{"description":"Drug slug from search, or a goodrx.com drug link.","location":"query","name":"drug","nullable":false,"required":true,"type":"string"},{"description":"Include the side-effect and interaction notes (default true).","location":"query","name":"notes","nullable":false,"required":false,"type":"boolean"},{"description":"0 leaves out the bulky `raw` source blocks (often 10-30x smaller).","enum_values":["0","1"],"location":"query","name":"raw","nullable":false,"required":false,"type":"string"},{"description":"Comma-separated fields to return, e.g. `posts.id,posts.title`. Call metadata is always included.","location":"query","name":"fields","nullable":false,"required":false,"type":"string"},{"description":"1 skips the 24-hour cache and fetches live.","enum_values":["1"],"location":"query","name":"fresh","nullable":false,"required":false,"type":"string"},{"description":"JSON only for this OpenAny product. Omit output or use json; CSV and NDJSON exports are not exposed.","enum_values":["json"],"location":"query","name":"output","nullable":false,"required":false,"type":"string"},{"description":"Native CSV/NDJSON record selector; it has no effect on this JSON-only product.","location":"query","name":"records","nullable":false,"required":false,"type":"string"}],"logoUrl":"https://api.sh/logos/goodrx.png","method":"GET","name":"GoodRx drug API","nameTranslations":{},"overviewHtml":"\u003ch2\u003eGoodRx Drug Metadata API\u003c/h2\u003e\n\u003cp\u003eUse drug from Search and optionally notes=false. versions retains distinct label, form, dosage and quantity choices; source side-effect or interaction notes are informational content, separate from personalised prescribing.\u003c/p\u003e\n\u003ch2\u003eQuick Facts\u003c/h2\u003e\n\u003ctable\u003e\n\u003cthead\u003e\n\u003ctr\u003e\n\u003cth\u003eFact\u003c/th\u003e\n\u003cth\u003eValue\u003c/th\u003e\n\u003c/tr\u003e\n\u003c/thead\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd\u003eAccess\u003c/td\u003e\n\u003ctd\u003eOpenAny REST\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eAuthentication\u003c/td\u003e\n\u003ctd\u003eOpenAny API key in the Authorization header\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eCore inputs\u003c/td\u003e\n\u003ctd\u003eRequired: drug. Optional: notes. JSON output; fresh=1 bypasses cache and raw=0 omits raw source blocks.\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eSelected implementation\u003c/td\u003e\n\u003ctd\u003eapish · GoodRx drug API\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003eBilling\u003c/td\u003e\n\u003ctd\u003eSee the pricing area for the selected implementation and request options\u003c/td\u003e\n\u003c/tr\u003e\n\u003c/tbody\u003e\n\u003c/table\u003e\n\u003ch2\u003eWhat You Can Build\u003c/h2\u003e\n\u003cul\u003e\n\u003cli\u003e\u003cstrong\u003eDrug catalogue\u003c/strong\u003e: Keep labels, strengths and forms as separate versions.\u003c/li\u003e\n\u003cli\u003e\u003cstrong\u003ePrice lookup\u003c/strong\u003e: Use source version selectors in a follow-up price request.\u003c/li\u003e\n\u003c/ul\u003e\n\u003ch2\u003eReturned Data\u003c/h2\u003e\n\u003ctable\u003e\n\u003cthead\u003e\n\u003ctr\u003e\n\u003cth\u003eField\u003c/th\u003e\n\u003cth\u003eMeaning\u003c/th\u003e\n\u003c/tr\u003e\n\u003c/thead\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eslug\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eSource drug slug\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003ename\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eSource drug name\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003edefault_version.dosage\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eDefault source strength\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eversions[].drug_id\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eSource formulation identifier\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eversions[].form_slug\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eForm selector slug\u003c/td\u003e\n\u003c/tr\u003e\n\u003ctr\u003e\n\u003ctd\u003e\u003ccode\u003eversions[].dosage_slug\u003c/code\u003e\u003c/td\u003e\n\u003ctd\u003eStrength selector slug\u003c/td\u003e\n\u003c/tr\u003e\n\u003c/tbody\u003e\n\u003c/table\u003e\n\u003ch2\u003eQuick Start\u003c/h2\u003e\n\u003col\u003e\n\u003cli\u003eSet OPENANY_API_KEY to your OpenAny API key.\u003c/li\u003e\n\u003cli\u003eReview the selected implementation and pricing, then adapt the request below to your target.\u003c/li\u003e\n\u003cli\u003eCheck the HTTP response and business result before reading optional fields.\u003c/li\u003e\n\u003c/ol\u003e\n\u003cpre\u003e\u003ccode class=\"language-bash\"\u003ecurl --request GET --get \\\n  https://api.openany.si/v1/agent-apis/apish/goodrx/v1/drug \\\n  -H \u0026#34;Authorization: Bearer ${OPENANY_API_KEY}\u0026#34; \\\n  --data-urlencode drug=lisinopril \\\n  --data-urlencode output=json\n\u003c/code\u003e\u003c/pre\u003e\n\u003ch2\u003eRequest and Response Examples\u003c/h2\u003e\n\u003cp\u003eThe response example is a documentation reference and may be abbreviated. The documented request is a calling template; use the published contract and returned response for the selected implementation.\u003c/p\u003e\n\u003cp\u003e\u003ca href=\"https://openany.si/api/v1/agent-apis/f3bf8bf8-ffc5-406a-8cda-eedd5f7e15ae\"\u003ePublished GoodRx Drug Metadata API implementation contract\u003c/a\u003e.\u003c/p\u003e\n\u003ch2\u003ePricing and Billing\u003c/h2\u003e\n\u003cp\u003eThe pricing area reflects the selected API implementation. Review its billing unit and any request-dependent rules before calling; a source service\u0026#39;s public availability does not determine OpenAny billing.\u003c/p\u003e\n\u003ch2\u003eFrequently Asked Questions\u003c/h2\u003e\n\u003ch3\u003eWhere do version selectors come from?\u003c/h3\u003e\n\u003cp\u003eUse versions for label_slug, form_slug, dosage_slug and available quantities when preparing a Prices request.\u003c/p\u003e\n\u003ch3\u003eHow do I omit side-effect and interaction notes?\u003c/h3\u003e\n\u003cp\u003eSet notes=false; the documented default includes notes.\u003c/p\u003e\n\u003ch3\u003eAre drug id and version drug_id identical?\u003c/h3\u003e\n\u003cp\u003eThey identify different source records. Preserve the drug metadata identity and each formulation version.\u003c/p\u003e\n\u003ch3\u003eDoes retrieving notes select a treatment or dosage?\u003c/h3\u003e\n\u003cp\u003eNo. It returns source information and version metadata; it does not prescribe or tailor instructions to a patient.\u003c/p\u003e\n\u003ch3\u003eHow do I bypass cached results?\u003c/h3\u003e\n\u003cp\u003ePass fresh=1. A cache bypass retrieves available source data; it does not make unpublished or restricted records available.\u003c/p\u003e\n\u003ch3\u003eCan I request CSV or NDJSON?\u003c/h3\u003e\n\u003cp\u003eThis OpenAny implementation serves JSON only. Omit output or set output=json.\u003c/p\u003e\n\u003ch2\u003eRelated APIs\u003c/h2\u003e\n\u003cul\u003e\n\u003cli\u003e\u003ca href=\"https://openany.si/market/apis/goodrx/goodrx-lowest-prices-api\"\u003eGoodRx lowest prices API\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://openany.si/market/apis/goodrx/goodrx-prices-api\"\u003eGoodRx prices API\u003c/a\u003e\u003c/li\u003e\n\u003cli\u003e\u003ca href=\"https://openany.si/market/apis/goodrx/goodrx-search-api\"\u003eGoodRx search API\u003c/a\u003e\u003c/li\u003e\n\u003c/ul\u003e\n","pagePath":"/markets/apis/goodrx/goodrx-drug-api?offering=f3bf8bf8-ffc5-406a-8cda-eedd5f7e15ae","providerId":"apish","publicPath":"/v1/agent-apis/apish/goodrx/v1/drug","requestContentType":"none","revision":3,"samples":[{"http_status":200,"name":"Official example · Official documentation response · Supplier-tr","request":{"body":null,"headers":{},"path":{},"query":{"drug":"lisinopril","output":"json"}},"response_body":{"cached":false,"conditions":[{"name":"Heart Attack","slug":"heart-attack","url":"https://www.goodrx.com/conditions/heart-attack"},{"name":"Heart Failure","slug":"heart-failure","url":"https://www.goodrx.com/conditions/heart-failure"},"… 1 more"],"credits_used":1,"default_version":{"dosage":"20mg","drug_id":"193","form":"tablet","label":"lisinopril","quantity":90},"description_html":"Lisinopril (\u003ca href='/prinivil'\u003ePrinivil\u003c/a\u003e, \u003ca href='/zestril'\u003eZestril\u003c/a\u003e) is an inexpensive drug used to treat \u003ca href='/hypertension'\u003eh…","drug_class":{"name":"ACE inhibitors","slug":"ace-inhibitors"},"forms":["tablet"],"id":"2412","interactions_html":"\u003cp\u003eAlthough certain medicines should not be used together at all, in other cases two different medicines may be used together even if an int…","labels":["prinivil","zestril","… 1 more"],"name":"Lisinopril","side_effects_html":"\u003cdiv class=\"consumer-group\"\u003e\u003cp\u003eAlong with its needed effects, a medicine may cause some unwanted effects. Although not all of these side eff…","similar_drugs":[{"name":"Accupril","slug":"accupril","url":"https://www.goodrx.com/accupril"},{"name":"Aceon","slug":"aceon","url":"https://www.goodrx.com/aceon"},"… 12 more"],"slug":"lisinopril","titles":["Lisinopril"],"url":"https://www.goodrx.com/lisinopril","versions":[{"default_quantity":30,"dosage":"5mg","dosage_slug":"5mg","drug_id":"28955","form":"tablet","form_slug":"tablet","image":null,"label":"Prinivil","label_slug":"prinivil","label_type":"BRAND","lifecycle":"ON_MARKET","quantities":[30],"schedule":"6","unit_plural":"tablets of Prinivil 5mg","unit_singular":"tablet of Prinivil 5mg"},{"default_quantity":30,"dosage":"10mg","dosage_slug":"10mg","drug_id":"4943","form":"tablet","form_slug":"tablet","image":null,"label":"Prinivil","label_slug":"prinivil","label_type":"BRAND","lifecycle":"ON_MARKET","quantities":[30],"schedule":"6","unit_plural":"tablets of Prinivil 10mg","unit_singular":"tablet of Prinivil 10mg"},"… 13 more"],"versions_count":15}}],"seoDescription":"Get GoodRx drug metadata by slug or URL via REST or MCP powered by Apish. Pay per call, no subscription or proxies. Built for drug catalogue workflows.","updatedAt":"2026-12-03T02:46:25.813Z","usageInstructionsHtml":""}}