Barnes & Noble Pagination API

Barnes & Noble shows 24 results per page, and loads more with the Load More button of its search page, one page after another. To get the next page, set next_page_token to serpapi_pagination.next_page_token of the previous page, with the same search parameters, or follow serpapi_pagination.next.


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

Head to the playground for a live and interactive demo.

API parameters

Pagination

next_page_token

Optional

Parameter defines the next page token. It is used for retrieving the next page of results. Leave it unset for the first page. Barnes & Noble returns up to 24 results per page.

The next page token can be found in the SerpApi JSON response: serpapi_pagination -> next_page_token. It must be used with the same search parameters as the search it comes from.

The token expires 15 minutes after the search it comes from. Expired tokens still work up to page 5, more slowly, as Barnes & Noble's pages are loaded again from the first one. For later pages, redo the search from its first page with no_cache set to true.

API examples

Result for  next_page_token

Result for  next_page_token

JSON Example

{
  ...
  "search_parameters": {
    "engine": "barnes_and_noble",
    "q": "Agatha Christie",
    "next_page_token": "pt6Rq3icNY7NcpswAISnfZ2OM5Id03qmOWCEHREkgiP-dPHwVyGwAgFcfs59lCY993HapymdaW-73-zu7LfvTSzy969NW9dffr_7nE_WmofWHAe7Ky7r0TasmYf0v5fkaMmo9AZemj1X3jp6AsBBBNiBJTkjPZn3lYPcwUFWSctqwnKQ6cafuDqU_AlruNQhVwWLPXGbwOyBhac9q7KvyeF0zQ-UME_AxKSDHcA4Be7shNk1qOCLf_Dk8mWIguyy_JgW3aQbCnlw2mcG1ghLt6TUtxThrcPckRqDTNQOuMpXycb62xnpXE0EVYDM-kiRCZaNS36_b1Llz27oSqc0Nw7Dg8O8JWcCwk67myoRlb4lXqL1Ap5ArQP1GFdV2oT25dPK_qjwEctzQJyd-6PLu07Wz7-68_m-7vqVaGW2-gfvcLmXkcKQHKPRDviFKrOnSMzUgAv3ZpuRgSMBCBJTNEdbIvFN_9ByvfUsHzWhPxFDts_aeLumMNzptafhFbwWQj0i4ZK3Lo_btPj5cqeLuC_iD0bRyq6X-R_IP6eB"
  },
  "organic_results": [
    {
      "position": 1,
      "title": "The Monogram Murders (Hercule Poirot Series)",
      "link": "https://www.barnesandnoble.com/w/the-monogram-murders-sophie-hannah/1120554022?ean=9780062297228",
      "ean": "9780062297228",
      "work_id": "1120554022",
      "contributors": [
        {
          "name": "Sophie Hannah",
          "role": "Author",
          "link": "https://www.barnesandnoble.com/authors/sophie-hannah?contributorId=1350382"
        },
        {
          "name": "Agatha Christie",
          "role": "Author",
          "link": "https://www.barnesandnoble.com/authors/agatha-christie?contributorId=170686"
        }
      ],
      "format": "Paperback",
      "edition": "Reprint",
      "series": "Hercule Poirot Series",
      "series_number": 39,
      "publication_time_iso8601": "2015-06-09T04:00:00Z",
      "price": 18.99,
      "sales_rank": 30802,
      "thumbnail": "https://cdn.shopify.com/s/files/1/0674/5433/7265/files/9780062297228_p0.jpg?v=1765241664",
      "description": "\"I'm a dead woman, or I shall be soon . . .\"Hercule Poirot's quiet supper in a London coffeehouse is interrupted when a young woman confides..."
    },
    ...
  ],
  "serpapi_pagination": {
    "current": 2,
    "next_page_token": "NFFCynicNY7NbptAAIRV9XEqR4Bjt5aSA7A4YeNdgrP87F4s_op38RrCjzF77qM06bmP0z5NqdTeZkYzo-_b9yYpi49vTVvXX39_uCsmaLAYqiTaDK6orzsbKhbj_56jB8ipCEYmnJ7JwKAvmuYBpO0iyBlBPVJW5QF_9AAUWFSTy0eeLcOJya1gL-7aFabO5JEkQXmb6vkTifcWqfJLut0PxRYjEpR66uBxF-lJpvnKi_MhqvTXcBvwmWWkUX6aOdSsm2yJdRbtrdx214hkKyTMFQZoxICusD3yVG40X4YyXcK_mytW1YRApSFlGjObNn-cikeryWSo_NjnnnCWHnFHjwRzjxoe2W9u4NA2ER2_XIpzZokt_gyrQ49iBvFEHeCzeE1af_PM4KX70RVdx-vzr-5weKy7flG2PF_8C-9dYXEqXR090OsuYicsnR6DUmFbn_NA7QgaGSg1BMqJKrpC3L3pn1pmtgEMQROHE7J5e15fbw2sxxuzDtbuQh-OpXwGpY_euyJps-PP13uzTPpj8sk-trzrefEHiIKolw",
    "next": "https://serpapi.com/search.json?engine=barnes_and_noble&next_page_token=NFFCynicNY7NbptAAIRV9XEqR4Bjt5aSA7A4YeNdgrP87F4s_op38RrCjzF77qM06bmP0z5NqdTeZkYzo-_b9yYpi49vTVvXX39_uCsmaLAYqiTaDK6orzsbKhbj_56jB8ipCEYmnJ7JwKAvmuYBpO0iyBlBPVJW5QF_9AAUWFSTy0eeLcOJya1gL-7aFabO5JEkQXmb6vkTifcWqfJLut0PxRYjEpR66uBxF-lJpvnKi_MhqvTXcBvwmWWkUX6aOdSsm2yJdRbtrdx214hkKyTMFQZoxICusD3yVG40X4YyXcK_mytW1YRApSFlGjObNn-cikeryWSo_NjnnnCWHnFHjwRzjxoe2W9u4NA2ER2_XIpzZokt_gyrQ49iBvFEHeCzeE1af_PM4KX70RVdx-vzr-5weKy7flG2PF_8C-9dYXEqXR090OsuYicsnR6DUmFbn_NA7QgaGSg1BMqJKrpC3L3pn1pmtgEMQROHE7J5e15fbw2sxxuzDtbuQh-OpXwGpY_euyJps-PP13uzTPpj8sk-trzrefEHiIKolw&q=Agatha+Christie"
  }
}

JSON structure overview

{
  ...
  "serpapi_pagination": {
    "current": "Integer - Current page",
    "next_page_token": "String - Token of the next page, for the next_page_token parameter",
    "next": "String - SerpApi link to the next page"
  }
}