Skip to content
Skip to Content
DropHawk.Developers

Pricing semantics

BestPrice and the all-time low answer different questions. Quote the one that matches yours.

View as Markdown

A Product's pricing carries two kinds of price. They are easy to confuse, and confusing them produces claims a person will notice are wrong, such as "you can buy it for $1,695" about a price that has not been available for weeks.

PriceFieldQuestion it answers
BestPricepricing.best_priceWhat is the cheapest a person can buy this for right now?
All-time lowpricing.all_time_lowWhat is the cheapest it has ever been?

BestPrice

The BestPrice is the lowest latest price across the Product's in-stock Listings. A Listing is one Retailer's offer of the Product, and its latest price is the last one DropHawk observed there.

Two rules decide whether a Product has a BestPrice at all:

  • Only in-stock Listings count. If no Listing is in stock there is no BestPrice, even though out-of-stock Listings still show prices.
  • Only one currency. DropHawk does not rank amounts across currencies, so if the in-stock Listings are priced in more than one, there is no BestPrice either.

When there is no BestPrice, DropHawk withholds it: best_price is absent, and best_price_withheld_reason says why:

best_price_withheld_reasonMeaning
OUT_OF_STOCKRetailers list the Product at a price, but none has it in stock.
NO_DATANo Retailer lists the Product at a price at all.
MIXED_CURRENCYThe in-stock Listings are priced in more than one currency, so they cannot be ranked.

The reason is absent whenever best_price is present. More reasons may be added within v1; treat one you do not recognise as the price being unknown.

A BestPrice is a price (a Money), the retailer offering it, and observed_at, when that Retailer last confirmed the price. retailer has a slug, a stable identifier, and a name to show a person. If several Retailers share the BestPrice, it names the one best_price_url sends a buyer to. It is the only Retailer the API names: the others, and their prices, are on the Product page.

The BestPrice is an observation, not a live quote: a Retailer can change a price or sell out before DropHawk next checks. Say "$1,799 at PC Case Gear when last checked", not "$1,799 at PC Case Gear". The Retailer is withheld with the price: when best_price is absent, no Retailer is named.

A withheld best_price is an answer, not an error. With OUT_OF_STOCK it means "nobody has this in stock right now" - tell the person that, rather than falling back to another price.

All-time low

The all-time low is the lowest daily price DropHawk has ever recorded across the Product's enabled Listings, and all_time_low.date is the first day it was recorded at that price. It counts those Listings whether or not they were in stock that day, because DropHawk records the price a Listing showed even when it could not be bought.

It is withheld the same way, with all_time_low_withheld_reason (which has no OUT_OF_STOCK, since the history counts out-of-stock prices): NO_DATA when DropHawk has no price history for the Product, or MIXED_CURRENCY when that history spans more than one currency.

Use it for context: "the lowest DropHawk has seen this is $1,695, on 18 September". Do not present it as a price someone can pay.

Reading a drop

To tell someone whether now is a good time to buy, compare the two, and say which is which:

The cheapest in-stock price right now is $1,799 at PC Case Gear (checked 3 hours ago). The lowest DropHawk has ever recorded for it is $1,695, on 18 September.

The Product's page (url) charts the full price history, for a person who wants to see the trend.

DropHawk does not judge whether a part is worth buying. It has no benchmarks, reviews or opinions on performance - only prices and specifications.