Category tree
Returns aldi.us's departments and collections, including a department's own collections or a collection's sub-collections.
Loading / 加载中…
ALDI US API: prices, stock and store data · E-commerce & marketplace data
The ALDI US API searches aldi.us's grocery range and reads one product's full detail, priced at a chosen store. It lists ALDI's departments and collections, reads the current Weekly Ad, ALDI Finds and Price Drops, reports which offer lists are live right now, and finds nearby stores with their delivery, pickup and in-store service.
JSON in, a structured response out. Every public gateway endpoint uses POST.
Returns aldi.us's departments and collections, including a department's own collections or a collection's sub-collections.
Lists every product in one aldi.us collection, priced at a chosen store, with paging.
Reads ALDI's current Weekly Ad, this week's or next week's ALDI Finds, or Price Drops, priced at a chosen store.
Reads one ALDI product's full detail — ingredients, nutrition and images — with its price and stock at a chosen store.
Lists which ALDI offer lists — Weekly Ad, ALDI Finds, Price Drops — are live right now, each with its product count.
Searches aldi.us's grocery range by keyword, priced at a chosen store, with paging.
Finds ALDI stores near a US ZIP code, nearest first, with each store's delivery, pickup and in-store availability.
A product row from aldi-us-category, aldi-us-offers or aldi-us-search carries the same shape no matter which of the three returned it.
| Field | What it tells you |
|---|---|
price | the amount listed for the chosen store's service_type price list |
price_display | that same price written out the way aldi.us prints it |
original_price | the price before a markdown, present when the row is discounted |
discount_percent | how much original_price was cut, as a percentage |
savings | the amount saved against original_price |
unit_price_text | the per-unit cost basis printed alongside the shelf price |
price_is_estimate | whether the price is an estimate rather than a fixed figure |
estimated_weight_text | the estimated weight a variable-weight item's price is based on |
stock_level | how much of the product the store currently holds |
stock_label | the wording aldi.us prints for that stock level |
likely_out_of_stock | whether the store is close to running out |
available marks whether the store sells the product at all, separate from stock_level, stock_label and likely_out_of_stock, which all describe how much is left once a product is available. The same fields describe a row identically no matter which of the three list operations returned it, so a price-comparison tool can treat every row as one shape regardless of where it came from.
Beyond price and stock, a listing row carries a small set of descriptive and seller fields that do not fit the table above.
| Field | What it tells you |
|---|---|
badge | the label aldi.us prints on the row, when it carries one |
deal_terms | the terms text aldi.us prints for the row's current deal |
store_brand | whether this is one of ALDI's private-label products |
sold_by | who the row is sold by |
dietary | diet tags such as organic or gluten-free that apply to the row |
promotions | the names of the row's current discount campaigns |
None of these six fields is broken out into further sub-fields on a listing row. Reading deal_terms alongside promotions tells a caller not just that a row is discounted, but which named campaign the discount belongs to.
aldi-us-category, aldi-us-offers, aldi-us-product-detail, aldi-us-promotions and aldi-us-search each echo back the store, currency and price list a call actually priced against, alongside whatever data the call itself returns.
| Field | What it tells you |
|---|---|
store | the resolved store's name, street, city_state_zip, latitude and longitude |
currency | which currency the prices in the reply are written in |
postal_code | the ZIP code that reply was priced against |
service_type | which of the three price lists was actually used |
Reading these back, rather than only the input values a call sent, confirms what that call was priced against once body.store_id or a default has made that choice on the caller's behalf. A multi-store comparison tool that varies body.postal_code across calls can use the echoed store block to label each result with the store it actually came from, rather than the ZIP code it sent.
aldi-us-category, aldi-us-offers, aldi-us-search and aldi-us-stores all return paging fields alongside their rows.
| Field | What it tells you |
|---|---|
count | how many rows this one page carries |
total | how many rows match in total, across every page |
page | which page this reply answers |
per_page | how many rows per page this call used, on the operations that return it |
last_page | the final page number, on the operations that return it |
has_more | whether a further page exists beyond this one |
Reading total once, at the start of a run, gives a caller an estimate of how many pages a full walk will take without having to count them as it goes. page and has_more alone are enough to drive the paging loop itself; total and, where it exists, last_page are useful only for estimating how much work remains, not for deciding when to stop.
Every row from aldi-us-category, aldi-us-offers or aldi-us-search carries two separate identity fields rather than one. product_id is the same id that round-trips as body.product_id on aldi-us-product-detail, whose alias note also calls it id.
item_id is a second, separate field carried on the same row, and the two are not interchangeable: only product_id is accepted back as body.product_id. A workflow that stores just one of the two for a later lookup should keep product_id, since item_id has no corresponding lookup field on any operation in this API.
ALDI's stores in the United States are run by ALDI Süd, a German discount-grocery group kept financially separate from ALDI Nord, which owns Trader Joe's. ALDI opened its first United States store in Iowa in 1976, decades after the chain's start in Germany. Most of what ALDI sells in its US stores carries its own store brands, such as Happy Farms and SimplyNature, rather than national brand names.
{
"body": {
"query": "milk",
"postal_code": "60174"
}
}POST /api/v1/aldi-us/<action> with x-api-key, Content-Type: application/json and a required Idempotency-Key.ok: true: data is the result of the operation, meta.requestId identifies the recorded request and meta.chargedCreditUnits is the amount charged. Otherwise ok is false and error.code names the reason; read ok and error.code rather than relying on the HTTP status alone. Every gateway reply carries a request id for support: meta.requestId, or a top-level requestId in a reply without meta (such as a refusal before admission).body.page beyond the end of the current results on aldi-us-category, aldi-us-offers or aldi-us-search — pages run from 1 up to 200 at most — is rejected rather than answered as empty.aldi-us-stores, body.limit caps each page at 100 stores and defaults to 20 when left out.body.per_page caps rows per page at 40, defaulting to 20, on aldi-us-category, aldi-us-offers and aldi-us-search alike.aldi-us-product-detail requires body.product_id, aldi-us-category requires body.slug, aldi-us-search requires body.query, and aldi-us-stores requires body.postal_code; a call missing its required field is rejected.body.postal_code and body.store_id both out on a pricing operation prices the default store, ZIP 60174, and the reply reports store_defaulted as true.aldi-us-stores's documented inputs are body.postal_code, body.page and body.limit.Send the term as body.query on aldi-us-search, which also accepts q and keyword as alternative names for the same field. Every row returned carries matches_query, and with body.include_unmatched left at its default of false, a page whose rows share no word with the query is dropped and counted in unmatched_dropped; set it to true to keep those rows instead. Add body.postal_code or body.store_id to price the match at one store, and set body.service_type to choose between its delivery, in-store and pickup price lists.
Send the ZIP code as body.postal_code on aldi-us-stores, which also accepts zip and zip_code as alternative names; stores come back nearest first, with distance_miles on each one. Step through further pages with body.page, sized by body.limit. Each store's service_types lists which of delivery, pickup and in-store service it offers, alongside services_text and unavailable_text for any service it does not.
Send the id as body.product_id on aldi-us-product-detail, which also accepts id and an aldi.us product URL as alternative values — the same id every search, category or offers row returns as product_id. The reply's product block carries the name, brand, size, category, description, ingredients, directions, nutrition text, warnings, images and rating; retailer_item carries that store's price, was-price, unit price and stock, and is null with a retailer_item_note when the chosen store does not list the product.
Set body.type to weekly_ad on aldi-us-offers for the current Weekly Ad, or to aldi_finds for this week's ALDI Finds; weekly_ad is also the default when body.type is left out. For next Wednesday's list, use upcoming_aldi_finds. body.date additionally narrows aldi_finds to the Wednesday a particular list started, written as YYYY-MM-DD. Every reply names the list's collection, its finds_date, and the matching products, priced at the store chosen with body.postal_code or body.store_id.
Set body.type to price_drops on aldi-us-offers to read ALDI's current Price Drops list instead of the Weekly Ad or ALDI Finds. The reply carries the same collection and products fields as the other body.type values, priced at the store chosen with body.postal_code, body.store_id and body.service_type, so a Price Drops call pages and prices the same way a Weekly Ad or ALDI Finds call does.
Call aldi-us-promotions to read which offer lists ALDI currently has live at one store: its promotions array names each list's type, name, slug, url, finds_date and product_count, and marks whether it is available. Reading this list first, rather than guessing a body.type value for aldi-us-offers, shows which of the Weekly Ad, ALDI Finds and Price Drops lists actually have products right now, before spending a call on aldi-us-offers itself.
Offset paging — stepping body.page forward on aldi-us-category, aldi-us-offers or aldi-us-search — can repeat or skip a product between calls, because the site's own order can shift in between. Instead, send the cursor value a previous call returned as body.cursor, or as its alternative name next_cursor, together with the same query, slug or type, store fields and per_page as that call, and no body.page; rows that have moved position since then are dropped from the page, which is filled from the rest of the current list instead.
aldi-us-categories returns aldi.us's departments, each with a slug, name and url, and top-level collections with nested children; passing a department's slug as body.department narrows the answer to that one department's own collections instead of the whole top-level list. Any of those collection slugs then becomes body.slug on aldi-us-category, which returns the products inside that one collection, priced at a chosen store, rather than the list of collections itself.
Yes: body.service_type on every pricing operation chooses between delivery (the default, and the price aldi.us prints on its product pages), in_store and pickup; the in-store price list is lower than the delivery price on 31 of 42 products measured. A call that sends neither body.postal_code nor body.store_id still returns a price, drawn from the fallback store at ZIP 60174, with store_defaulted marking that the price did not come from a store the caller picked.