Search books
search_booksSearch for a book across every bookseller Near Fine covers for the buyer's country, ebook and audiobook stores included; list_sources names them. Shops' ebooks and audiobook downloads are offered only in their own country. Pass an ISBN-10 or ISBN-13 for an exact edition, or title and author keywords. The query can also carry a price cap, as in "under $40" or "max 30 €" (in the buyer's currency when it names none), and ask for a first edition, a signed copy, a dust jacket, a hardcover or a paperback, as in "wolf hall signed first edition under £200", or for an ebook or audiobook alone. Offers over the cap, counting known shipping, and offers in other formats than the one asked for are left out; criteria reports what was read. Pass seller to see only some booksellers' offers, by name or part of one, or by a shop's own name in another script. Returns offers sorted cheapest first, those with unpublished shipping from abroad after every known total, each with title, seller, condition (new, used or a grade such as very good, ebook or audiobook), the seller's own grade where given, the edition's publisher and year where the bookseller gives them, price and shipping in the seller's currency, the same in the buyer's currency when it differs, and the URL to buy. Shipping is left out where the shop doesn't publish it. Each offer may carry a match from 0 to 1: how sure a decision model is that the listing is the book searched for rather than a study guide, summary, adaptation or another book that shares a word. A copy of the ISBN searched for has 1, and on a keyword search one the model doubts takes its best match for the same book elsewhere. Offers below 0.5 are left out and counted in doubtful. When the query asks for attributes, each offer carries verdicts: true where the decision model, reading the listing and any filter the bookseller applied, confirms the listing claims it, false where it doesn't, and left out where unjudged. Also reports which sources answered, failed or timed out, a cover image of the best match, an amazon_url that opens the same search on the buyer's Amazon site, and a search_url that opens it on Near Fine, where the buyer can set an alert and get an email when a new listing turns up with everything the query asks for. When the buyer has signed in and favours some booksellers, offers from those carry favourite: true; say when one of them has a copy and how far it is from the cheapest, rather than preferring it. A search takes a few seconds.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"query": "<query>"
},
"name": "search_books"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | ISBN-10, ISBN-13 (hyphens and spaces allowed) or title and author keywords, optionally with a price cap and attributes such as "first edition under $40" | |
| seller | No | Only these booksellers' offers, each named as the offers' seller names it or by part of the name, such as "World of Books", or "abe" for every AbeBooks site. A whole name means that seller alone. | |
| country | No | Country the buyer is in, as an ISO 3166-1 alpha-2 code such as US, GB or DE. Defaults to US. |