Skip to main content
POST
/
api
/
ah
/
products
/ah/products
curl --request POST \
  --url https://api.anysite.io/api/ah/products \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "product": "<string>",
  "timeout": 300
}
'
[
  {
    "id": 123,
    "@type": "@ah_product",
    "hq_id": 123,
    "title": "<string>",
    "brand": "<string>",
    "category": "<string>",
    "sales_unit_size": "<string>",
    "alias": "<string>",
    "web_url": "<string>",
    "shop_type": "<string>",
    "summary": "<string>",
    "nutriscore": "<string>",
    "price": 123,
    "list_price": 123,
    "unit_price": 123,
    "unit_price_description": "<string>",
    "is_bonus": false,
    "is_sample": false,
    "is_medicine": false,
    "is_medical_device": false,
    "is_orderable": true,
    "is_visible": true,
    "discount_description": "<string>",
    "promotion_type": "<string>",
    "segment_type": "<string>",
    "discount_theme": "<string>",
    "is_list_price_visible": true,
    "external_webshop_url": "<string>",
    "image": "<string>",
    "images": [],
    "icons": [],
    "properties": {},
    "taxonomies": [],
    "promotion_labels": [],
    "variants": []
  }
]

Authorizations

access-token
string
header
required

API token from the dashboard

Headers

access-token
string
required

Body

application/json
product
string
required

Albert Heijn product id or a product URL containing it

Minimum string length: 1
Examples:

"wi441199"

"441199"

"https://www.ah.nl/producten/product/wi441199/campina-halfvolle-melk-voordeelverpakking"

timeout
integer
default:300

Max scrapping execution timeout (in seconds)

Required range: 20 <= x <= 1500

Response

Successful Response

id
integer
required
@type
string
default:@ah_product
hq_id
integer | null
title
string | null
brand
string | null
category
string | null
sales_unit_size
string | null
alias
string | null
web_url
string | null
shop_type
string | null
summary
string | null
nutriscore
string | null
price
number | null
list_price
number | null
unit_price
number | null
unit_price_description
string | null
is_bonus
boolean
default:false
is_sample
boolean
default:false
is_medicine
boolean
default:false
is_medical_device
boolean
default:false
is_orderable
boolean | null
is_visible
boolean | null
discount_description
string | null
promotion_type
string | null
segment_type
string | null
discount_theme
string | null
is_list_price_visible
boolean | null
external_webshop_url
string | null
image
string | null
images
string[]
icons
string[]
properties
Properties · object
taxonomies
AhProductTaxonomy · object[]
promotion_labels
AhProductPromotionLabel · object[]
variants
AhProductVariant · object[]