# Get Product

Get a Product by model_slug or model number.

`GET https://api.drophawk.net/v1/products/{identifier}`

identifier is a model_slug, or a model number as a Retailer or the manufacturer writes it, percent-encoded. Store the model_slug in the response; never derive one. A model number containing "/" cannot travel in a path; send its model_slug.

A Product merged into another answers 301, with Location naming the survivor.

## Path parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `identifier` | string | yes | A model_slug or model number. At most 256 bytes. |

## Query parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `client` | string, one of `mcp` (others may appear) | no | Set to "mcp" only by the DropHawk MCP server, to attribute the links it hands out. Leave it unset; any other value is treated as unset. |

## Responses

### 200

The Product.

#### Headers

| Header | Type | Description |
| --- | --- | --- |
| `Cache-Control` | string | "public, max-age=300" on a successful GET; "no-store" on every other response. |
| `RateLimit-Limit` | integer | The burst a caller may make back-to-back (30). The sustained rate is 60 requests a minute. |

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `model_slug` | string, pattern `^[a-z0-9]+(-[a-z0-9]+)*$` | yes | The Product's stable identifier, derived by DropHawk from its model number, for example "deco-x1500-1-pack". Store and compare it as given; never derive it, since look-alike model numbers can be distinct Products ("U-PoE" and "U-PoE+"). |
| `model_number` | string | yes | The manufacturer's model number, for display. |
| `name` | string | yes | The Product's display name. |
| `brand` | BrandRef | yes | The Product's maker. |
| `brand.slug` | string, pattern `^[a-z0-9]+(-[a-z0-9]+)*$` | yes | Stable URL-safe identifier, for example "asus". |
| `brand.name` | string | yes | The Brand's display name, for example "ASUS". |
| `component_type` | ComponentTypeRef | yes | The Product's ComponentType, which declares the keys in specs. |
| `component_type.slug` | string, pattern `^[a-z0-9]+(-[a-z0-9]+)*$` | yes | Stable URL-safe identifier, for example "gpu". |
| `component_type.name` | string | yes | The ComponentType's display name, for example "Graphics Cards". |
| `specs` | map | yes | Spec values keyed by the ComponentType's spec_schema keys. A missing key means the value is unknown. |
| `specs.{key}` | SpecValue | no | SpecValue is one Spec value. Exactly one value field is set, as the key's SpecField.type declares. |
| `specs.{key}.string_value` | string | no | A text value, for example "RTX 4090". |
| `specs.{key}.number_value` | number | no | A numeric value, for example 24. |
| `specs.{key}.bool_value` | boolean | no | A yes/no value. |
| `specs.{key}.unit` | string | no | The unit, for example "GB". Absent when the Spec has none. |
| `images` | array<ProductImage> | yes | Product images, primary first. Empty when there are none. |
| `images[]` | ProductImage | yes | ProductImage is one image of a Product. |
| `images[].url` | string (uri) | yes | Absolute URL. Its content never changes, so it can be cached indefinitely. |
| `images[].width` | integer >= 1 | yes | Width in pixels. |
| `images[].height` | integer >= 1 | yes | Height in pixels. |
| `images[].alt_text` | string | yes | Alt text for the image. Never empty. |
| `pricing` | ProductPricing | yes | Current and historical prices. |
| `pricing.best_price` | BestPrice | no | The lowest current in-stock price. Absent when withheld. |
| `pricing.best_price.price` | Money | no | The price. |
| `pricing.best_price.price.amount` | string, pattern `^(0\|[1-9][0-9]*)(\.[0-9]+)?$` | no | The amount as a non-negative decimal string with a "." separator and no grouping, for example "1299.00". It usually has as many decimal places as the currency has minor units (2 for AUD, 0 for JPY), but may have fewer, or more when a price was observed more precisely: it is never rounded. Never reject an amount for its decimal places; parse it with a decimal type, not a float. |
| `pricing.best_price.price.currency` | string, pattern `^[A-Z]{3}$` | no | ISO 4217 code, for example "AUD". |
| `pricing.best_price.observed_at` | string (date-time) | no | When the Retailer last confirmed this price. |
| `pricing.best_price.retailer` | RetailerRef | no | The Retailer offering this price as of observed_at. On a tie, the one best_price_url resolved to when this response was produced. The link resolves when followed, so it goes to the current BestPrice, which may since have moved to another Retailer. |
| `pricing.best_price.retailer.slug` | string, pattern `^[a-z0-9]+(-[a-z0-9]+)*$` | no | Stable URL-safe identifier, for example "pccasegear". |
| `pricing.best_price.retailer.name` | string | no | The Retailer's display name, for example "PC Case Gear". |
| `pricing.best_price_withheld_reason` | string, one of `NO_DATA`, `OUT_OF_STOCK`, `MIXED_CURRENCY` (others may appear) | no | Why best_price is absent: OUT_OF_STOCK (priced, but none in stock), NO_DATA (no prices) or MIXED_CURRENCY (in-stock prices span currencies). Treat an unknown reason as no price. |
| `pricing.in_stock_count` | integer >= 0 | yes | Number of Retailers with the Product in stock. |
| `pricing.all_time_low` | DatedPrice | no | The lowest daily low ever recorded, dated to the first day it occurred. Absent when withheld. |
| `pricing.all_time_low.price` | Money | no | The price. |
| `pricing.all_time_low.price.amount` | string, pattern `^(0\|[1-9][0-9]*)(\.[0-9]+)?$` | no | The amount as a non-negative decimal string with a "." separator and no grouping, for example "1299.00". It usually has as many decimal places as the currency has minor units (2 for AUD, 0 for JPY), but may have fewer, or more when a price was observed more precisely: it is never rounded. Never reject an amount for its decimal places; parse it with a decimal type, not a float. |
| `pricing.all_time_low.price.currency` | string, pattern `^[A-Z]{3}$` | no | ISO 4217 code, for example "AUD". |
| `pricing.all_time_low.date` | string (date) | no | The UTC calendar date. |
| `pricing.all_time_low_withheld_reason` | string, one of `NO_DATA`, `MIXED_CURRENCY` (others may appear) | no | Why all_time_low is absent: NO_DATA or MIXED_CURRENCY (the history spans currencies). Treat an unknown reason as no price. |
| `url` | string (uri) | yes | The Product's page on drophawk.net. |
| `best_price_url` | string (uri) | yes | A DropHawk link that sends a buyer to the Retailer with the best price when it is followed, which may differ from pricing.best_price.retailer if the BestPrice has moved since, or to the Product's page when there is none. Use it unmodified. |

#### Example

```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"
}
```

### 301

The identifier names a Product that was merged into another. Follow Location to the surviving Product.

#### Headers

| Header | Type | Description |
| --- | --- | --- |
| `Location` | string | The same endpoint for the surviving Product, as a path on the API's origin. |
| `Cache-Control` | string | "public, max-age=300" on a successful GET; "no-store" on every other response. |
| `RateLimit-Limit` | integer | The burst a caller may make back-to-back (30). The sustained rate is 60 requests a minute. |

### 400

The request cannot be served as sent. Reason INVALID_IDENTIFIER, INVALID_QUERY, INVALID_PAGE_TOKEN, INVALID_PAGE_SIZE, EMPTY_BATCH, BATCH_TOO_LARGE or INVALID_REQUEST.

#### Headers

| Header | Type | Description |
| --- | --- | --- |
| `Cache-Control` | string | "public, max-age=300" on a successful GET; "no-store" on every other response. |
| `RateLimit-Limit` | integer | The burst a caller may make back-to-back (30). The sustained rate is 60 requests a minute. |
| `RateLimit-Remaining` | integer | Requests left in the caller's burst. Left off cacheable responses. |
| `RateLimit-Reset` | integer | Seconds until the caller's burst is full again. Left off cacheable responses. |

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `code` | integer | yes | The google.rpc.Code of the error, for example 5 (NOT_FOUND) or 8 (RESOURCE_EXHAUSTED). The HTTP status carries the same information. |
| `message` | string | yes | The error code's name, such as "not_found", "resource_exhausted" or "internal". Not for display; branch on the ErrorInfo reason. |
| `details` | array<ErrorInfo or ErrorDetail> | yes | Typed error details, each identified by its "@type". An HTTP/JSON error always includes exactly one ErrorInfo naming why the request failed. Other detail types may be added within v1; skip any whose "@type" you do not recognise. |
| `details[]` | ErrorInfo | yes | Always includes one: ErrorInfo. |
| `details[].@type` | string, always `type.googleapis.com/google.rpc.ErrorInfo` | yes |  |
| `details[].reason` | string, one of `PRODUCT_NOT_FOUND`, `INVALID_IDENTIFIER`, `INVALID_QUERY`, `INVALID_PAGE_TOKEN`, `INVALID_PAGE_SIZE`, `EMPTY_BATCH`, `BATCH_TOO_LARGE`, `INVALID_REQUEST`, `NOT_FOUND`, `METHOD_NOT_ALLOWED`, `REQUEST_TOO_LARGE`, `RATE_LIMITED`, `INTERNAL`, `UNAVAILABLE` (others may appear) | yes | The reason, in UPPER_SNAKE_CASE. Treat an unrecognised reason by its HTTP status. |
| `details[].domain` | string, always `drophawk.net` | yes |  |
| `details[].metadata` | map | no | Context for the reason, as string values. |
| `details[].metadata.{key}` | string | no |  |

### 404

Reason PRODUCT_NOT_FOUND when no Product is known by the identifier, or NOT_FOUND when there is no such endpoint.

#### Headers

| Header | Type | Description |
| --- | --- | --- |
| `Cache-Control` | string | "public, max-age=300" on a successful GET; "no-store" on every other response. |
| `RateLimit-Limit` | integer | The burst a caller may make back-to-back (30). The sustained rate is 60 requests a minute. |
| `RateLimit-Remaining` | integer | Requests left in the caller's burst. Left off cacheable responses. |
| `RateLimit-Reset` | integer | Seconds until the caller's burst is full again. Left off cacheable responses. |

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `code` | integer | yes | The google.rpc.Code of the error, for example 5 (NOT_FOUND) or 8 (RESOURCE_EXHAUSTED). The HTTP status carries the same information. |
| `message` | string | yes | The error code's name, such as "not_found", "resource_exhausted" or "internal". Not for display; branch on the ErrorInfo reason. |
| `details` | array<ErrorInfo or ErrorDetail> | yes | Typed error details, each identified by its "@type". An HTTP/JSON error always includes exactly one ErrorInfo naming why the request failed. Other detail types may be added within v1; skip any whose "@type" you do not recognise. |
| `details[]` | ErrorInfo | yes | Always includes one: ErrorInfo. |
| `details[].@type` | string, always `type.googleapis.com/google.rpc.ErrorInfo` | yes |  |
| `details[].reason` | string, one of `PRODUCT_NOT_FOUND`, `INVALID_IDENTIFIER`, `INVALID_QUERY`, `INVALID_PAGE_TOKEN`, `INVALID_PAGE_SIZE`, `EMPTY_BATCH`, `BATCH_TOO_LARGE`, `INVALID_REQUEST`, `NOT_FOUND`, `METHOD_NOT_ALLOWED`, `REQUEST_TOO_LARGE`, `RATE_LIMITED`, `INTERNAL`, `UNAVAILABLE` (others may appear) | yes | The reason, in UPPER_SNAKE_CASE. Treat an unrecognised reason by its HTTP status. |
| `details[].domain` | string, always `drophawk.net` | yes |  |
| `details[].metadata` | map | no | Context for the reason, as string values. |
| `details[].metadata.{key}` | string | no |  |

### 429

Reason RATE_LIMITED. Wait Retry-After seconds before retrying.

#### Headers

| Header | Type | Description |
| --- | --- | --- |
| `Retry-After` | integer | Seconds to wait before retrying. |
| `Cache-Control` | string | "public, max-age=300" on a successful GET; "no-store" on every other response. |
| `RateLimit-Limit` | integer | The burst a caller may make back-to-back (30). The sustained rate is 60 requests a minute. |
| `RateLimit-Remaining` | integer | Requests left in the caller's burst. Left off cacheable responses. |
| `RateLimit-Reset` | integer | Seconds until the caller's burst is full again. Left off cacheable responses. |

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `code` | integer | yes | The google.rpc.Code of the error, for example 5 (NOT_FOUND) or 8 (RESOURCE_EXHAUSTED). The HTTP status carries the same information. |
| `message` | string | yes | The error code's name, such as "not_found", "resource_exhausted" or "internal". Not for display; branch on the ErrorInfo reason. |
| `details` | array<ErrorInfo or ErrorDetail> | yes | Typed error details, each identified by its "@type". An HTTP/JSON error always includes exactly one ErrorInfo naming why the request failed. Other detail types may be added within v1; skip any whose "@type" you do not recognise. |
| `details[]` | ErrorInfo | yes | Always includes one: ErrorInfo. |
| `details[].@type` | string, always `type.googleapis.com/google.rpc.ErrorInfo` | yes |  |
| `details[].reason` | string, one of `PRODUCT_NOT_FOUND`, `INVALID_IDENTIFIER`, `INVALID_QUERY`, `INVALID_PAGE_TOKEN`, `INVALID_PAGE_SIZE`, `EMPTY_BATCH`, `BATCH_TOO_LARGE`, `INVALID_REQUEST`, `NOT_FOUND`, `METHOD_NOT_ALLOWED`, `REQUEST_TOO_LARGE`, `RATE_LIMITED`, `INTERNAL`, `UNAVAILABLE` (others may appear) | yes | The reason, in UPPER_SNAKE_CASE. Treat an unrecognised reason by its HTTP status. |
| `details[].domain` | string, always `drophawk.net` | yes |  |
| `details[].metadata` | map | no | Context for the reason, as string values. |
| `details[].metadata.{key}` | string | no |  |

### Any other status

Any other error, such as 405, 500 or 503. See ErrorInfo for the reason.

#### Headers

| Header | Type | Description |
| --- | --- | --- |
| `Cache-Control` | string | "public, max-age=300" on a successful GET; "no-store" on every other response. |
| `RateLimit-Limit` | integer | The burst a caller may make back-to-back (30). The sustained rate is 60 requests a minute. |
| `RateLimit-Remaining` | integer | Requests left in the caller's burst. Left off cacheable responses. |
| `RateLimit-Reset` | integer | Seconds until the caller's burst is full again. Left off cacheable responses. |

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `code` | integer | yes | The google.rpc.Code of the error, for example 5 (NOT_FOUND) or 8 (RESOURCE_EXHAUSTED). The HTTP status carries the same information. |
| `message` | string | yes | The error code's name, such as "not_found", "resource_exhausted" or "internal". Not for display; branch on the ErrorInfo reason. |
| `details` | array<ErrorInfo or ErrorDetail> | yes | Typed error details, each identified by its "@type". An HTTP/JSON error always includes exactly one ErrorInfo naming why the request failed. Other detail types may be added within v1; skip any whose "@type" you do not recognise. |
| `details[]` | ErrorInfo | yes | Always includes one: ErrorInfo. |
| `details[].@type` | string, always `type.googleapis.com/google.rpc.ErrorInfo` | yes |  |
| `details[].reason` | string, one of `PRODUCT_NOT_FOUND`, `INVALID_IDENTIFIER`, `INVALID_QUERY`, `INVALID_PAGE_TOKEN`, `INVALID_PAGE_SIZE`, `EMPTY_BATCH`, `BATCH_TOO_LARGE`, `INVALID_REQUEST`, `NOT_FOUND`, `METHOD_NOT_ALLOWED`, `REQUEST_TOO_LARGE`, `RATE_LIMITED`, `INTERNAL`, `UNAVAILABLE` (others may appear) | yes | The reason, in UPPER_SNAKE_CASE. Treat an unrecognised reason by its HTTP status. |
| `details[].domain` | string, always `drophawk.net` | yes |  |
| `details[].metadata` | map | no | Context for the reason, as string values. |
| `details[].metadata.{key}` | string | no |  |

## Example

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