Amazon Pharmacy Product Variant Combinations API
Amazon Pharmacy variant combinations are the forms and strengths a medication is available in, when Amazon shows them on its product page. They're returned in the product_results.variant_combinations array. Each one has its form and strength in dimensions, and a serpapi_link to its own product details and prices.
The API endpoint is https://serpapi.com/search?engine=amazon_pharmacy_product
Head to the playground for a live and interactive demo.
API examples
Variant combinations overview
{
...
"product_results": {
...
"variant_combinations": [
{
"position": 13,
"dimensions": {
"form": "TABLET",
"strength": "25 MCG"
},
"asin": "B08429NMGF",
"link": "https://pharmacy.amazon.com/dp/B08429NMGF",
"serpapi_link": "https://serpapi.com/search.json?asin=B08429NMGF&device=desktop&engine=amazon_pharmacy_product&language=en_US"
},
{
"position": 14,
"dimensions": {
"form": "TABLET",
"strength": "50 MCG"
},
"asin": "B08429CF3B",
"link": "https://pharmacy.amazon.com/dp/B08429CF3B",
"serpapi_link": "https://serpapi.com/search.json?asin=B08429CF3B&device=desktop&engine=amazon_pharmacy_product&language=en_US",
"selected": true
},
{
"position": 15,
"dimensions": {
"form": "TABLET",
"strength": "75 MCG"
},
"asin": "B08429TQ66",
"link": "https://pharmacy.amazon.com/dp/B08429TQ66",
"serpapi_link": "https://serpapi.com/search.json?asin=B08429TQ66&device=desktop&engine=amazon_pharmacy_product&language=en_US"
}
]
},
...
}
JSON structure overview
{
...
"product_results": {
...
"variant_combinations": [
{
"position": "Integer - Combination position",
"dimensions": {
"form": "String - Medication form (e.g., 'TABLET')",
"strength": "String - Medication strength (e.g., '50 MCG')"
},
"asin": "String - Amazon Standard Identification Number of the combination",
"link": "String - Product link of the combination",
"serpapi_link": "String - SerpApi link to the combination",
"selected": "Boolean - Whether the combination is the requested medication"
},
...
]
},
...
}