# Quickstart

Look up a Product and read its price, with curl.

The API lives at `https://api.drophawk.net`.
There is no key to request and no account to create, so every example on this page runs as written.

## Look up a Product

A Product is one exact part, identified by its model number.
Ask for it by its ModelSlug, the URL-safe form of that model number:

```sh
curl https://api.drophawk.net/v1/products/prime-rtx5080-o16g
```

```json
{
  "model_slug": "prime-rtx5080-o16g",
  "model_number": "PRIME-RTX5080-O16G",
  "name": "ASUS Prime GeForce RTX 5080 OC Edition 16GB GDDR7",
  "brand": {
    "slug": "asus",
    "name": "ASUS"
  },
  "component_type": {
    "slug": "gpu",
    "name": "GPU"
  },
  "specs": {
    "gpu_chipset": {
      "string_value": "RTX 5080"
    },
    "memory_type": {
      "string_value": "GDDR7"
    },
    "tdp": {
      "number_value": 360,
      "unit": "W"
    }
  },
  "images": [
    {
      "url": "https://images.drophawk.net/products/4e7a1c0b9d2f63a8e5b4c7d1f0a9e2b3c6d8f1a4b7e0c3d6f9a2b5c8e1d4f7a0.webp",
      "width": 1200,
      "height": 900,
      "alt_text": "ASUS Prime GeForce RTX 5080 graphics card"
    }
  ],
  "pricing": {
    "best_price": {
      "price": {
        "amount": "1799.00",
        "currency": "AUD"
      },
      "observed_at": "2026-10-07T03:12:44Z",
      "retailer": {
        "slug": "pccasegear",
        "name": "PC Case Gear"
      }
    },
    "in_stock_count": 4,
    "all_time_low": {
      "price": {
        "amount": "1695.00",
        "currency": "AUD"
      },
      "date": "2026-09-18"
    }
  },
  "url": "https://drophawk.net/products/gpu/prime-rtx5080-o16g/asus-prime-geforce-rtx-5080-oc-edition-16gb-gddr7",
  "best_price_url": "https://go.drophawk.net/p/prime-rtx5080-o16g?src=api&rep=json"
}
```

A few things to know about the shape:

- Field names are `snake_case`.
- Amounts are decimal strings, never JSON numbers, so `"1799.00"` survives a round trip exactly.
  Parse them with a decimal type, and never reject one for its decimal places: a JPY price is `"599"`, and a price DropHawk observed more precisely is not rounded.
- Fields with a zero value are still sent (an `in_stock_count` of `0`, an empty `specs` object).
  A field that is absent has no value at all.
  A price DropHawk cannot state is withheld: absent, with a `*_withheld_reason` field saying why.
- Dates are `YYYY-MM-DD`, in UTC.
  Timestamps are RFC 3339, in UTC.
- `specs` is keyed by the Spec keys the Product's ComponentType defines.
  Each value carries exactly one of `string_value`, `number_value` or `bool_value`, and a `unit` when the Spec has one.
  A key DropHawk holds no value for is left out.

You can also pass a model number as a Retailer writes it, and DropHawk resolves it to the same Product.
[Identifiers](https://developers.drophawk.net/guides/identifiers.md) covers how, and what happens when a Product has been merged.

## Read the price

`pricing.best_price` is the BestPrice: the lowest latest price across the Product's in-stock Listings, as a `price`, the `retailer` offering it, and the `observed_at` time that Retailer last confirmed it.
If nothing is in stock it is withheld - absent, with `best_price_withheld_reason` set to `OUT_OF_STOCK` - not zero, and not the last price DropHawk saw.
`pricing.all_time_low` is the lowest daily price ever recorded for the Product, in stock or not.

Read [Pricing semantics](https://developers.drophawk.net/guides/pricing.md) before you quote either one to a person.

## Link a person to the Product

`url` is the Product's page on drophawk.net, which compares every Retailer's price and shows the price history.
`best_price_url` is a BestPriceLink: it sends a person who has decided to buy to the Retailer with the best price.
See [Links](https://developers.drophawk.net/guides/links.md) for which to give to whom.

## Next steps

- [Errors and reasons](https://developers.drophawk.net/guides/errors.md): what a failure looks like and which ones to retry.
- [Rate limits](https://developers.drophawk.net/guides/rate-limits.md): how many requests you can make, and the headers that say so.
- [API reference](https://developers.drophawk.net/reference/get-product.md): every field, generated from the API's own definition.
