Docs

API

Near Fine’s search is open to code, free and read-only, with no account or API key. One request asks every bookseller serving the buyer’s country and returns their offers together, in JSON.

GET https://nearfine.com/api/v3/search?query=9780141439518&country=GB
query
Required. An ISBN-10 or ISBN-13, hyphens and spaces allowed, or title and author keywords, with any criteria.
country
The buyer’s country, as an ISO 3166-1 alpha-2 code such as GB. Defaults to US.
seller
Optional, and repeatable as seller=…&seller=…. Only these booksellers’ offers: each a seller as the offers name it, or part of one, case, accents and punctuation aside, so abe is every AbeBooks site. A shop whose own name is in another script answers to that too, so 교보 is Kyobo Book Centre. A whole name means that seller alone.

Expect a few seconds: booksellers are asked live, and a search waits up to eight seconds for them. The response looks like this, with the offers and sources cut short and the links shortened:

{
  "query": "9780141439518",
  "country": "GB",
  "criteria": { "keywords": "9780141439518", "attributes": [] },
  "offers": [
    {
      "title": "Pride and Prejudice",
      "author": "Jane Austen",
      "code": "9780141439518",
      "publisher": "Penguin Classics",
      "year": 2003,
      "seller": "World of Books",
      "source": "WorldOfBooks GB",
      "condition": "used",
      "price": 5.4,
      "shipping": 0.0,
      "currency": "GBP",
      "match": 0.73,
      "url": "https://www.awin1.com/…"
    },
    {
      "title": "Pride and Prejudice (Penguin Classics) (Paperback)",
      "code": "173335067129",
      "seller": "eBay",
      "source": "Ebay DE",
      "condition": "very good",
      "grade": "Very Good",
      "price": 3.59,
      "shipping": 2.99,
      "currency": "EUR",
      "buyer_price": 3.01,
      "buyer_shipping": 2.5,
      "buyer_currency": "GBP",
      "match": 0.86,
      "url": "https://www.ebay.de/itm/173335067129?…"
    }
  ],
  "sources": [
    { "name": "Abebooks GB", "offers": 20 },
    { "name": "Ebay GB", "offers": 50 },
    { "name": "Mollat FR", "error": "timed out" }
  ],
  "amazon_url": "https://nearfine.com/out/amazon?country=GB&q=9780141439518",
  "search_url": "https://nearfine.com/search?country=GB&q=9780141439518"
}
criteria
What Near Fine read in the query. See Queries.
offers
Every offer that can reach the buyer, cheapest first, with those likely to be another book after the rest. See Offers.
sellers
The seller values given, where there were any.
sources
Each source searched, with how many offers it returned, before any seller narrowed them, or the error it failed with. A source searched again once the first answers identified the book says what it was asked in query.
amazon_url
Opens the same search on the buyer’s Amazon site. Amazon doesn’t share its prices with us yet.
search_url
Opens the same search on Near Fine, narrowed to the same sellers, where a person can also set an alert.

A missing query or an unknown country gets a 400 with an error message.

Queries

An ISBN finds that edition. Title and author keywords find every edition and format. A query can also say what the buyer wants beyond the book, which Near Fine strips from the keywords it sends to booksellers:

Price cap
under $40, below 25 GBP, max 30 € or < 50, in the buyer’s currency when none is named. Offers whose price and known shipping come to more are left out.
Attributes
first edition (also 1st ed., first printing, 1st/1st), signed, dust jacket, hardcover or paperback.
Format
ebook or audiobook, which leaves out offers in other formats.

Words in title case before another capitalised word stay part of the title, as in Hardcover Heaven, and so do words in double quotes. criteria reports what was read:

keywords
What’s left for the booksellers to search.
max_price
The cap, as amount and currency.
attributes
Any of first_edition, signed, dust_jacket, hardcover and paperback.
format
ebook or audiobook, when the query asks for one.
summary
The criteria in words, to show people, as in under £300, first editions, signed.

Offers

title, author
As the bookseller lists them. author is left out where it gives none.
code
The ISBN, or the source’s own id for the listing, such as eBay’s item number.
publisher, year
The edition’s publisher and the year it was published, which on a title search tell editions apart. Each is left out where the bookseller doesn’t give it.
seller
The bookseller or marketplace.
source
The catalog that found it: the bookseller and the site’s country.
condition
new, used or a grade such as very good, ebook or audiobook.
grade
The condition as the seller wrote it, such as Near Fine or wie neu. Left out where the seller gives none.
price, shipping, currency
In the seller’s currency. shipping is left out where the shop doesn’t publish its cost for the buyer’s country. Ebooks and audiobooks never ship, so theirs is 0.
buyer_price, buyer_shipping, buyer_currency
The same in the buyer’s currency, where it differs, at daily exchange rates. Treat them as approximate.
match
From 0 to 1, how sure a decision model is that the listing is the book searched for, in any edition or format, rather than a study guide, summary, adaptation, sequel or another book that shares a word. Below 0.5 it likely isn’t. A copy of the ISBN searched for has 1. On a keyword search, a listing the model doubts takes the best match it gave two listings or more of the same book, with the same ISBN or the same title and author. Left out where the listing wasn’t judged.
verdicts
When the query asks for attributes, whether the listing claims each one: true where the decision model confirms it from the listing’s words and any filter the bookseller applied, false where it doesn’t, and left out where unjudged. Ebooks have none of these attributes.
url
Where to buy it.

Offers come cheapest first in the buyer’s currency, counting known shipping, and those with a match below 0.5 come after the rest, in the same order. Within each, offers from sellers abroad that don’t publish shipping come after every offer with a known total, sorted among themselves as if shipping cost the price again, and at the same total, an offer with its shipping published comes first. Some links carry an affiliate tag, which is how Near Fine pays its way, so please pass them on as they are.

Sources

Each source is a bookseller’s site, named with its country, such as Ebay DE. Which ones a search asks depends on the buyer’s country: the MCP server’s list_sources lists them, and the about page names them all. Most are searched live. A few come from affiliate feeds, refreshed every six hours.

Some are searched once the first answers identify the book. Shops that look up ISBNs only join a title search with the ISBN those answers name most. The ebook and audiobook stores, and shops in the buyer’s country that sell ebooks, are asked an ISBN with the rest and then again for the book’s title and author, since an ebook has an ISBN of its own, answering that with ebooks and audiobooks that carry both.

Limits

60 requests a minute per IP across /api, /mcp and /bookplates. Calls to /mcp with an access token count against the person instead, at 120 a minute, and send_feedback takes five an hour from a signed-in person and twenty from an IP otherwise. Past that, requests get a 429 until the minute is up. /api/v3/search also allows 500 searches a day per IP, midnight to midnight UTC. Need more? Write to hello@nearfine.com.

Other endpoints

/api/v2/setup, /api/v2/search, /api/v2/edition
Serve Near Fine’s own search page, one request per source. They change when the page does.
/api/v1/search
A legacy endpoint kept for an existing integration. Build on v3 instead.
/llms.txt
All of this in brief, for agents.