Walmart Seller Pagination API

SerpApi's Walmart Seller Pagination API lets you go through a seller's products page by page with the page parameter.


We add links to the other pages to our JSON output as pagination, with the matching SerpApi links in serpapi_pagination.


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

Head to the playground for a live and interactive demo.

API parameters

page

Optional

Parameter defines the page number. Walmart returns up to 40 products per page. (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.). Maximum page value is 100, while the pagination and serpapi_pagination links stop at page 25, like Walmart's. Use sort and facet to reach more of a large seller's products.

API examples

Example results for catalog_seller_id: 4720 and page: 2

Example results for catalog_seller_id: 4720 and page: 2

JSON Example

{
  ...
  "pagination": {
    "current": 2,
    "next": "https://www.walmart.com/seller/4720/cp/shopall?page=3",
    "previous": "https://www.walmart.com/seller/4720/cp/shopall?page=1",
    "other_pages": {
      "1": "https://www.walmart.com/seller/4720/cp/shopall?page=1",
      "3": "https://www.walmart.com/seller/4720/cp/shopall?page=3",
      "4": "https://www.walmart.com/seller/4720/cp/shopall?page=4",
      ...
      "25": "https://www.walmart.com/seller/4720/cp/shopall?page=25"
    }
  },
  "serpapi_pagination": {
    "current": 2,
    "previous": "https://serpapi.com/search.json?catalog_seller_id=4720&engine=walmart_seller&page=1",
    "next": "https://serpapi.com/search.json?catalog_seller_id=4720&engine=walmart_seller&page=3",
    "other_pages": {
      "1": "https://serpapi.com/search.json?catalog_seller_id=4720&engine=walmart_seller&page=1",
      "3": "https://serpapi.com/search.json?catalog_seller_id=4720&engine=walmart_seller&page=3",
      "4": "https://serpapi.com/search.json?catalog_seller_id=4720&engine=walmart_seller&page=4",
      ...
      "25": "https://serpapi.com/search.json?catalog_seller_id=4720&engine=walmart_seller&page=25"
    }
  },
  ...
}

JSON structure overview

{
  ...
  "pagination": {
    "current": "Integer - Current page number",
    "next": "String - Link to the next page of the seller's products, up to page 25",
    "previous": "String - Link to the previous page of the seller's products",
    "other_pages": {
      "Integer": "String - Link to the given page of the seller's products, up to page 25"
    }
  },
  "serpapi_pagination": {
    "current": "Integer - Current page number",
    "next": "String - SerpApi link to the next page",
    "previous": "String - SerpApi link to the previous page",
    "other_pages": {
      "Integer": "String - SerpApi link to the given page"
    }
  },
  ...
}