Amazon Fresh Pagination API

Use the page parameter to get a given page of results. serpapi_pagination links to the previous and next pages, at the same delivery location.

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

Head to the playground for a live and interactive demo.

API parameters

page

Optional

Parameter defines the page number. It's used for pagination. (e.g., 1 (default) is the first page of results, 2 is the 2nd page of results, 3 is the 3rd page of results, etc.).

API examples

Example with page: 2 for milk

Example with page: 2 for milk

JSON Example

{
  "search_parameters": {
    "engine": "amazon_fresh",
    "k": "milk",
    "amazon_domain": "amazon.com",
    "delivery_zip": "10001",
    "page": "2",
    "device": "desktop"
  },
  "search_information": {
    "total_results": 202,
    "query_displayed": "milk",
    "store": "amazonfresh",
    "page": 2
  },
  "organic_results": [
    {
      "position": 1,
      "asin": "B074H5SRHQ",
      "title": "365 by Whole Foods Market, Organic Reduced Fat 2% Milk, 64 fl oz",
      "link_clean": "https://www.amazon.com/365-Everyday-Value-Organic-Milk/dp/B074H5SRHQ/",
      "rating": 4.6,
      "reviews": 12500,
      "price": "$4.79",
      "extracted_price": 4.79
    },
    {
      "position": 2,
      "asin": "B000O6EG7I",
      "title": "Organic Valley Organic Half and Half, 32 oz",
      "link_clean": "https://www.amazon.com/Organic-Valley-Ultra-Pasteurized-Quart/dp/B000O6EG7I/",
      "rating": 4.8,
      "reviews": 8800,
      "price": "$6.99",
      "extracted_price": 6.99
    },
    ...
  ],
  ...
  "serpapi_pagination": {
    "current": 2,
    "previous": "https://serpapi.com/search.json?amazon_domain=amazon.com&delivery_zip=10001&device=desktop&engine=amazon_fresh&k=milk&page=1",
    "next": "https://serpapi.com/search.json?amazon_domain=amazon.com&delivery_zip=10001&device=desktop&engine=amazon_fresh&k=milk&page=3"
  }
}

JSON structure overview

{
  ...
  "serpapi_pagination": {
    "current": "Integer - Current page number",
    "previous": "String - SerpApi URL to previous page",
    "next": "String - SerpApi URL to next page"
  },
  ...
}