From an ALDI US API search to a priced product detail call
A lookup can begin by sending a keyword to body.query on aldi-us-search, where q and keyword work as alternative names for that same field. Once a particular row's product_id is in hand, pass it as body.product_id to aldi-us-product-detail to read that product's full record — ingredients, nutrition text, warnings and the fuller images list — none of which a search row's own image field provides.
Because body.product_id also accepts id and a product page URL as alternative values, a workflow can keep whichever of the three a previous step produced rather than converting it first. Carrying the same body.postal_code or body.store_id and body.service_type from the search call to the product-detail call keeps both calls priced at the same store.
Walking the category tree down to a priced listing
aldi-us-categories takes no required fields and returns aldi.us's top-level departments and collections in one call; passing a department's slug as body.department narrows the same call to just that department's own collections. body.department accepts a department's own slug, not a collection's slug; send a collection's slug to body.slug on the same aldi-us-categories call to read its children, or straight to aldi-us-category to read the products inside it. aldi-us-category then returns the priced products in that one collection rather than another level of the tree, so a category browser alternates between the two: one for navigation and the other only once a leaf collection is reached.
Scoping a workflow to one store across every call
aldi-us-stores takes body.postal_code, a US ZIP code, and returns stores nearest first; each store's store_id can then be sent as body.store_id on a later call to price it at that same store, overriding whatever body.postal_code that call might otherwise use. The field is accepted the same way on every pricing operation this guide covers:
aldi-us-categoryaldi-us-offersaldi-us-product-detailaldi-us-promotionsaldi-us-search
Because body.store_id does not change between calls, a long-running workflow can resolve it once from a shopper's ZIP code and reuse it on every later call instead of sending body.postal_code and re-resolving a store each time. body.service_type still has to be sent on each later call on its own, since it is not something aldi-us-stores resolves.
Paging a large category or search result with a stable cursor
aldi-us-category and aldi-us-search both default to offset paging with body.page and body.per_page, and because aldi.us's own order can shift between calls, stepping through body.page this way can repeat or skip a product between pages. To read every row exactly once instead, send the cursor value the previous call returned as body.cursor, together with the same body.slug or body.query, store fields and body.per_page, and no body.page; rows that moved position since that call are dropped from the new page rather than repeated, and the page is filled from the rest of the current list instead of coming back short. Stop the loop once a call stops returning a further cursor value to send, rather than assuming a fixed number of pages exist.
Checking which offer list is worth reading before you read it
Call aldi-us-promotions first to read which of ALDI's offer lists are currently live at one store: each entry carries its own product_count, and available shows directly whether that count is above zero, before spending a separate call reading one of them in full. Once a list worth reading is identified, send the matching value — weekly_ad, aldi_finds, upcoming_aldi_finds or price_drops — as body.type on aldi-us-offers, carrying the same store fields across both calls. For an upcoming aldi_finds list whose Wednesday is already known from a previous aldi-us-promotions reply, add that date to body.date on the aldi-us-offers call rather than waiting for the list to start before reading it.
Keeping body.service_type consistent across a multi-call workflow
body.service_type is not carried over automatically between calls the way a resolved body.store_id can be. A workflow that sends in_store to aldi-us-category, aldi-us-offers or aldi-us-search has to send in_store again on every one of those calls, since each one defaults to delivery on its own whenever the field is left out.
A shopping-list tool comparing the same product across all three service types therefore makes three separate calls with three different body.service_type values, rather than reading all three prices back from one reply. Deciding the service type once at the start of a workflow, and passing that same value into every later call alongside a resolved body.store_id, keeps every price read during the run comparable to every other one.
How ALDI US works
ALDI keeps US prices low partly through self-service: shoppers insert a quarter to use a shopping cart, which they get back when they return the cart, and bag their own groceries after checkout. The range stays under 2,000 products, far fewer than a typical grocer, which cuts overhead and the choice shoppers have to sort through.
ALDI releases a new Weekly Ad every week, mainly highlighting ALDI Finds, though the day it takes effect varies by store. An ALDI Finds item is a limited-time product outside the standard lineup that is not restocked once a store's shipment sells out, though a few later become permanent.
[
{
"body": {
"query": "milk",
"postal_code": "60174"
}
},
{
"body": {
"product_id": "16902710"
}
}
]{
"body": {
"type": "weekly_ad",
"store_id": "23593"
}
}Server-side request template
This server-side template shows authentication and request identity using the first operation of this API. Choose the operation for your use case and check its current availability and price on the API page. After a timeout, resend the unchanged request with the same Idempotency-Key.
The gateway request is always POST.
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.
# 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"}}'Integration checklist
- The API key is stored in a server-side secret manager and never sent to a browser.
- Each request carries its own Idempotency-Key, kept until the request has a final answer.
- The integration reads ok and error.code and handles each error code as the error table describes.
- An uncertain POST is inspected using its original identity, never blindly repeated with a new one.
- The operation’s current availability and price have been checked on its API page.
ALDI US API: prices, stock and store data overview and prices · Read the API reference · Try it in the playground