---
title: "Retrieve product info for a particular barcode number (UPC, EAN, or ISBN)."
method: GET
path: "/code/{code}"
tags: ["Product"]
---

# Retrieve product info for a particular barcode number (UPC, EAN, or ISBN).

`GET /code/{code}`

## Path parameters

- `code` string, required

## Response `200`

The product corresponding to the provided `code`

- object
  - `barcodeUrl` string, uri — The URL to the scannable barcode image.
  - `codeType` 'UPC' | 'EAN' | 'ISBN' — The type of product code (UPC/EAN/ISBN).
  - `product` object — all matching product details.
    - `brand` string — The brand of the product (if available).
    - `category` string — The category of the product (if available).
    - `description` string — A description of the product (if available).
    - `ean` integer — The EAN code of the product.
    - `imageUrl` string, uri — The URL for the product image.
    - `name` string — The name of the product.
    - `region` string — The region of the product.
    - `specs` array[] — A list of additional item specifications (if available).
      - string[]
    - `upc` integer — The UPC code of the product.

## Other responses

- `404` — No product information was found for the given `code`.
- `500` — Unexpected error

---

[API](https://skmtc.net/goupc/apis/go-upc.md) · [All operations](https://skmtc.net/goupc/apis/go-upc/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/goupc/go-upc/revisions/738fc1b11a1f/schema)
