Docs

Search & Lookup API

Find a product by barcode, name or URL for free, then look up its full record for 1 credit.

Search & Lookup API

Find one specific product by barcode, name or URL. Searching is free and returns candidates; a lookup returns the full record for 1 credit. It's on every plan and doesn't need the Products API.

How it works

  1. Search (free) with a barcode, name or URL to find the product. You get candidates with enough detail to tell them apart, but no ingredients or price.
  2. Look up (1 credit) the one you want, by its uniq_id, barcode or URL, to get the full record with every field your plan includes.

Both calls use the same header as the rest of the API: X-API-KEY: your_api_key_here.

Search

GET /api/v1/product_lookup/search?barcode=4006381333931
ParameterDescription
barcode / gtin / ean / upcMatches across UPC, GTIN and EAN, with leading zeros handled. Returns every match (usually one per retailer), unpaged.
product_urlExact product page URL.
uniq_idA product ID from an earlier search.
product_nameAt least 3 characters. Paged with page and per_page (max 20 per page); only the first 100 results are reachable, so narrow the search beyond that.

Each candidate has uniq_id, product_name, brand_name, site_name, country, size and primary_image_url.

Look up

POST /api/v1/product_lookup
Content-Type: application/json

{ "gtin": "4006381333931" }

Send exactly one of uniq_id, gtin (or ean, upc, barcode), or product_url.

{
  "meta": {
    "status": "success",
    "credits_charged": 1,
    "credit_balance": 4999,
    "data_last_updated": "2026-11-24T18:01:00.358Z"
  },
  "data": {
    "uniq_id": "2c7c613193596ee6",
    "product_name": "...",
    "brand_name": "...",
    "ingredients": [{ "name": "Aqua" }],
    "price": 19.99
  }
}

What you're charged

  • 1 credit per successful lookup, from the same balance as the rest of your plan.
  • Every successful lookup is charged, including a repeat lookup of a product you've looked up before.
  • Never charged: no match (404), a barcode shared by several retailers (409, with candidates - repeat with the uniq_id you want), and not enough credits (402).
  • Free searches count toward your plan's request limit; lookups don't.

Errors

StatusMeaning
401Missing or invalid API key, or an inactive subscription.
402Not enough credits. Nothing is charged.
403Your plan doesn't include the Search API.
404No product found. Nothing is charged.
409Several products match. Repeat with a uniq_id from the candidates.
422Missing or invalid parameters, such as a product name under 3 characters.
429Plan request limit exceeded.

Data is refreshed on a recurring schedule, and ingredient fields are extracted automatically from retailer pages and are not manually verified. Questions? See the FAQ.