Barnes & Noble
Barnes & Noble Search API
Search Barnes & Noble by keyword (title, author, series, ISBN or subject), sorted with the site's sort menu and filtered by format, availability, price band, subject, age and language: the first 24 results with price, original price, format, sales rank and badges, plus the site's facets with counts. Costs 1 credit.
Authorizations
AuthorizationstringheaderrequiredBearer authentication header of the form Bearer <token>, where <token> is your Scavio API key (e.g. Bearer sk_live_your_key).
Body
application/jsonquerystringrequiredKeywords, 1-200 characters: title, author, series, ISBN or subject.
Example: project hail mary
sortenum<string>default:relevanceThe site's sort menu.
Example: bestselling
relevance— Top Matches (default).bestselling— Best selling first.newest— Newest publication date first.oldest— Oldest publication date first.price_asc— Price, low to high (free eBooks come first).price_desc— Price, high to low.title— Title, A to Z.
filtersobjectThe site's own filters, a value or a list of values each, at most 10 values in all: format (as the site names it: Hardcover, Paperback, eBook, Audiobook, BN Exclusive, Large Print, Audio CD ...), availability (in_stock, preorder, ships_in_1_2_days), price (a band: under_5, 5_10, 10_15, 15_25, 25_50, over_50), subject (Fiction, Kids, Social Sciences ...), age (0 - 2 Years, 3 - 5 Years ...) and language (English, Spanish ...). facets in an answer lists the values with their counts.
Example: {"format": "Paperback"}
countrystringdefault:usus, the default and the only market: barnesandnoble.com serves the United States, prices in USD. Anything else is a 400, not charged.
Example: us
Notes
Barnes & Noble. Barnes & Noble (barnesandnoble.com, the US bookseller): United States only, prices in US dollars, so country is us (the default) and anything else is a 400, not charged. Prices are what barnesandnoble.com shows a visitor: price is what Barnes & Noble charges now and original_price the struck-through price when the page shows one. Member prices are not shown to visitors and are never returned; member_offers on product is the member offer text the page shows, as given. Barnes & Noble has no public API. Every endpoint costs 1 credit per call. On 2026-11-27 project hail mary read a total of 3,101 results. The first two were the Deluxe Edition (a Special hardcover at 37 USD, 40 struck through, with the badges $3 OFF and Best Seller) and the paperback at 22 USD with sales rank 26; the hardcover at 32 USD came third. The facets counted 1,638 eBooks, 936 paperbacks and 302 hardcovers, and 2,599 English titles. A search matches every product Barnes & Noble sells, not only books: the same query also returned the film's score on CD and vinyl, the Blu-ray and the 4K disc. Send filters.format (Hardcover, Paperback, eBook ...) to keep one format. Filter values are matched as the site names them; facets lists them with their counts for the current query. Barnes & Noble shows 24 results per search or list page, and an answer holds that first page; total is the site's own count for the whole list. Narrow a list with sort and filters rather than paging. rating and rating_count are empty in lists (Barnes & Noble does not fill them there); product carries them.
| Endpoint | Market | Credits |
|---|---|---|
search | us | 1 credit |
product | us | 1 credit |
store-availability | us | 1 credit |
stores | us | 1 credit |
store | us | 1 credit |
suggestions | us | 1 credit |
bestsellers | us | 1 credit |
category | us | 1 credit |
categories | us | 1 credit |
deals | us | 1 credit |
Request
from scavio import ScavioClient
client = ScavioClient(api_key="sk_live_your_key", timeout=180)
d = client.barnesandnoble.search(query="project hail mary", filters={"format": "Paperback"})["data"]
print(d["total"], d["count"])
for i in d["items"]:
print(i["ean"], i["title"], i["format"], i["price"], i["original_price"], i["badges"])Response