Amazon Fresh Sorting API

Use the s parameter to change the order of Amazon Fresh results.

The API endpoint is https://serpapi.com/search?engine=amazon_fresh

Head to the playground for a live and interactive demo.

API parameters

s

Optional

Parameter is used for sorting results. It defaults to relevanceblender (Featured).

Available options:
relevanceblender - Featured
price-asc-rank - Price: Low to High
price-desc-rank - Price: High to Low
review-rank - Avg. Customer Review
date-desc-rank - Newest Arrivals
exact-aware-popularity-rank - Best Sellers

API examples

Example with s: price-asc-rank to sort milk by price, low to high

Example with s: price-asc-rank to sort milk by price, low to high

JSON Example

{
  "search_parameters": {
    "engine": "amazon_fresh",
    "k": "milk",
    "amazon_domain": "amazon.com",
    "delivery_zip": "10001",
    "s": "price-asc-rank",
    "device": "desktop"
  },
  "organic_results": [
    {
      "position": 1,
      "asin": "B000RYDKRE",
      "title": "Nestle Carnation Evaporated Milk, 5 OZ (Pack of 24)",
      "link_clean": "https://www.amazon.com/Carnation-050000010516-Evaporated-MilkVitamin-Added/dp/B000RYDKRE/",
      "rating": 4.6,
      "reviews": 3200,
      "price": "$1.32",
      "extracted_price": 1.32,
      "price_unit": "$0.01/fluid ounce",
      "extracted_price_unit": 0.01
    },
    {
      "position": 2,
      "asin": "B07YSWG9WS",
      "title": "Amazon Grocery, Whole Milk, Half Gallon, 64 Fl Oz",
      "link_clean": "https://www.amazon.com/Amazon-Brand-Happy-Gallon-Ounces/dp/B07YSWG9WS/",
      "rating": 4.7,
      "reviews": 3300,
      "price": "$1.38",
      "extracted_price": 1.38,
      "price_unit": "$0.02/fluid ounce",
      "extracted_price_unit": 0.02
    },
    {
      "position": 3,
      "asin": "B07YSWR91P",
      "title": "Amazon Grocery, 2% Reduced Fat MIlk, Half Gallon, 64 Fl Oz",
      "link_clean": "https://www.amazon.com/Amazon-Brand-Reduced-Gallon-Ounces/dp/B07YSWR91P/",
      "rating": 4.7,
      "reviews": 2700,
      "price": "$1.62",
      "extracted_price": 1.62,
      "price_unit": "$0.03/fluid ounce",
      "extracted_price_unit": 0.03
    },
    ...
  ],
  ...
}