---
title: "Product detail with buyable items (denominations)"
method: GET
path: "/api/public/products/{id}"
---

# Product detail with buyable items (denominations)

`GET /api/public/products/{id}`

## Request

- Base URL: `https://blinkcodes.com`
- URL: `https://blinkcodes.com/api/public/products/{id}`
- Auth: none required

## Path parameters

- `id` integer, required

## Response `200`

Product detail

- ProductDetail
  - `id` integer
  - `name` string
  - `type` 'voucher' | 'recharge_fixed' | 'recharge' | 'e_sim'
  - `country` string, nullable
  - `brand` string, nullable
  - `category` string, nullable
  - `available_for_sale` boolean
  - `in_stock` boolean
  - `in_stock_count` integer: Units left. Absent when the count is unknown but the product is available.
  - `requires_account` boolean: true = you must send account_number when ordering (top-ups). Derived from the product's fields[], so it is safe to branch on.
  - `requires_amount` boolean: true = variable-amount product: send amount instead of item_id.
  - `min_price` number: Cheapest denomination, in currency
  - `currency` string
  - `min_price_rub` number: Legacy alias of min_price. Same number, same currency — the _rub suffix is a storage-era name, not a hint about units. Prefer min_price + currency.
  - `items_count` integer
  - `items` Item[]
    - `id` integer
    - `name` string
    - `price` number: Price of this denomination, in currency
    - `currency` string
    - `price_rub` number: Legacy alias of price — see ProductSummary.min_price_rub
    - `in_stock` boolean
    - `restricted_countries` string[]: ISO-2 codes where this code cannot be redeemed. Omitted entirely when there are no restrictions — treat an absent key as an empty list.
  - `fields` object[]: Per-product input requirements (e.g. account_number for top-ups). Map onto the matching create-order fields.
  - `content` object: Description / instructions / terms

## Other responses

- `404`: No such product

---

[API](https://skmtc.dev/blinkcodes/apis/blinkcodes-public-api.md) · [All operations](https://skmtc.dev/blinkcodes/apis/blinkcodes-public-api/llms.txt) · [OpenAPI document](https://skmtc.dev/blinkcodes/apis/blinkcodes-public-api/revisions/75fa0cacacc2?raw)
