{
  "data": {
    "id": "MtN1ggZTfrecAe9pM",
    "actId": "8c5LwBG3Er8xc8lud",
    "userId": "4BicJNfmk8uEe3GtT",
    "startedAt": "2026-11-24T12:56:25.990Z",
    "finishedAt": "2026-11-24T12:56:27.960Z",
    "status": "SUCCEEDED",
    "meta": {
      "origin": "CI"
    },
    "inputSchema": "{\n  \"title\": \"Amazon Pharmacy Prescription Price & Prime Discount Lookup Input\",\n  \"description\": \"Find Amazon Pharmacy prescription prices by drug name, product URL or a bulk list of drug/strength/quantity combinations. Returns retail price, Prime-member price, Prime discount, average insurance price, supply and medication details.\",\n  \"type\": \"object\",\n  \"schemaVersion\": 1,\n  \"properties\": {\n    \"mode\": {\n      \"title\": \"Mode\",\n      \"type\": \"string\",\n      \"description\": \"How to find the medications to price.\",\n      \"editor\": \"select\",\n      \"enum\": [\n        \"search\",\n        \"byUrl\",\n        \"bulk\"\n      ],\n      \"enumTitles\": [\n        \"Search by drug name\",\n        \"Look up product URLs or ASINs\",\n        \"Bulk drug + strength + quantity list\"\n      ],\n      \"default\": \"search\",\n      \"prefill\": \"search\"\n    },\n    \"searchQueries\": {\n      \"title\": \"Drug names (mode=search)\",\n      \"type\": \"array\",\n      \"description\": \"One or more generic or brand drug names, e.g. `atorvastatin`, `Lipitor`, `metformin ER`. Every query is searched and all matching products are priced.\",\n      \"editor\": \"stringList\",\n      \"default\": [\n        \"atorvastatin\"\n      ],\n      \"prefill\": [\n        \"atorvastatin\"\n      ]\n    },\n    \"sortBy\": {\n      \"title\": \"Sort search results by\",\n      \"type\": \"string\",\n      \"description\": \"Order of the Amazon search result pages (mode=search).\",\n      \"editor\": \"select\",\n      \"enum\": [\n        \"relevance\",\n        \"priceLowToHigh\",\n        \"priceHighToLow\",\n        \"reviewRank\",\n        \"newest\"\n      ],\n      \"enumTitles\": [\n        \"Relevance\",\n        \"Price: low to high\",\n        \"Price: high to low\",\n        \"Customer review\",\n        \"Newest arrivals\"\n      ],\n      \"default\": \"relevance\"\n    },\n    \"startUrls\": {\n      \"title\": \"Product URLs or ASINs (mode=byUrl)\",\n      \"type\": \"array\",\n      \"description\": \"Amazon Pharmacy product URLs, `pharmacy.amazon.com/dp/...` links or `amazon.com/dp/...` links (mode=byUrl). Use `asins` for bare IDs.\",\n      \"editor\": \"requestListSources\",\n      \"default\": [],\n      \"prefill\": []\n    },\n    \"asins\": {\n      \"title\": \"ASINs (mode=byUrl)\",\n      \"type\": \"array\",\n      \"description\": \"Bare Amazon ASINs such as `B0846GFL6G` (mode=byUrl). Combine with product URLs if you like.\",\n      \"editor\": \"stringList\",\n      \"default\": [],\n      \"prefill\": []\n    },\n    \"bulkDrugs\": {\n      \"title\": \"Bulk drug list (mode=bulk)\",\n      \"type\": \"array\",\n      \"description\": \"Each entry is a drug to resolve and price. Optional per-entry strength, form, quantity and days supply narrow the matching options. Example: `[{\\\"drugName\\\": \\\"atorvastatin\\\", \\\"strength\\\": \\\"80 MG\\\", \\\"quantity\\\": 30}]`.\",\n      \"editor\": \"json\",\n      \"default\": [],\n      \"prefill\": [],\n      \"items\": {\n        \"type\": \"object\",\n        \"properties\": {\n          \"drugName\": {\n            \"title\": \"Drug name\",\n            \"type\": \"string\",\n            \"description\": \"Generic or brand drug name.\"\n          },\n          \"strength\": {\n            \"title\": \"Strength\",\n            \"type\": \"string\",\n            \"description\": \"Strength to match, e.g. `80 MG` or `500 MG/5 ML`.\"\n          },\n          \"dosageForm\": {\n            \"title\": \"Dosage form\",\n            \"type\": \"string\",\n            \"description\": \"Dosage form to match, e.g. `TABLET` or `CAPSULE`.\"\n          },\n          \"quantity\": {\n            \"title\": \"Quantity\",\n            \"type\": \"integer\",\n            \"description\": \"Exact number of units to match, e.g. `30`.\"\n          },\n          \"daysSupply\": {\n            \"title\": \"Days supply\",\n            \"type\": \"integer\",\n            \"description\": \"Days of supply to match: `30` or `90`.\",\n            \"minimum\": 1,\n            \"maximum\": 365\n          }\n        },\n        \"required\": [\n          \"drugName\"\n        ]\n      }\n    },\n    \"strength\": {\n      \"title\": \"Strength filter\",\n      \"type\": \"string\",\n      \"description\": \"Only keep options whose strength contains this text, e.g. `80 MG`. Leave empty for all strengths.\",\n      \"editor\": \"textfield\"\n    },\n    \"dosageForm\": {\n      \"title\": \"Dosage form filter\",\n      \"type\": \"string\",\n      \"description\": \"Only keep options in this dosage form. Leave on Any for all forms.\",\n      \"editor\": \"select\",\n      \"enum\": [\n        \"any\",\n        \"TABLET\",\n        \"CAPSULE\",\n        \"SOFTGEL CAPSULE\",\n        \"SUSTAINED RELEASE TABLET\",\n        \"DELAYED RELEASE CAPSULE\",\n        \"EXTENDED RELEASE TABLET\",\n        \"CREAM\",\n        \"OINTMENT\",\n        \"SOLUTION\",\n        \"TOPICAL SOLUTION\",\n        \"INHALATION SOLUTION\",\n        \"SUSPENSION\",\n        \"POWDER FOR ORAL SUSPENSION\",\n        \"NASAL SPRAY\",\n        \"SPRAY\",\n        \"INHALER\",\n        \"INHALANT POWDER\",\n        \"PEN INJECTOR\",\n        \"VIAL\",\n        \"INJECTION\",\n        \"PATCH\",\n        \"GEL\",\n        \"LOTION\",\n        \"DROPS\",\n        \"SUPPOSITORY\",\n        \"POWDER\",\n        \"PACK\",\n        \"DEVICE\",\n        \"TABLETS\",\n        \"CHEWABLE TABLET\",\n        \"DELAYED RELEASE TABLET\",\n        \"GRANULE\",\n        \"ORAL SOLUTION\"\n      ],\n      \"enumTitles\": [\n        \"Any form\",\n        \"Tablet\",\n        \"Capsule\",\n        \"Softgel capsule\",\n        \"Sustained release tablet\",\n        \"Delayed release capsule\",\n        \"Extended release tablet\",\n        \"Cream\",\n        \"Ointment\",\n        \"Solution\",\n        \"Topical solution\",\n        \"Inhalation solution\",\n        \"Suspension\",\n        \"Powder for oral suspension\",\n        \"Nasal spray\",\n        \"Spray\",\n        \"Inhaler\",\n        \"Inhalant powder\",\n        \"Pen injector\",\n        \"Vial\",\n        \"Injection\",\n        \"Patch\",\n        \"Gel\",\n        \"Lotion\",\n        \"Drops\",\n        \"Suppository\",\n        \"Powder\",\n        \"Pack\",\n        \"Device\",\n        \"Tablets\",\n        \"Chewable tablet\",\n        \"Delayed release tablet\",\n        \"Granule\",\n        \"Oral solution\"\n      ],\n      \"default\": \"any\"\n    },\n    \"daysSupply\": {\n      \"title\": \"Days supply filter\",\n      \"type\": \"integer\",\n      \"description\": \"Only keep options for exactly this many days of supply, e.g. `30` or `90`. Leave empty for all supply lengths.\",\n      \"minimum\": 1,\n      \"maximum\": 365\n    },\n    \"dailyDose\": {\n      \"title\": \"Daily dose filter\",\n      \"type\": \"string\",\n      \"description\": \"Only keep options for this many units per day.\",\n      \"editor\": \"select\",\n      \"enum\": [\n        \"any\",\n        \"1\",\n        \"2\",\n        \"3\",\n        \"4\",\n        \"5\"\n      ],\n      \"enumTitles\": [\n        \"Any daily dose\",\n        \"1 per day\",\n        \"2 per day\",\n        \"3 per day\",\n        \"4 per day\",\n        \"5 per day\"\n      ],\n      \"default\": \"any\"\n    },\n    \"quantity\": {\n      \"title\": \"Quantity filter\",\n      \"type\": \"integer\",\n      \"description\": \"Only keep options with exactly this many units. Leave empty for all quantities.\",\n      \"minimum\": 1,\n      \"maximum\": 2000\n    },\n    \"drugType\": {\n      \"title\": \"Generic or brand\",\n      \"type\": \"string\",\n      \"description\": \"Keep only generic products, only brand products, or both.\",\n      \"editor\": \"select\",\n      \"enum\": [\n        \"any\",\n        \"generic\",\n        \"brand\"\n      ],\n      \"enumTitles\": [\n        \"Generics and brands\",\n        \"Generics only\",\n        \"Brands only\"\n      ],\n      \"default\": \"any\"\n    },\n    \"includeRxPass\": {\n      \"title\": \"Include RxPass eligibility\",\n      \"type\": \"boolean\",\n      \"description\": \"Check Amazon's RxPass medication list and flag products included in the $5/month RxPass subscription.\",\n      \"default\": true,\n      \"prefill\": false\n    },\n    \"includeMedicationSummary\": {\n      \"title\": \"Include medication summary headings\",\n      \"type\": \"boolean\",\n      \"description\": \"Add the headings from the product page's medication summary (about, usage, side effects, interactions).\",\n      \"default\": true,\n      \"prefill\": true\n    },\n    \"maxSearchPages\": {\n      \"title\": \"Max search pages\",\n      \"type\": \"integer\",\n      \"description\": \"How many Amazon search result pages to read per drug name (16 results per page).\",\n      \"minimum\": 1,\n      \"maximum\": 20,\n      \"default\": 3,\n      \"prefill\": 1\n    },\n    \"maxItems\": {\n      \"title\": \"Max items\",\n      \"type\": \"integer\",\n      \"description\": \"Maximum number of price-option rows to emit. Each row is one daily-dose and supply combination for one product.\",\n      \"minimum\": 1,\n      \"maximum\": 5000,\n      \"default\": 100,\n      \"prefill\": 2\n    }\n  },\n  \"required\": [\n    \"mode\"\n  ]\n}",
    "readme": "# Amazon Pharmacy Prescription Price & Prime Discount Lookup\n\nPricing research for US prescription medications sold through Amazon Pharmacy. Give it a drug name,\na product link, or a list of drug/strength/quantity combinations and it returns every public price\noption it finds: retail price, Prime-member price and discount, average-with-insurance estimate,\nmanufacturer-coupon savings, supply length, dosage form, strength, RxPass eligibility and medication\nsummary headings.\n\nNo Amazon account, prescription number, insurance card, cookie or API key is needed. The actor reads\nthe same logged-out pages and public price requests a shopper sees.\n\n## What you can do\n\n- **Search by drug name** — generic (`atorvastatin`, `metformin ER`) or brand (`Lipitor`, `Mounjaro`).\n  Every query is searched across Amazon Pharmacy's result pages.\n- **Look up products directly** — paste `pharmacy.amazon.com` links, `amazon.com/dp/...` links, or\n  list bare ASINs.\n- **Resolve a bulk list** — one JSON entry per medication with an optional strength, dosage form,\n  quantity and days supply.\n- **Filter the option matrix** — keep only a strength, form, days supply, daily dose, exact quantity,\n  generics or brands, and stop at a row budget.\n- **Check savings programs** — flag products on the public RxPass medication list and include the\n  Prime prescription savings benefit shown for each option.\n\n## Output\n\nOne row is one price option: a product, strength and form with a specific daily dose and days\nsupply. The same product appears once per available option, so 30-day and 90-day fills and 1–5\nunits-per-day schedules are separate rows.\n\n| Field | Meaning |\n|---|---|\n| `drugName` | Medication name |\n| `productTitle` | Product heading as Amazon displays it |\n| `productType` | `generic` or `brand` when Amazon states the mapping |\n| `genericFor` / `brandFor` | Brand that a generic replaces, or generic behind a brand |\n| `asin` | Amazon ASIN |\n| `drugId` | Amazon Pharmacy drug identifier |\n| `url` | Canonical product page |\n| `strength` | Strength, including combination strengths |\n| `dosageForm` | Dosage form |\n| `dailyDose` | Units per day for this option, when Amazon offers a daily schedule |\n| `daysSupply` | Days of supply |\n| `quantity` / `quantityLabel` | Unit count and Amazon's own quantity label |\n| `supplyLabel` | Supply description, e.g. `30 days (30 tablets)` |\n| `retailPrice` | Retail price without insurance |\n| `primePrice` | Price with the Prime prescription savings benefit |\n| `primeDiscountPercent` | Prime discount against retail |\n| `averageWithInsurancePrice` | Amazon's average insurance estimate, when shown |\n| `averageWithInsuranceNote` | Context for the insurance estimate, or why it is absent |\n| `withInsuranceStartingPrice` | \"With insurance, starting at\" figure when Amazon shows one |\n| `withInsuranceCouponSavings` | Manufacturer-coupon amount on the insurance offer |\n| `cashStartingPrice` | \"Without insurance, starting at\" figure when Amazon shows one |\n| `cashCouponSavings` | Manufacturer-coupon amount on the cash offer |\n| `manufacturerCouponSavings` / `manufacturerCouponNote` | Coupon amount and eligibility note |\n| `deliveryNote` | Delivery promise shown for the option |\n| `rxRequired` | Prescription-required flag |\n| `rxPassEligible` | Product's medication is on the public RxPass list |\n| `availableStrengths` / `availableForms` | Other options Amazon lists for the same drug |\n| `availableQuantities` | Quantity labels available for the product |\n| `medicationSummaryHeadings` | Headings from the product's medication summary |\n| `imageUrl` | Product image |\n| `priceCurrency` | `USD` |\n| `scrapedAt` | UTC collection time |\n\nRows with `recordType: \"status\"` appear only for a bulk or URL entry that could not be resolved\n(not found, currently unavailable, or no option matching the filters). They carry `statusReason` and\na plain-language `message` so a large batch is easy to audit.\n\n## Input\n\n| Name | Type | Default | Notes |\n|---|---|---|---|\n| `mode` | select | `search` | `search`, `byUrl` or `bulk` |\n| `searchQueries` | string list | `[\"atorvastatin\"]` | Drug names, one per entry (mode `search`) |\n| `sortBy` | select | `relevance` | Search order: relevance, price low/high, reviews, newest |\n| `startUrls` | URL list | – | Product URLs or product links (mode `byUrl`) |\n| `asins` | string list | – | Bare ASINs such as `B0846GFL6G` (mode `byUrl`) |\n| `bulkDrugs` | JSON array | – | Objects with `drugName` plus optional `strength`, `dosageForm`, `quantity`, `daysSupply` (mode `bulk`) |\n| `strength` | text | – | Keep options whose strength contains this text, e.g. `80 MG` |\n| `dosageForm` | select | `any` | Tablet, capsule, cream, solution, inhaler, injector, patch and more |\n| `daysSupply` | integer | – | Exact days of supply, e.g. `30` or `90` |\n| `dailyDose` | select | `any` | 1–5 units per day |\n| `quantity` | integer | – | Exact unit count |\n| `drugType` | select | `any` | Generics only, brands only, or both |\n| `includeRxPass` | boolean | `true` | Read the public RxPass medication list |\n| `includeMedicationSummary` | boolean | `true` | Add medication summary headings |\n| `maxSearchPages` | integer | `3` | Search pages per drug name (about 16 products each) |\n| `maxItems` | integer | `100` | Row budget; one row per price option |\n\n### Search example\n\n```json\n{\n  \"mode\": \"search\",\n  \"searchQueries\": [\"atorvastatin\", \"metformin\"],\n  \"drugType\": \"generic\",\n  \"daysSupply\": 30,\n  \"dailyDose\": \"1\",\n  \"maxItems\": 25\n}\n```\n\n### Direct URL example\n\n```json\n{\n  \"mode\": \"byUrl\",\n  \"startUrls\": [\n    { \"url\": \"https://pharmacy.amazon.com/dp/B0846GFL6G\" }\n  ],\n  \"asins\": [\"B0845R2H4L\"]\n}\n```\n\n### Bulk example\n\n```json\n{\n  \"mode\": \"bulk\",\n  \"bulkDrugs\": [\n    { \"drugName\": \"atorvastatin\", \"strength\": \"80 MG\", \"quantity\": 30 },\n    { \"drugName\": \"metformin\", \"strength\": \"850 MG\", \"daysSupply\": 90 },\n    { \"drugName\": \"Mounjaro\", \"strength\": \"2.5 MG/0.5 ML\" }\n  ]\n}\n```\n\n## Who it is for\n\n- Price-transparency and patient-access teams comparing Amazon Pharmacy's cash and Prime prices.\n- Health-tech and benefits tools that need a public price snapshot without an insurance integration.\n- Market researchers tracking GLP-1, generic and brand prescription pricing over time.\n- Data teams exporting pharmacy prices to Sheets, BI tools, JSON or CSV through the Apify API.\n\n## Data source and method\n\nAmazon Pharmacy publishes a logged-out US price page for each medication. The actor reads the\npublic product page and its public logged-out pricing response, then converts the supply/frequency\nmatrix into flat rows. It also reads the public RxPass medication list to flag eligibility.\n\nPrices are public US prices. Insurance copays tied to a person's plan require signing in and are\noutside this actor; only Amazon's public average-with-insurance figure is reported.\n\n## FAQ\n\n**Do I need an Amazon account or Prime membership?** No. The actor reads prices shown to a logged-out\nvisitor. Prime prices are the member prices Amazon publishes publicly, not a personalized checkout\nprice.\n\n**Why does a product have no row?** Amazon may mark it \"Currently unavailable\", or your filters may\nremove every option. Bulk and URL runs emit a status row explaining which case applied.\n\n**Why is there no average-with-insurance number for some options?** Amazon only shows an average when\nit has enough recent claims for that exact supply and dose. The actor reports the estimate when it is\nthere and omits it otherwise.\n\n**Can I get my own insurance copay?** No. That price depends on your plan and requires a signed-in\nAmazon Pharmacy account. Use the public average figure as a reference only.\n\n**Can I get delivery dates for my ZIP?** Not from the logged-out price interface. Amazon promises\ndelivery at checkout after a ZIP and prescription are on file; the actor reports the public delivery\nnote it can see.\n\n**Can I track price history?** Amazon does not publish historical prices. Schedule the actor and\ncompare datasets over time.\n\n**Which market is covered?** The United States (USD).\n\n**Why do some brand medications show manufacturer-coupon figures instead of Prime prices?** Amazon\nshows coupon offers for some brand drugs, and coupons cannot be combined with the Prime prescription\nsavings benefit. The actor reports exactly the offers Amazon displays.\n\n**How many products can one search return?** Amazon Pharmacy usually fills its first results page with\nup to about 25 products, and later pages are often empty. Use several specific drug names, or the\nbulk and URL modes, when you need an exhaustive list.\n\n**Why does the result count vary between runs?** Search ranking and inventory change frequently.\nAmazon can also index a listing that no longer resolves; the actor skips that card and keeps going.\nUse `maxSearchPages` to widen a search and re-run for a fresh snapshot.\n",
    "actorDefinition": {
      "actorSpecification": 1,
      "name": "amazon-pharmacy-price-lookup",
      "title": "Amazon Pharmacy Prescription Price & Prime Discount Lookup",
      "description": "Look up Amazon Pharmacy cash, Prime and average insurance prices for US prescriptions by drug name, product URL or a bulk drug/strength/quantity list. Rows include retail price, Prime discount, supply, form, strength, Rx flag and RxPass eligibility.",
      "version": "1.0",
      "buildTag": "latest",
      "dockerfile": "../Dockerfile",
      "readme": "# Amazon Pharmacy Prescription Price & Prime Discount Lookup\n\nPricing research for US prescription medications sold through Amazon Pharmacy. Give it a drug name,\na product link, or a list of drug/strength/quantity combinations and it returns every public price\noption it finds: retail price, Prime-member price and discount, average-with-insurance estimate,\nmanufacturer-coupon savings, supply length, dosage form, strength, RxPass eligibility and medication\nsummary headings.\n\nNo Amazon account, prescription number, insurance card, cookie or API key is needed. The actor reads\nthe same logged-out pages and public price requests a shopper sees.\n\n## What you can do\n\n- **Search by drug name** — generic (`atorvastatin`, `metformin ER`) or brand (`Lipitor`, `Mounjaro`).\n  Every query is searched across Amazon Pharmacy's result pages.\n- **Look up products directly** — paste `pharmacy.amazon.com` links, `amazon.com/dp/...` links, or\n  list bare ASINs.\n- **Resolve a bulk list** — one JSON entry per medication with an optional strength, dosage form,\n  quantity and days supply.\n- **Filter the option matrix** — keep only a strength, form, days supply, daily dose, exact quantity,\n  generics or brands, and stop at a row budget.\n- **Check savings programs** — flag products on the public RxPass medication list and include the\n  Prime prescription savings benefit shown for each option.\n\n## Output\n\nOne row is one price option: a product, strength and form with a specific daily dose and days\nsupply. The same product appears once per available option, so 30-day and 90-day fills and 1–5\nunits-per-day schedules are separate rows.\n\n| Field | Meaning |\n|---|---|\n| `drugName` | Medication name |\n| `productTitle` | Product heading as Amazon displays it |\n| `productType` | `generic` or `brand` when Amazon states the mapping |\n| `genericFor` / `brandFor` | Brand that a generic replaces, or generic behind a brand |\n| `asin` | Amazon ASIN |\n| `drugId` | Amazon Pharmacy drug identifier |\n| `url` | Canonical product page |\n| `strength` | Strength, including combination strengths |\n| `dosageForm` | Dosage form |\n| `dailyDose` | Units per day for this option, when Amazon offers a daily schedule |\n| `daysSupply` | Days of supply |\n| `quantity` / `quantityLabel` | Unit count and Amazon's own quantity label |\n| `supplyLabel` | Supply description, e.g. `30 days (30 tablets)` |\n| `retailPrice` | Retail price without insurance |\n| `primePrice` | Price with the Prime prescription savings benefit |\n| `primeDiscountPercent` | Prime discount against retail |\n| `averageWithInsurancePrice` | Amazon's average insurance estimate, when shown |\n| `averageWithInsuranceNote` | Context for the insurance estimate, or why it is absent |\n| `withInsuranceStartingPrice` | \"With insurance, starting at\" figure when Amazon shows one |\n| `withInsuranceCouponSavings` | Manufacturer-coupon amount on the insurance offer |\n| `cashStartingPrice` | \"Without insurance, starting at\" figure when Amazon shows one |\n| `cashCouponSavings` | Manufacturer-coupon amount on the cash offer |\n| `manufacturerCouponSavings` / `manufacturerCouponNote` | Coupon amount and eligibility note |\n| `deliveryNote` | Delivery promise shown for the option |\n| `rxRequired` | Prescription-required flag |\n| `rxPassEligible` | Product's medication is on the public RxPass list |\n| `availableStrengths` / `availableForms` | Other options Amazon lists for the same drug |\n| `availableQuantities` | Quantity labels available for the product |\n| `medicationSummaryHeadings` | Headings from the product's medication summary |\n| `imageUrl` | Product image |\n| `priceCurrency` | `USD` |\n| `scrapedAt` | UTC collection time |\n\nRows with `recordType: \"status\"` appear only for a bulk or URL entry that could not be resolved\n(not found, currently unavailable, or no option matching the filters). They carry `statusReason` and\na plain-language `message` so a large batch is easy to audit.\n\n## Input\n\n| Name | Type | Default | Notes |\n|---|---|---|---|\n| `mode` | select | `search` | `search`, `byUrl` or `bulk` |\n| `searchQueries` | string list | `[\"atorvastatin\"]` | Drug names, one per entry (mode `search`) |\n| `sortBy` | select | `relevance` | Search order: relevance, price low/high, reviews, newest |\n| `startUrls` | URL list | – | Product URLs or product links (mode `byUrl`) |\n| `asins` | string list | – | Bare ASINs such as `B0846GFL6G` (mode `byUrl`) |\n| `bulkDrugs` | JSON array | – | Objects with `drugName` plus optional `strength`, `dosageForm`, `quantity`, `daysSupply` (mode `bulk`) |\n| `strength` | text | – | Keep options whose strength contains this text, e.g. `80 MG` |\n| `dosageForm` | select | `any` | Tablet, capsule, cream, solution, inhaler, injector, patch and more |\n| `daysSupply` | integer | – | Exact days of supply, e.g. `30` or `90` |\n| `dailyDose` | select | `any` | 1–5 units per day |\n| `quantity` | integer | – | Exact unit count |\n| `drugType` | select | `any` | Generics only, brands only, or both |\n| `includeRxPass` | boolean | `true` | Read the public RxPass medication list |\n| `includeMedicationSummary` | boolean | `true` | Add medication summary headings |\n| `maxSearchPages` | integer | `3` | Search pages per drug name (about 16 products each) |\n| `maxItems` | integer | `100` | Row budget; one row per price option |\n\n### Search example\n\n```json\n{\n  \"mode\": \"search\",\n  \"searchQueries\": [\"atorvastatin\", \"metformin\"],\n  \"drugType\": \"generic\",\n  \"daysSupply\": 30,\n  \"dailyDose\": \"1\",\n  \"maxItems\": 25\n}\n```\n\n### Direct URL example\n\n```json\n{\n  \"mode\": \"byUrl\",\n  \"startUrls\": [\n    { \"url\": \"https://pharmacy.amazon.com/dp/B0846GFL6G\" }\n  ],\n  \"asins\": [\"B0845R2H4L\"]\n}\n```\n\n### Bulk example\n\n```json\n{\n  \"mode\": \"bulk\",\n  \"bulkDrugs\": [\n    { \"drugName\": \"atorvastatin\", \"strength\": \"80 MG\", \"quantity\": 30 },\n    { \"drugName\": \"metformin\", \"strength\": \"850 MG\", \"daysSupply\": 90 },\n    { \"drugName\": \"Mounjaro\", \"strength\": \"2.5 MG/0.5 ML\" }\n  ]\n}\n```\n\n## Who it is for\n\n- Price-transparency and patient-access teams comparing Amazon Pharmacy's cash and Prime prices.\n- Health-tech and benefits tools that need a public price snapshot without an insurance integration.\n- Market researchers tracking GLP-1, generic and brand prescription pricing over time.\n- Data teams exporting pharmacy prices to Sheets, BI tools, JSON or CSV through the Apify API.\n\n## Data source and method\n\nAmazon Pharmacy publishes a logged-out US price page for each medication. The actor reads the\npublic product page and its public logged-out pricing response, then converts the supply/frequency\nmatrix into flat rows. It also reads the public RxPass medication list to flag eligibility.\n\nPrices are public US prices. Insurance copays tied to a person's plan require signing in and are\noutside this actor; only Amazon's public average-with-insurance figure is reported.\n\n## FAQ\n\n**Do I need an Amazon account or Prime membership?** No. The actor reads prices shown to a logged-out\nvisitor. Prime prices are the member prices Amazon publishes publicly, not a personalized checkout\nprice.\n\n**Why does a product have no row?** Amazon may mark it \"Currently unavailable\", or your filters may\nremove every option. Bulk and URL runs emit a status row explaining which case applied.\n\n**Why is there no average-with-insurance number for some options?** Amazon only shows an average when\nit has enough recent claims for that exact supply and dose. The actor reports the estimate when it is\nthere and omits it otherwise.\n\n**Can I get my own insurance copay?** No. That price depends on your plan and requires a signed-in\nAmazon Pharmacy account. Use the public average figure as a reference only.\n\n**Can I get delivery dates for my ZIP?** Not from the logged-out price interface. Amazon promises\ndelivery at checkout after a ZIP and prescription are on file; the actor reports the public delivery\nnote it can see.\n\n**Can I track price history?** Amazon does not publish historical prices. Schedule the actor and\ncompare datasets over time.\n\n**Which market is covered?** The United States (USD).\n\n**Why do some brand medications show manufacturer-coupon figures instead of Prime prices?** Amazon\nshows coupon offers for some brand drugs, and coupons cannot be combined with the Prime prescription\nsavings benefit. The actor reports exactly the offers Amazon displays.\n\n**How many products can one search return?** Amazon Pharmacy usually fills its first results page with\nup to about 25 products, and later pages are often empty. Use several specific drug names, or the\nbulk and URL modes, when you need an exhaustive list.\n\n**Why does the result count vary between runs?** Search ranking and inventory change frequently.\nAmazon can also index a listing that no longer resolves; the actor skips that card and keeps going.\nUse `maxSearchPages` to widen a search and re-run for a fresh snapshot.\n",
      "input": {
        "title": "Amazon Pharmacy Prescription Price & Prime Discount Lookup Input",
        "description": "Find Amazon Pharmacy prescription prices by drug name, product URL or a bulk list of drug/strength/quantity combinations. Returns retail price, Prime-member price, Prime discount, average insurance price, supply and medication details.",
        "type": "object",
        "schemaVersion": 1,
        "properties": {
          "mode": {
            "title": "Mode",
            "type": "string",
            "description": "How to find the medications to price.",
            "editor": "select",
            "enum": [
              "search",
              "byUrl",
              "bulk"
            ],
            "enumTitles": [
              "Search by drug name",
              "Look up product URLs or ASINs",
              "Bulk drug + strength + quantity list"
            ],
            "default": "search",
            "prefill": "search"
          },
          "searchQueries": {
            "title": "Drug names (mode=search)",
            "type": "array",
            "description": "One or more generic or brand drug names, e.g. `atorvastatin`, `Lipitor`, `metformin ER`. Every query is searched and all matching products are priced.",
            "editor": "stringList",
            "default": [
              "atorvastatin"
            ],
            "prefill": [
              "atorvastatin"
            ]
          },
          "sortBy": {
            "title": "Sort search results by",
            "type": "string",
            "description": "Order of the Amazon search result pages (mode=search).",
            "editor": "select",
            "enum": [
              "relevance",
              "priceLowToHigh",
              "priceHighToLow",
              "reviewRank",
              "newest"
            ],
            "enumTitles": [
              "Relevance",
              "Price: low to high",
              "Price: high to low",
              "Customer review",
              "Newest arrivals"
            ],
            "default": "relevance"
          },
          "startUrls": {
            "title": "Product URLs or ASINs (mode=byUrl)",
            "type": "array",
            "description": "Amazon Pharmacy product URLs, `pharmacy.amazon.com/dp/...` links or `amazon.com/dp/...` links (mode=byUrl). Use `asins` for bare IDs.",
            "editor": "requestListSources",
            "default": [],
            "prefill": []
          },
          "asins": {
            "title": "ASINs (mode=byUrl)",
            "type": "array",
            "description": "Bare Amazon ASINs such as `B0846GFL6G` (mode=byUrl). Combine with product URLs if you like.",
            "editor": "stringList",
            "default": [],
            "prefill": []
          },
          "bulkDrugs": {
            "title": "Bulk drug list (mode=bulk)",
            "type": "array",
            "description": "Each entry is a drug to resolve and price. Optional per-entry strength, form, quantity and days supply narrow the matching options. Example: `[{\"drugName\": \"atorvastatin\", \"strength\": \"80 MG\", \"quantity\": 30}]`.",
            "editor": "json",
            "default": [],
            "prefill": [],
            "items": {
              "type": "object",
              "properties": {
                "drugName": {
                  "title": "Drug name",
                  "type": "string",
                  "description": "Generic or brand drug name."
                },
                "strength": {
                  "title": "Strength",
                  "type": "string",
                  "description": "Strength to match, e.g. `80 MG` or `500 MG/5 ML`."
                },
                "dosageForm": {
                  "title": "Dosage form",
                  "type": "string",
                  "description": "Dosage form to match, e.g. `TABLET` or `CAPSULE`."
                },
                "quantity": {
                  "title": "Quantity",
                  "type": "integer",
                  "description": "Exact number of units to match, e.g. `30`."
                },
                "daysSupply": {
                  "title": "Days supply",
                  "type": "integer",
                  "description": "Days of supply to match: `30` or `90`.",
                  "minimum": 1,
                  "maximum": 365
                }
              },
              "required": [
                "drugName"
              ]
            }
          },
          "strength": {
            "title": "Strength filter",
            "type": "string",
            "description": "Only keep options whose strength contains this text, e.g. `80 MG`. Leave empty for all strengths.",
            "editor": "textfield"
          },
          "dosageForm": {
            "title": "Dosage form filter",
            "type": "string",
            "description": "Only keep options in this dosage form. Leave on Any for all forms.",
            "editor": "select",
            "enum": [
              "any",
              "TABLET",
              "CAPSULE",
              "SOFTGEL CAPSULE",
              "SUSTAINED RELEASE TABLET",
              "DELAYED RELEASE CAPSULE",
              "EXTENDED RELEASE TABLET",
              "CREAM",
              "OINTMENT",
              "SOLUTION",
              "TOPICAL SOLUTION",
              "INHALATION SOLUTION",
              "SUSPENSION",
              "POWDER FOR ORAL SUSPENSION",
              "NASAL SPRAY",
              "SPRAY",
              "INHALER",
              "INHALANT POWDER",
              "PEN INJECTOR",
              "VIAL",
              "INJECTION",
              "PATCH",
              "GEL",
              "LOTION",
              "DROPS",
              "SUPPOSITORY",
              "POWDER",
              "PACK",
              "DEVICE",
              "TABLETS",
              "CHEWABLE TABLET",
              "DELAYED RELEASE TABLET",
              "GRANULE",
              "ORAL SOLUTION"
            ],
            "enumTitles": [
              "Any form",
              "Tablet",
              "Capsule",
              "Softgel capsule",
              "Sustained release tablet",
              "Delayed release capsule",
              "Extended release tablet",
              "Cream",
              "Ointment",
              "Solution",
              "Topical solution",
              "Inhalation solution",
              "Suspension",
              "Powder for oral suspension",
              "Nasal spray",
              "Spray",
              "Inhaler",
              "Inhalant powder",
              "Pen injector",
              "Vial",
              "Injection",
              "Patch",
              "Gel",
              "Lotion",
              "Drops",
              "Suppository",
              "Powder",
              "Pack",
              "Device",
              "Tablets",
              "Chewable tablet",
              "Delayed release tablet",
              "Granule",
              "Oral solution"
            ],
            "default": "any"
          },
          "daysSupply": {
            "title": "Days supply filter",
            "type": "integer",
            "description": "Only keep options for exactly this many days of supply, e.g. `30` or `90`. Leave empty for all supply lengths.",
            "minimum": 1,
            "maximum": 365
          },
          "dailyDose": {
            "title": "Daily dose filter",
            "type": "string",
            "description": "Only keep options for this many units per day.",
            "editor": "select",
            "enum": [
              "any",
              "1",
              "2",
              "3",
              "4",
              "5"
            ],
            "enumTitles": [
              "Any daily dose",
              "1 per day",
              "2 per day",
              "3 per day",
              "4 per day",
              "5 per day"
            ],
            "default": "any"
          },
          "quantity": {
            "title": "Quantity filter",
            "type": "integer",
            "description": "Only keep options with exactly this many units. Leave empty for all quantities.",
            "minimum": 1,
            "maximum": 2000
          },
          "drugType": {
            "title": "Generic or brand",
            "type": "string",
            "description": "Keep only generic products, only brand products, or both.",
            "editor": "select",
            "enum": [
              "any",
              "generic",
              "brand"
            ],
            "enumTitles": [
              "Generics and brands",
              "Generics only",
              "Brands only"
            ],
            "default": "any"
          },
          "includeRxPass": {
            "title": "Include RxPass eligibility",
            "type": "boolean",
            "description": "Check Amazon's RxPass medication list and flag products included in the $5/month RxPass subscription.",
            "default": true,
            "prefill": false
          },
          "includeMedicationSummary": {
            "title": "Include medication summary headings",
            "type": "boolean",
            "description": "Add the headings from the product page's medication summary (about, usage, side effects, interactions).",
            "default": true,
            "prefill": true
          },
          "maxSearchPages": {
            "title": "Max search pages",
            "type": "integer",
            "description": "How many Amazon search result pages to read per drug name (16 results per page).",
            "minimum": 1,
            "maximum": 20,
            "default": 3,
            "prefill": 1
          },
          "maxItems": {
            "title": "Max items",
            "type": "integer",
            "description": "Maximum number of price-option rows to emit. Each row is one daily-dose and supply combination for one product.",
            "minimum": 1,
            "maximum": 5000,
            "default": 100,
            "prefill": 2
          }
        },
        "required": [
          "mode"
        ]
      },
      "output": {
        "actorOutputSchemaVersion": 1,
        "title": "Amazon Pharmacy Prescription Price & Prime Discount Lookup Output",
        "description": "Amazon Pharmacy prescription price options with retail, Prime-member and average-insurance prices, strength, form, supply, Rx flag, RxPass eligibility and medication summary headings.",
        "properties": {
          "priceOptions": {
            "type": "string",
            "title": "Pharmacy price options",
            "description": "Dataset containing every scraped Amazon Pharmacy medication price option.",
            "template": "{{links.apiDefaultDatasetUrl}}/items"
          }
        }
      },
      "defaultMemoryMbytes": 1024,
      "minMemoryMbytes": 512,
      "categories": [
        "ECOMMERCE",
        "PRODUCTS"
      ],
      "storages": {
        "dataset": {
          "actorSpecification": 1,
          "views": {
            "overview": {
              "title": "Prescription price options",
              "transformation": {
                "fields": [
                  "drugName",
                  "strength",
                  "dosageForm",
                  "quantityLabel",
                  "retailPrice",
                  "primePrice",
                  "primeDiscountPercent",
                  "rxPassEligible"
                ]
              },
              "display": {
                "component": "table",
                "properties": {}
              }
            }
          }
        }
      },
      "environmentVariables": {}
    },
    "buildNumber": "1.0.6",
    "actVersion": {
      "sourceType": "SOURCE_FILES",
      "buildTag": "latest",
      "versionNumber": "1.0"
    }
  }
}