Documentation
An Alza API reference for every operation
Reference for the Alza API: inputs, defaults, bounds and reply fields for category browsing, product detail, reviews and keyword search.
See also: Alza API overview and prices · Alza API guide: workflows across operations
On this page
`alza-category`: category input and its own result metadata
body.category accepts an Alza category page URL, such as one from the site navigation or a product's own breadcrumb (for example a path ending in /iphone/18851638.htm), or the bare numeric category id by itself; the aliases category_url, url and category_id are also accepted, and the URL's host also sets body.country. A producer-filtered URL, which carries an extra producer id before the final .htm, keeps its brand restriction when browsed this way. In the reply, category_id is authoritative over the slug inside the URL you sent, which Alza treats as decorative and rewrites to whatever the id names; category_url simply echoes the value passed in.
producer_id carries a producer-filtered category's own restriction, brands[] lists every brand available within that category with its exact product_count, and filters_applied reports which of the filters sent with the call actually took effect. Sending an unrecognised value for body.in_stock_only, body.discounted_only, body.new_arrivals_only or body.well_rated_only to alza-category or alza-search is ignored, and that filter's own default of false applies in its place. body.max_rotations affects how many attempts alza-category makes, from 1 to 5, defaulting to 3.
Fields in this section (7)
alza-category, alza-search, body.category, body.in_stock_only, body.discounted_only, body.new_arrivals_only, body.well_rated_only
`alza-product-detail`: the Alza API's full product record
Beyond the price, discount and stock fields a search or category row already carries, alza-product-detail's data adds brand, mpn (the manufacturer's own part number) and ean, which appears only when that published part number really is a valid EAN-13; Alza publishes no GTIN of its own. price_ex_vat is the storefront's own figure without VAT, reported alongside the VAT-included price, with price_includes_vat confirming that same point as its own field. rating_count counts everyone who left a star rating, while review_count counts only those who also wrote a review; availability_schema carries the schema.org term for stock, separately from the human-readable availability_text.
images[] is the full photo gallery, with image_count alongside it, and specs[] groups the technical specification exactly as Alza's own product page groups it, each group holding an attributes map of name to value, with spec_count reporting how many groups there are. variants[] lists the product's colour or capacity options, each with its own product_id, price_difference from the product you asked for, availability and whether it is the selected one. delivery carries stock_note, stock_detail, promise and whether the exact delivery date needs an address (exact_date_requires_address); breadcrumb[] gives the category path above this one product.
Fields in this section (2)
alza-product-detail, body.product_id
`alza-product-reviews`: paging a product's review feed
Alza's own review feed pages 10 reviews at a time, so sending body.limit above 10 makes this call page through that feed for you rather than returning just one of those pages. body.offset skips that many reviews before the ones returned. Each entry in reviews[] carries the fields below:
rating/rating_scale: the star rating given, and the scale it is measured againstauthor: the reviewer's public nickname, as Alza prints ittext: the review's own written textpositives[]/negatives[]: separate lists of what the reviewer liked and dislikeddate: when the review was postedverified_purchase: whether the purchase behind the review is confirmedreviewed_variant/detail_note: which variant was reviewed, and Alza's own verbatim line naming that variant and datereviewed_product: which product the review belongs tohelpful_votes: how many other shoppers marked the review helpfulimages[]: any photos the reviewer attachedshop_reply: any reply Alza's shop posted backcountry_flag/translated: the reviewer's own country flag, and whether the shown text is a translation
Alza's review form carries no headline field, so no review in this list has a title. Alongside reviews[], the reply also reports count for this one page, total_reviews for the whole feed, and the offset and limit that produced it.
Fields in this section (3)
alza-product-reviews, body.limit, body.offset
`alza-search`: when a keyword resolves to a category
body.query also accepts the aliases q and keyword; a request without it is rejected. search_mode reports whether Alza answered that keyword with one of its own category or brand pages (resolved) or stayed on its free-text search page (keyword) instead; resolved_url carries the page Alza resolved to, and category_id is present once it has. filters_supported comes back false in keyword mode, where the storefront itself offers no sorting or filtering on its free-text page: a body.sort, body.brand, body.min_price or body.max_price sent there is rejected rather than quietly ignored.
total_results also differs by mode: in keyword mode it reflects the storefront's own free-text result count, which has been observed to plateau near 300 on broad queries, while in resolved mode it reports that category's exact total. brands[] and filters_applied carry the same meaning here as on alza-category.
Fields in this section (3)
alza-search, body.query, body.sort
Operations
Every public gateway operation uses POST /api/v1/{project}/{action}.
Use a JSON object with the documented path, query, headers and body locations; omit unused locations. input.headers is JSON data for the operation, not browser request headers. Do not put credentials here. Keep body arrays, scalar values and null as documented; omission is different from null.
Category Browse
POST /api/v1/alza/alza-category
Lists an Alza category's products by its page URL or numeric id, 24 per page, with brand, price, stock and rating filters.
Input fields
| Field | Type | Required | Default | Allowed values | Limits |
|---|---|---|---|---|---|
body.category | string | Required | — | — | — |
body.brand | string | Optional | — | — | — |
body.country | string | Optional | "cz" | "cz""sk""hu""at""de" | — |
body.discounted_only | boolean | Optional | false | — | — |
body.in_stock_only | boolean | Optional | false | — | — |
body.max_price | number | Optional | — | — | ≥ 0 |
body.max_rotations | integer | Optional | 3 | — | 1–5 |
body.min_price | number | Optional | — | — | ≥ 0 |
body.new_arrivals_only | boolean | Optional | false | — | — |
body.page | integer | Optional | 1 | — | 1–200 |
body.sort | string | Optional | "relevance" | "relevance""bestseller""price_asc""price_desc""rating""newest" | — |
body.well_rated_only | boolean | Optional | false | — | — |
Request examples
# Server-side only. Set KAKIAPI_API_KEY in your secret manager.
# Every gateway operation is called with POST.
# Only operations shown as enabled on the API page can be called.
# Generate once per intent; retain the same value on status checks.
REQUEST_ID="$(uuidgen)"
curl --request POST 'https://kakiapi.com/api/v1/alza/alza-category' \
--header "Content-Type: application/json" \
--header "x-api-key: $KAKIAPI_API_KEY" \
--header "Idempotency-Key: $REQUEST_ID" \
--data '{"body":{"category":"https://www.alza.cz/iphone/18851638.htm"}}'Product Detail
POST /api/v1/alza/alza-product-detail
Returns one Alza product's full record: price with and without VAT, discounts, stock wording, the specification table, variants and delivery wording.
Input fields
| Field | Type | Required | Default | Allowed values | Limits |
|---|---|---|---|---|---|
body.product_id | string | Required | — | — | — |
body.country | string | Optional | "cz" | "cz""sk""hu""at""de" | — |
body.max_rotations | integer | Optional | 3 | — | 1–5 |
Request examples
# Server-side only. Set KAKIAPI_API_KEY in your secret manager.
# Every gateway operation is called with POST.
# Only operations shown as enabled on the API page can be called.
# Generate once per intent; retain the same value on status checks.
REQUEST_ID="$(uuidgen)"
curl --request POST 'https://kakiapi.com/api/v1/alza/alza-product-detail' \
--header "Content-Type: application/json" \
--header "x-api-key: $KAKIAPI_API_KEY" \
--header "Idempotency-Key: $REQUEST_ID" \
--data '{"body":{"country":"cz","product_id":"13078788"}}'Product Reviews
POST /api/v1/alza/alza-product-reviews
Returns one Alza product's customer reviews, newest first, with the star rating, purchase-confirmation status and any reply from the shop.
Input fields
| Field | Type | Required | Default | Allowed values | Limits |
|---|---|---|---|---|---|
body.product_id | string | Required | — | — | — |
body.country | string | Optional | "cz" | "cz""sk""hu""at""de" | — |
body.limit | integer | Optional | 10 | — | 1–50 |
body.max_rotations | integer | Optional | 3 | — | 1–5 |
body.offset | integer | Optional | 0 | — | 0–9007199254740991 |
Request examples
# Server-side only. Set KAKIAPI_API_KEY in your secret manager.
# Every gateway operation is called with POST.
# Only operations shown as enabled on the API page can be called.
# Generate once per intent; retain the same value on status checks.
REQUEST_ID="$(uuidgen)"
curl --request POST 'https://kakiapi.com/api/v1/alza/alza-product-reviews' \
--header "Content-Type: application/json" \
--header "x-api-key: $KAKIAPI_API_KEY" \
--header "Idempotency-Key: $REQUEST_ID" \
--data '{"body":{"product_id":"13078788"}}'Keyword Search
POST /api/v1/alza/alza-search
Searches one Alza storefront by keyword and returns matching products, noting whether Alza resolved the keyword to one of its own category pages.
Input fields
| Field | Type | Required | Default | Allowed values | Limits |
|---|---|---|---|---|---|
body.query | string | Required | — | — | — |
body.brand | string | Optional | — | — | — |
body.country | string | Optional | "cz" | "cz""sk""hu""at""de" | — |
body.discounted_only | boolean | Optional | false | — | — |
body.in_stock_only | boolean | Optional | false | — | — |
body.max_price | number | Optional | — | — | ≥ 0 |
body.max_rotations | integer | Optional | 3 | — | 1–5 |
body.min_price | number | Optional | — | — | ≥ 0 |
body.new_arrivals_only | boolean | Optional | false | — | — |
body.page | integer | Optional | 1 | — | 1–200 |
body.sort | string | Optional | "relevance" | "relevance""bestseller""price_asc""price_desc""rating""newest" | — |
body.well_rated_only | boolean | Optional | false | — | — |
Request examples
# Server-side only. Set KAKIAPI_API_KEY in your secret manager.
# Every gateway operation is called with POST.
# Only operations shown as enabled on the API page can be called.
# Generate once per intent; retain the same value on status checks.
REQUEST_ID="$(uuidgen)"
curl --request POST 'https://kakiapi.com/api/v1/alza/alza-search' \
--header "Content-Type: application/json" \
--header "x-api-key: $KAKIAPI_API_KEY" \
--header "Idempotency-Key: $REQUEST_ID" \
--data '{"body":{"country":"cz","query":"iphone"}}'How calls work
POST /api/v1/alza/<action>withx-api-key,Content-Type: application/jsonand a requiredIdempotency-Key.- A successful call returns
ok: true:datais the result of the operation,meta.requestIdidentifies the recorded request andmeta.chargedCreditUnitsis the amount charged. Otherwiseokisfalseanderror.codenames the reason; readokanderror.coderather than relying on the HTTP status alone. Every gateway reply carries a request id for support:meta.requestId, or a top-levelrequestIdin a reply withoutmeta(such as a refusal before admission). - Charged the listed price only when a call succeeds. Failures are not charged; an unconfirmed outcome is released after at most 900 seconds without a charge.
- Repeating the same request with the same Idempotency-Key after it has finished returns the stored response for 24 hours without a new charge.
In the gateway reference: