Documentation
ALDI US API reference
Reference for the ALDI US API: what each of its seven operations accepts, its documented defaults and bounds, and what each one returns.
See also: ALDI US API: prices, stock and store data overview and prices · ALDI US API guide: search, paging and store pricing
On this page
aldi-us-categories: the full department and collection tree
aldi-us-categories's reply does not appear anywhere else on this page, so its fields are listed here instead. departments is a list of slug, name and url for each of aldi.us's departments. collections is a separate top-level list in the same slug, name, url shape, but each entry also carries nested children in that same shape one level further down; the list includes ALDI's own brand and diet collections alongside the department-linked ones, so it is not simply every department's collections merged into one.
Sending a department's slug in body.department narrows the reply to that department's own collections instead of the full top-level list. Sending a collection's slug in body.slug instead returns that one collection's children, continuing the same tree one level further down than body.department alone reaches. body.service_type on this and the other pricing operations selects between delivery, in_store and pickup; the in-store price list came in lower than the delivery price on 31 of 42 products measured.
Fields in this section (4)
aldi-us-categories, body.department, body.slug, body.service_type
aldi-us-category: paging effects and row fields beyond the table
Because aldi.us's own product order can shift between calls, stepping through aldi-us-category with body.page can return a product already seen on an earlier page, or skip one entirely, even though the page size stays the same. Sending body.cursor instead — together with the same body.slug, store fields and body.per_page, and no body.page — avoids that: rows that moved position since the previous call are left out of the new page rather than repeated, and the page is filled back up from the rest of the current list rather than coming back short.
A page requested past the end of the current results is rejected rather than answered as empty, so a caller paging with body.page needs to stop once that happens rather than continuing toward the upper bound. Inside each product row, promotions lists the offer lists the product currently belongs to and dietary lists its diet tags; neither is broken out into further fields of its own.
Fields in this section (4)
aldi-us-category, body.page, body.per_page, body.cursor
aldi-us-offers: resolving body.type, and what this reply leaves out
body.type on aldi-us-offers picks which of four offer lists the call reads, rather than four being merged into one reply.
weekly_ad: the current Weekly Adaldi_finds: this week's ALDI Findsupcoming_aldi_finds: next Wednesday's ALDI Findsprice_drops: ALDI's current Price Drops
Each of the four returns its own collection and products, so switching the value changes which list the same reply fields describe. body.date only affects aldi_finds, where it names the Wednesday a particular ALDI Finds list started, written as YYYY-MM-DD; on the other three values it is accepted but does not change which list is read. This operation's reply also carries page and has_more, but not the per_page or last_page field that aldi-us-category and aldi-us-search carry.
A caller paging it has to rely on has_more alone to know whether another page remains. Inside each product row, promotions and dietary carry the same two lists described for aldi-us-category, and neither is broken out further here either.
Fields in this section (3)
aldi-us-offers, body.type, body.date
aldi-us-product-detail: the full response fields
Nothing else on this page shows aldi-us-product-detail's own reply, so it is listed here in full; its description, details, ingredients, directions, nutrition text, warnings, other_sections, breadcrumb, rating, rating_count and retailer_item fields do not appear on a listing row from aldi-us-category, aldi-us-offers or aldi-us-search.
| Field | What it holds |
|---|---|
product | name, brand, size, category, url, description, details, ingredients, directions, nutrition text and warnings |
other_sections | further information sections beyond the fields above |
images | the product's images |
breadcrumb | the category trail leading to the product |
rating | the product's average rating |
rating_count | how many ratings that average is based on |
retailer_item | the chosen store's price, was-price, unit price, stock and nutrition for the product |
Alongside these, this reply also carries price, store, service_type, postal_code, store_defaulted and currency:
storeandservice_typeappear onaldi-us-category,aldi-us-offers,aldi-us-promotionsandaldi-us-searchtoopostal_codeandstore_defaultedappear on the same four operations as wellcurrencyalso appears there, andpriceappears onaldi-us-category,aldi-us-offersandaldi-us-search, but not onaldi-us-promotions
retailer_item comes back null, with a retailer_item_note, when the chosen store does not list the product at all, rather than with empty figures in its place. body.product_id also accepts id and an aldi.us product page URL as alternative values for the same field.
Fields in this section (2)
aldi-us-product-detail, body.product_id
aldi-us-promotions: reading product_count before calling offers
Each entry in this reply's promotions list describes one of the same four lists aldi-us-offers can read through body.type, so the two operations share one vocabulary rather than using a different name for each list in each place. An entry's product_count is what distinguishes a list that is live with items in it from one that is merely scheduled; a caller that only needs to decide whether to spend a further call reading one of these lists can check product_count without reading the list itself, and available gives the same yes-or-no answer directly. Because every entry describes a list at the one store body.postal_code, body.store_id and body.service_type resolve to, the same store resolution applies here as on aldi-us-offers and aldi-us-category, so a store already resolved on one call does not need to be re-picked on the other.
Fields in this section (1)
aldi-us-promotions
aldi-us-search: query handling and rows a category listing doesn't carry
body.query on aldi-us-search also accepts q and keyword as alternative names for the same field, and the reply echoes it back as query so a caller reading the reply alone can still tell which term produced it. aldi.us's own search fills a no-match query with unrelated products instead of returning nothing, and every row carries matches_query so a caller can tell which rows actually matched; body.include_unmatched left at its default of false drops a whole page where no row matches, counting the drop in unmatched_dropped, while setting it to true keeps that page's unrelated rows in the reply. unmatched_dropped and last_page appear on this reply but not on aldi-us-offers's, so code written against one cannot assume the same fields exist on the other. Inside each row, promotions and dietary carry the same two lists already described for aldi-us-category.
Fields in this section (3)
aldi-us-search, body.query, body.include_unmatched
aldi-us-stores: service_types values and required fields
Each entry in aldi-us-stores's service_types list is one of the same three values body.service_type takes elsewhere: delivery, in_store or pickup, so a store offering all three carries all three in that list. services_text and unavailable_text carry the store's own wording about what it does and does not offer, alongside that plain list of values.
body.postal_code is required here, unlike on the pricing operations, where it is optional with a default store; this operation has no default ZIP to fall back to. It also accepts zip and zip_code as alternative names for the same field, the same aliases accepted on the pricing operations' body.postal_code.
Fields in this section (3)
aldi-us-stores, body.postal_code, body.limit
Alternative field names the ALDI US API accepts
Several input fields accept more than one name for the same value; sending any of them produces the same result as sending the field under the name below.
| Field | Alternative names also accepted |
|---|---|
body.postal_code, on all seven operations | zip, zip_code |
body.slug, on aldi-us-categories | collection |
body.slug, on aldi-us-category | collection, url |
body.product_id, on aldi-us-product-detail | id, url |
body.query, on aldi-us-search | q, keyword |
body.cursor, on aldi-us-category, aldi-us-offers, aldi-us-search | next_cursor |
On aldi-us-category, url reads a full aldi.us collection page address instead of a bare slug, and on aldi-us-product-detail it reads a full product page address instead of a bare id. None of these alternative names changes what the operation does with the value; they only change which key the value is sent under. Leaving body.postal_code out entirely, on the six operations where it is optional, prices the default store at ZIP 60174 and marks the reply's store_defaulted as true.
Fields in this section (12)
aldi-us-categories, aldi-us-category, aldi-us-offers, aldi-us-product-detail, aldi-us-promotions, aldi-us-search, aldi-us-stores, body.postal_code, body.slug, body.product_id, body.query, body.cursor
{
"body": {
"query": "milk",
"postal_code": "60174"
}
}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 tree
POST /api/v1/aldi-us/aldi-us-categories
Returns aldi.us's departments and collections, including a department's own collections or a collection's sub-collections.
Input fields
| Field | Type | Required | Default | Allowed values | Limits |
|---|---|---|---|---|---|
body.department | string | Optional | — | — | — |
body.postal_code | string | Optional | — | — | — |
body.service_type | string | Optional | "delivery" | "delivery""in_store""pickup" | — |
body.slug | string | Optional | — | — | — |
body.store_id | string | Optional | — | — | — |
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/aldi-us/aldi-us-categories' \
--header "Content-Type: application/json" \
--header "x-api-key: $KAKIAPI_API_KEY" \
--header "Idempotency-Key: $REQUEST_ID" \
--data '{"body":{"department":"dairy-and-eggs"}}'Category products
POST /api/v1/aldi-us/aldi-us-category
Lists every product in one aldi.us collection, priced at a chosen store, with paging.
Input fields
| Field | Type | Required | Default | Allowed values | Limits |
|---|---|---|---|---|---|
body.slug | string | Required | — | — | — |
body.cursor | string | Optional | — | — | — |
body.page | integer | Optional | 1 | — | 1–200 |
body.per_page | integer | Optional | 20 | — | 1–40 |
body.postal_code | string | Optional | — | — | — |
body.service_type | string | Optional | "delivery" | "delivery""in_store""pickup" | — |
body.store_id | string | Optional | — | — | — |
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/aldi-us/aldi-us-category' \
--header "Content-Type: application/json" \
--header "x-api-key: $KAKIAPI_API_KEY" \
--header "Idempotency-Key: $REQUEST_ID" \
--data '{"body":{"postal_code":"60174","slug":"n-milk-33852"}}'Response fields
collectionidnameslugurl
products[]product_iditem_idnamebrandsizeurlimagecurrencypriceprice_displayoriginal_pricediscount_percentsavingsunit_price_textprice_is_estimateestimated_weight_textpromotions[]deal_termsavailablestock_levelstock_labellikely_out_of_stocksold_bydietary[]store_brandbadgeservice_typematches_queryretailershop_idservice_typeretailer_location_id
counttotalpageper_pagelast_pagehas_morestorestore_idnamestreetcity_state_ziplatitudelongitude
service_typepostal_codestore_defaultedcurrency
Weekly Ad and ALDI Finds
POST /api/v1/aldi-us/aldi-us-offers
Reads ALDI's current Weekly Ad, this week's or next week's ALDI Finds, or Price Drops, priced at a chosen store.
Input fields
| Field | Type | Required | Default | Allowed values | Limits |
|---|---|---|---|---|---|
body.cursor | string | Optional | — | — | — |
body.date | string | Optional | — | — | — |
body.page | integer | Optional | 1 | — | 1–200 |
body.per_page | integer | Optional | 20 | — | 1–40 |
body.postal_code | string | Optional | — | — | — |
body.service_type | string | Optional | "delivery" | "delivery""in_store""pickup" | — |
body.store_id | string | Optional | — | — | — |
body.type | string | Optional | "weekly_ad" | "weekly_ad""aldi_finds""upcoming_aldi_finds""price_drops" | — |
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/aldi-us/aldi-us-offers' \
--header "Content-Type: application/json" \
--header "x-api-key: $KAKIAPI_API_KEY" \
--header "Idempotency-Key: $REQUEST_ID" \
--data '{"body":{"postal_code":"60174","type":"weekly_ad"}}'Response fields
typecollectionidnameslugurl
finds_dateproducts[]product_iditem_idnamebrandsizeurlimagecurrencypriceprice_displayoriginal_pricediscount_percentsavingsunit_price_textprice_is_estimateestimated_weight_textpromotions[]deal_termsavailablestock_levelstock_labellikely_out_of_stocksold_bydietary[]store_brandbadgeservice_typematches_queryretailershop_idservice_typeretailer_location_id
counttotalpagehas_morestorestore_idnamestreetcity_state_ziplatitudelongitude
service_typepostal_codestore_defaultedcurrency
Product detail
POST /api/v1/aldi-us/aldi-us-product-detail
Reads one ALDI product's full detail — ingredients, nutrition and images — with its price and stock at a chosen store.
Input fields
| Field | Type | Required | Default | Allowed values | Limits |
|---|---|---|---|---|---|
body.product_id | string | Required | — | — | — |
body.postal_code | string | Optional | — | — | — |
body.service_type | string | Optional | "delivery" | "delivery""in_store""pickup" | — |
body.store_id | string | Optional | — | — | — |
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/aldi-us/aldi-us-product-detail' \
--header "Content-Type: application/json" \
--header "x-api-key: $KAKIAPI_API_KEY" \
--header "Idempotency-Key: $REQUEST_ID" \
--data '{"body":{"postal_code":"60174","product_id":"16902710"}}'Live offer lists
POST /api/v1/aldi-us/aldi-us-promotions
Lists which ALDI offer lists — Weekly Ad, ALDI Finds, Price Drops — are live right now, each with its product count.
Input fields
| Field | Type | Required | Default | Allowed values | Limits |
|---|---|---|---|---|---|
body.postal_code | string | Optional | — | — | — |
body.service_type | string | Optional | "delivery" | "delivery""in_store""pickup" | — |
body.store_id | string | Optional | — | — | — |
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/aldi-us/aldi-us-promotions' \
--header "Content-Type: application/json" \
--header "x-api-key: $KAKIAPI_API_KEY" \
--header "Idempotency-Key: $REQUEST_ID" \
--data '{"body":{"postal_code":"60174"}}'Response fields
promotions[]typenameslugurlfinds_dateproduct_countavailable
storestore_idnamestreetcity_state_ziplatitudelongitude
service_typepostal_codestore_defaultedcurrency
Product search
POST /api/v1/aldi-us/aldi-us-search
Searches aldi.us's grocery range by keyword, priced at a chosen store, with paging.
Input fields
| Field | Type | Required | Default | Allowed values | Limits |
|---|---|---|---|---|---|
body.query | string | Required | — | — | — |
body.cursor | string | Optional | — | — | — |
body.include_unmatched | boolean | Optional | false | — | — |
body.page | integer | Optional | 1 | — | 1–200 |
body.per_page | integer | Optional | 20 | — | 1–40 |
body.postal_code | string | Optional | — | — | — |
body.service_type | string | Optional | "delivery" | "delivery""in_store""pickup" | — |
body.store_id | string | Optional | — | — | — |
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/aldi-us/aldi-us-search' \
--header "Content-Type: application/json" \
--header "x-api-key: $KAKIAPI_API_KEY" \
--header "Idempotency-Key: $REQUEST_ID" \
--data '{"body":{"postal_code":"60174","query":"milk"}}'Response fields
products[]product_iditem_idnamebrandsizeurlimagecurrencypriceprice_displayoriginal_pricediscount_percentsavingsunit_price_textprice_is_estimateestimated_weight_textpromotions[]deal_termsavailablestock_levelstock_labellikely_out_of_stocksold_bydietary[]store_brandbadgeservice_typematches_queryretailershop_idservice_typeretailer_location_id
counttotalpageper_pagelast_pagehas_moreunmatched_droppedquerystorestore_idnamestreetcity_state_ziplatitudelongitude
service_typepostal_codestore_defaultedcurrency
Store locator
POST /api/v1/aldi-us/aldi-us-stores
Finds ALDI stores near a US ZIP code, nearest first, with each store's delivery, pickup and in-store availability.
Input fields
| Field | Type | Required | Default | Allowed values | Limits |
|---|---|---|---|---|---|
body.postal_code | string | Required | — | — | — |
body.limit | integer | Optional | 20 | — | 1–100 |
body.page | integer | Optional | 1 | — | 1–200 |
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/aldi-us/aldi-us-stores' \
--header "Content-Type: application/json" \
--header "x-api-key: $KAKIAPI_API_KEY" \
--header "Idempotency-Key: $REQUEST_ID" \
--data '{"body":{"postal_code":"10001"}}'Response fields
stores[]store_idnamestreetcity_state_zippostal_codelatitudelongitudedistance_milesservice_types[]services_textunavailable_text
counttotalpagehas_more
How calls work
POST /api/v1/aldi-us/<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: