Barnes & Noble Filtering API

Our Barnes & Noble API allows you to filter results with the filters of Barnes & Noble's search page, except Pick Up in Store.

Each search lists the filters available for its results in filters, with the API parameter of each filter, and the value and serpapi_link of each option. To get the products matching any of several values of a filter, like checking several boxes, separate the values with ||. rating takes a single value: the minimum rating.


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

Head to the playground for a live and interactive demo.

API parameters

Advanced filters

availability

Optional

Parameter defines the availability of the products to show. Both options can be separated by || (e.g., in_stock||pre_order).

Available options:
in_stock - In stock, ships in 1-2 days
pre_order - Pre-Order

department

Optional

Parameter defines the department of the products to show (e.g., Books, eBooks & NOOK, Kids' Books, or Toys & Games). The departments of a search are in filters of the JSON response. Multiple departments can be separated by ||.

subject

Optional

Parameter defines the subject of the products to show (e.g., Mystery & Thrillers or Science Fiction & Fantasy). The subjects of a search are in filters of the JSON response. Multiple subjects can be separated by ||.

product_format

Optional

Parameter defines the format of the products to show (e.g., Hardcover, Paperback, eBook, Audiobook, or Vinyl LP). The formats of a search are in filters of the JSON response. Multiple formats can be separated by || (e.g., Hardcover||Paperback).

age

Optional

Parameter defines the age range of the products to show (e.g., 0 - 2 Years, 6 - 8 Years, or Teens). The age ranges of a search are in filters of the JSON response. Multiple age ranges can be separated by ||.

price

Optional

Parameter defines the price range of the products to show (e.g., Under $5, $10 - $15, or Over $50). The price ranges of a search are in filters of the JSON response. Multiple price ranges can be separated by ||.

rating

Optional

Parameter defines the minimum average rating of the products to show, from 1 to 5 stars (e.g., 4 for products rated 4 stars and up).

language

Optional

Parameter defines the language of the products to show (e.g., English or Spanish). The languages of a search are in filters of the JSON response. Multiple languages can be separated by ||.

color

Optional

Parameter defines the color of the products to show (e.g., Black), for products like journals and accessories. The colors of a search are in filters of the JSON response. Multiple colors can be separated by ||.

API examples

Filters for  q: Agatha Christie

count is the number of results of the search with the option. Like on Barnes & Noble's search page, options without results are left out.

Filters for  q: Agatha Christie

JSON Example

{
  ...
  "filters": [
    {
      "title": "Availability",
      "parameter": "availability",
      "options": [
        {
          "text": "In stock, ships in 1-2 days",
          "value": "in_stock",
          "count": 8189,
          "serpapi_link": "https://serpapi.com/search.json?availability=in_stock&engine=barnes_and_noble&q=Agatha+Christie"
        },
        {
          "text": "Pre-Order",
          "value": "pre_order",
          "count": 111,
          "serpapi_link": "https://serpapi.com/search.json?availability=pre_order&engine=barnes_and_noble&q=Agatha+Christie"
        }
      ]
    },
    {
      "title": "Department",
      "parameter": "department",
      "options": [
        {
          "text": "Books",
          "value": "Books",
          "count": 7067,
          "serpapi_link": "https://serpapi.com/search.json?department=Books&engine=barnes_and_noble&q=Agatha+Christie"
        },
        {
          "text": "eBooks & NOOK",
          "value": "eBooks & NOOK",
          "count": 3554,
          "serpapi_link": "https://serpapi.com/search.json?department=eBooks+%26+NOOK&engine=barnes_and_noble&q=Agatha+Christie"
        },
        {
          "text": "NOOK",
          "value": "NOOK",
          "count": 2501,
          "serpapi_link": "https://serpapi.com/search.json?department=NOOK&engine=barnes_and_noble&q=Agatha+Christie"
        },
        ...
      ]
    },
    ...
    {
      "title": "Reviews",
      "parameter": "rating",
      "options": [
        {
          "text": "5 stars",
          "value": "5",
          "count": 339,
          "serpapi_link": "https://serpapi.com/search.json?engine=barnes_and_noble&q=Agatha+Christie&rating=5"
        },
        {
          "text": "4+ stars",
          "value": "4",
          "count": 1498,
          "serpapi_link": "https://serpapi.com/search.json?engine=barnes_and_noble&q=Agatha+Christie&rating=4"
        },
        ...
      ]
    },
    ...
  ]
}

Results for  q: don quixote and  language: Spanish

Filters take the values of their options in filters, which Barnes & Noble's search page shows (e.g., Spanish for language).

Results for  q: don quixote and  language: Spanish

JSON Example

{
  ...
  "search_parameters": {
    "engine": "barnes_and_noble",
    "q": "don quixote",
    "language": "Spanish"
  },
  "search_information": {
    "total_results": 788,
    "query_displayed": "don quixote"
  },
  "organic_results": [
    {
      "position": 1,
      "title": "Don Quijote de la Mancha (Edición conmemorativa) / Don Quixote (Commemorative Edition)",
      "link": "https://www.barnesandnoble.com/w/don-quijote-de-la-mancha-miguel-de-cervantes/1131004592?ean=9788491057536",
      "ean": "9788491057536",
      "work_id": "1131004592",
      "contributors": [
        {
          "name": "Miguel de Cervantes",
          "role": "Author",
          "link": "https://www.barnesandnoble.com/authors/miguel-de-cervantes?contributorId=1577486"
        }
      ],
      "format": "Hardcover",
      "publication_time_iso8601": "2025-08-19T04:00:00Z",
      "price": 19.95,
      "sales_rank": 34748,
      "thumbnail": "https://cdn.shopify.com/s/files/1/0674/5433/7265/files/9788491057536_p0.jpg?v=1765210333",
      "description": "Un clásico inagotable, que sigue hablándonos como en la época de su primera publicación.Edición de Florencio Sevilla Arroyo, catedrático de..."
    },
    {
      "position": 2,
      "title": "Don Quijote de la Mancha / Don Quixote",
      "link": "https://www.barnesandnoble.com/w/don-quijote-de-la-mancha-don-quixote-miguel-de-cervantes/1131004592?ean=9788491050759",
      "ean": "9788491050759",
      "work_id": "1131004592",
      "contributors": [
        {
          "name": "Miguel de Cervantes",
          "role": "Author",
          "link": "https://www.barnesandnoble.com/authors/miguel-de-cervantes?contributorId=1577486"
        }
      ],
      "format": "Paperback",
      "publication_time_iso8601": "2019-08-20T04:00:00Z",
      "price": 18.95,
      "sales_rank": 29803,
      "thumbnail": "https://cdn.shopify.com/s/files/1/0674/5433/7265/files/9788491050759_p0.jpg?v=1765211465",
      "description": "Los mejores libros jamás escritosEdición de Florencio Sevilla Arroyo, catedrático de Filología Española en la Universidad Autónoma de Madrid..."
    },
    ...
  ]
}

Results for  q: dinosaurs,  department: Kids' Books, and  age: 3 - 5 Years||6 - 8 Years

Kids' books for 3 to 5 or 6 to 8 years old: the products match both filters, and either age range.

Results for  q: dinosaurs,  department: Kids' Books, and  age: 3 - 5 Years||6 - 8 Years

JSON Example

{
  ...
  "search_parameters": {
    "engine": "barnes_and_noble",
    "q": "dinosaurs",
    "department": "Kids' Books",
    "age": "3 - 5 Years||6 - 8 Years"
  },
  "search_information": {
    "total_results": 4106,
    "query_displayed": "dinosaurs"
  },
  "organic_results": [
    {
      "position": 1,
      "title": "Dinosaurs and Other Prehistoric Life",
      "link": "https://www.barnesandnoble.com/w/dinosaurs-and-other-prehistoric-life-anusuya-chinsamy-turan/1140248186?ean=9780744039436",
      "ean": "9780744039436",
      "work_id": "1140248186",
      "contributors": [
        {
          "name": "Anusuya Chinsamy-Turan",
          "role": "Author",
          "link": "https://www.barnesandnoble.com/authors/anusuya-chinsamy-turan?contributorId=4621729"
        }
      ],
      "format": "Hardcover",
      "series": "DK Children's Anthologies",
      "publication_time_iso8601": "2021-11-02T04:00:00Z",
      "price": 24.99,
      "sales_rank": 7097,
      "thumbnail": "https://cdn.shopify.com/s/files/1/0674/5433/7265/files/9780744039436_p0.jpg?v=1768985883",
      "description": "Travel back in time to when dinosaurs roamed the earth with this awe-inspiring dinosaur book for curious kids aged 6-8.The prehistoric word..."
    },
    {
      "position": 2,
      "title": "Dinosaurs: The Most Complete, Up-to-Date Encyclopedia for Dinosaur Lovers of All Ages",
      "link": "https://www.barnesandnoble.com/w/dinosaurs-thomas-r-holtz-jr/1112964525?ean=9780375824197",
      "ean": "9780375824197",
      "work_id": "1112964525",
      "contributors": [
        {
          "name": "Thomas R. Holtz Jr.",
          "role": "Author",
          "link": "https://www.barnesandnoble.com/authors/thomas-r-holtz-jr?contributorId=10129352"
        },
        {
          "name": "Luis V. Rey",
          "role": "Illustrator",
          "link": "https://www.barnesandnoble.com/authors/luis-v-rey?contributorId=3354253"
        }
      ],
      "format": "Hardcover",
      "publication_time_iso8601": "2007-10-23T04:00:00Z",
      "price": 39.99,
      "sales_rank": 217688,
      "thumbnail": "https://cdn.shopify.com/s/files/1/0674/5433/7265/files/9780375824197_p0.jpg?v=1768998426",
      "description": "An award-winning encyclopedia written for young people but perfect for all ages, written to help everyone understand and appreciate the mind..."
    },
    ...
  ]
}

JSON structure overview

{
  ...
  "filters": [
    {
      "title": "String - Name of the filter (e.g. Availability, Department, Format)",
      "parameter": "String - API parameter of the filter (e.g. availability, department, product_format)",
      "options": [
        {
          "text": "String - Name of the option",
          "value": "String - Value of the option, for the parameter of the filter",
          "count": "Integer - Number of products with this option",
          "serpapi_link": "String - SerpApi link to the search with this option"
        },
        ...
      ]
    }
  ],
  ...
}