Farmer DiamondsUsed hard drives with statutory warranty – home page

Machine-readable

For programs and AI agents: the catalogue as JSON

A program that reads the catalogue need not take pages apart: everything the pages say about a drive is available as JSON. Only a person can order.

The catalogue feed

/katalog.json holds every drive and every set on offer in one answer. The feed says what the pages say and nothing beyond: no serial number, no reference price, no statement about the future of a drive.

GET https://farmer.diamonds/katalog.json
GET https://farmer.diamonds/katalog.json?lang=en
  • The answer names its schema (schema: fd-katalog/1), the time it was built (generatedAt, UTC), its language (language), the seller (shop), the number of entries (counts) and the lists models, drives and sets.
  • Under shop are the name, the seller, the currency, the VAT and the delivery area (deliveryArea: AT). While a pickup point is active, pickup is there too: an order can be picked up free of charge instead of being shipped (free), at the pickup points in places with name, address and opening hours.
  • Without a parameter the wordings are German; with lang=en English. Figures and codes are the same in both.
  • A copy may be used for 300 seconds (Cache-Control). Asking more often brings nothing new. The answer carries an ETag: whoever sends it back with If-None-Match gets an empty answer while nothing on offer has changed. With Accept-Encoding: gzip it arrives compressed.
  • A field that is added does not change the name of the schema; where the meaning of a field changes, the schema gets a new number.
The fields of an entry in models
Field in modelsMeaning
idThe identifier of the model, also the last part of the address of its page and the value of the parameter modell.
urlThe address of the page of this model.
modelname: the model as the page names it. number: the designation the drive reports.
capacitytb as labelled, tib as the operating system reports it; text and tibText as printed on the page.
drivesThe number of drives of this model in drives.
nasAndContinuousUsesuitable: whether the model is fit for NAS, RAID and continuous operation (true, false, or null for an unknown model). With false, text holds the sentence of the page.
recordingThe recording method of the model, as the row “Recording” of the page states it (CMR). Absent where the model has no entry.
specsThe technical data of the model as its page lists them under “Technical data”: per row name, and in values what the row states. Absent for a model without such data.
specsNoteThe note of the page on them: details of the model, no measured values of the single used drive.
The fields of an entry in drives
Field in drivesMeaning
idThe item number of the drive (FD-…), as on its page. Not a serial number.
urlThe address of the page of this drive.
jsonThe address of its JSON twin.
modelname: the model as the page names it. number: the designation the drive reports.
capacitytb as labelled, tib as the operating system reports it; text and tibText as printed on the page.
interfaceThe interface as the page names it. Absent where it was not recorded.
recordingThe recording method of the model, as the row “Recording” of the page states it (CMR). Absent where the model has no entry.
conditioncode: used, recertified (factory recertified by the maker, recorded for the single drive) or refurbished (factory refurbished). text: the wording of the page, the same as in the order line. The list puts recertified and refurbished together under zustand=refurbished.
powerOnHoursPower-on hours when we measured. null means: not recorded.
powerCyclesPower cycles when we measured. null means: not recorded.
defectiveSectorsBad sectors as the sum of the counters. null means: not recorded, and is not a zero.
testmarks: what is on record about the test, in the order of the page. ueberschrieben: the drive was overwritten in full, which writes every sector. After it a self-test with a recorded result: lang or kurz (long or short, passed), lang_fehler or kurz_fehler (not passed). A drive without a recorded overwrite has exactly one entry, the state of its self-test; then lang_offen, kurz_offen (result not recorded) and nicht_erfasst (not recorded) occur as well. text: the wording of the page. A self-test is given as passed only where its passed result is on record; the overwrite is never worded as a passed self-test.
conditionScoreThe condition score: score out of of, with its band. A summary of the measured values, not a statement about the future. null without recorded power-on hours.
nasAndContinuousUsesuitable: whether the model is fit for NAS, RAID and continuous operation (true, false, or null for an unknown model). With false, text holds the sentence of the page.
priceThe price the page states: cents, eur, currency, including VAT, without shipping. No reference price. For the drive of the day, while it can be ordered, it is the amount in the line of the order form on its page: the amount the order charges, with the “Jetzt-Bonus”. Above the form the same page states the price without that bonus.
availabilitycode: the status. text: its wording on the page.
orderableSinglytrue when the drive is available, has a price and belongs to no set.
orderThe link to the checkout with this drive, for a person. Only with orderableSingly.
setThe set the drive belongs to: id and url. It is then sold with the set only.
imageThe product photo of this drive, where its page shows one.
The fields of an entry in sets
Field in setsMeaning
idThe identifier of the set, also the last part of its address.
urlThe address of the page of this set.
titleThe title of the page.
kindThe kind of set.
drivesThe number of drives in the set.
modelname: the model as the page names it. number: the designation the drive reports.
capacityPerDriveThe capacity per drive: tb, text, tib and tibText as in capacity of a single entry.
conditioncode: used, recertified (factory recertified by the maker, recorded for the single drive) or refurbished (factory refurbished). text: the wording of the page, the same as in the order line. The list puts recertified and refurbished together under zustand=refurbished.
layoutsPer layout (layout) the number of drives that carry data (dataDrives) and the usable capacity (usable), nominal as on the page.
powerOnHoursThe power-on hours of the drives in the set: min, max, median.
membersThe drives of the set, each with id and url.
nasAndContinuousUsesuitable: whether the model is fit for NAS, RAID and continuous operation (true, false, or null for an unknown model). With false, text holds the sentence of the page.
priceThe price of the set: cents, eur, currency, including VAT, without shipping. null while not every drive has a price. For a set as the “drive of the day”, what price of a single entry says applies.
availabilitycode: the status. text: its wording on the page.
orderabletrue when the set can be ordered as a whole.
orderThe link to the checkout with this set, for a person. Only with orderable.

What the measured values mean is under Measured values explained; how a buyer reads them out is under Check the values yourself.

The JSON twin of a drive

Every drive page has a twin at /laufwerk/FD-….json with the same details (schema: fd-laufwerk/1). The page of a drive on offer announces it in its head with a link element: rel alternate, type application/json. The twin names the page as its canonical address (Link header, rel canonical).

GET https://farmer.diamonds/laufwerk/FD-69J8QE.json

Under drive is the entry of the feed. Added to it are the individual deductions of the condition score (conditionScore.deductions, conditionScore.note) and these fields:

The additional fields of the twin
Field in driveMeaning
erasureWhat happened to the previous data: documented and the wording of the page in text.
termsWhat the buy box of the page states: shipping (the shipping cost of the first tier), pickup (free pickup, while a pickup point is active), delivery (the delivery area), withdrawalDays and withdrawalNote (withdrawal), warrantyMonths (the statutory warranty in months) and seller (the seller).

A sold drive keeps its twin as well, marked as sold and without a link to the checkout; its page is no longer in the index and does not announce it. The shop answers an unknown number with an error message as JSON.

The list and its parameters

The list at /festplatten is a page for people and answers as HTML. Its address takes these parameters; with them a person can be led straight to a selection. For evaluating, there is the feed.

The parameters of the list
ParameterValuesEffect
modellidentifier of a model: the last part of the address of its pageThis model only. An identifier without a drive on offer does not filter.
minTBa capacity on offer in whole TBAt least this capacity as labelled. A capacity that is not on offer does not filter.
qsearch wordsEvery word must be true of the drive: model, item number, capacity, interface or condition.
zustandrefurbished, gebrauchtOnly drives in this condition.
einsatznasOnly models fit for NAS, RAID and continuous operation.
selbsttestbestandenOnly drives with a passed self-test on record.
seitewhole number from 1The page of the list.
proSeite24, 48, 96Drives per page; any other value gives 24.
sortempfohlen, stunden-auf, stunden-ab, preis-auf, preis-ab, preis-tb-auf, kapazitaet-ab, neuThe order; empfohlen when absent and for any other value.
maxStundenwhole numberAt most this many power-on hours. A drive without recorded power-on hours then drops out.
maxPreiswhole numberAt most this price in whole euros.
https://farmer.diamonds/festplatten?einsatz=nas&minTB=20&sort=preis-auf

For a capacity, for NAS and continuous operation and for pickup in a town the list has fixed addresses; each shows its drives and carries the order form for one of them:

A value the list does not know does not filter. The page of a model takes selbsttest, seite, proSeite, sort, maxStunden, maxPreis of these; the sort preis-tb-auf exists in the list only. With lang=en every page appears in English.

The prepared cart

A link to the checkout can bring the selection along: one parameter item per line, item=laufwerk:FD-… with its item number for a drive, item=set:… with its identifier for a set. The parameter may occur several times. The field order in the feed is this link for one entry.

https://farmer.diamonds/kasse?item=laufwerk%3AFD-69J8QE

A single drive or a single set does not need the link: the page at url carries the order form itself while the entry can be ordered.

The checkout checks every line afresh: it states the price, the shipping cost, free pickup where it is offered, and what is no longer available. An order in the shop holds at most 10 hard drives; for more there is the bulk enquiry.

Rules for programs

  • Only a person places an order. A program may prepare the link to the checkout and show it to a person; filling in the form, confirming the terms and submitting it is for the person to do. That holds for every order form of the shop, also for the forms on the pages of the drives, the sets and the models, on the start page and on the pages under /festplatten/.
  • The checkout, the order pages, the waitlist and the receipts of a withdrawal are excluded in robots.txt and are not fetched automatically.
  • Do not fetch the feed more often than every 300 seconds.
  • Whoever passes a detail on gives the time from generatedAt: every drive is a single item and can be taken with the next order.
  • The German legal texts are what binds: the terms, the right of withdrawal, Shipping & payment. The shop in dated sentences: Facts about the shop.