Agent workflow guide · Retail Availability
Product price and stock monitoring: dated offer evidence for one product page
Commerce agents recommend products, and a recommendation that points at an out-of-stock size or a stale price wastes the buyer’s time. This guide covers checking one known product page for its published price and stock, how to read product-group and variant offers separately, and what the evidence cannot tell you about checkout.
Updated · facts from the catalog last checked 2026-10-08T14:18Z
Who checks product price and stock, and when
A shopping assistant wants to confirm, just before it suggests a product, that the page still shows a price and that the size the user asked for is listed as in stock. A competitor-monitoring workflow wants a dated record of a rival’s advertised price on a set of known product pages. A procurement agent wants evidence of the offer it relied on when it recommended a purchase.
All three start from a product URL that is already known. The Retail Availability service takes exactly one HTTPS product page (product_url), not a collection, search, cart or account page, and returns the offers that page publishes in structured data and supported variant metadata. It does not search retailers, buy anything or reserve inventory.
Use the retailer’s feed, or request a product check?
| Approach | Useful when | Work still needed |
|---|---|---|
| Open the product page | One person checks one product right now. | Click through each size; nothing is recorded for later comparison. |
| Retailer product API, affiliate or merchant feed | You already have access and an adapter for that retailer. | Credentials, per-retailer schemas and the feed’s own refresh timing. |
| Retail Availability report | An agent needs a dated, source-hashed offer snapshot of one public product page. | Authorize one capped call per product page; read group and variant offers separately. |
The service’s own guidance: If the retailer offers a product API or feed you already use, call it directly. Choose this for a dated, source-hashed offer snapshot of one product page. Do not choose it for: buying the product or guaranteeing checkout stock; inferring every variant is in stock from a group offer; exhaustive retailer discovery or review analysis.
Walk through the recorded example
Recorded example — observed 2026-10-08 11:45 UTC · owner-funded release test · not an independent purchase
The recorded input was one Allbirds product page (https://www.allbirds.com/products/mens-tree-runners-wheat-dark-beige). The report named the product “Men's Tree Runner”, returned status verified and top-level availability: mixed. These fields carry most of the meaning:
- Product-group offer
- price 100 USD, availability in_stock, from Product.offers[0]
- Variant offers observed
- 7 (1 in_stock, 6 out_of_stock), from ShopifyProduct.variants
- Variant prices
- 7 of 7 variant rows have price: null
- coverage_complete
- false
- The product-group offer says in_stock while 6 of 7 observed variants say out_of_stock. An agent that read only the group offer would recommend sizes that the page lists as unavailable.
- A variant row with price: null means no variant-level price was observed in the checked source. Do not copy the group price into it; report the group price with its scope.
- Each offer keeps its own offer_scope, source_url and evidence field, so a downstream step can cite exactly where a price or stock state came from.
Full report with provenance: /examples/retail-availability.json · explore it on the service page.
Read unknown and out-of-stock correctly
Out of stock is a finding, not a failure. A verified report remains an eligible report when some variants are listed as out of stock, because the page published that evidence. unknown is different: no offer could be verified on the checked page, for example when it publishes no supported structured offer or variant data. Treat unknown as “no evidence either way” and fall back to a person or a retailer feed. invalid_input points at the input, for example a category or search URL instead of a single product page.
| Status | Meaning | Report event |
|---|---|---|
| verified | A verified offer report from checked product structured data or supported variant metadata. Some variants may be missing or out of stock. | Yes — one event |
| unknown | No offer could be verified on the checked product page. | No event |
| invalid_input | Fix the caller input (one HTTPS product page, not a collection, search, cart or account page). | No event |
Cost and spending authorization
The checked configuration charges $0.01 per eligible report (verified-product-check), at most 1 event per run. Charge trigger: One event for a verified offer report, even if some variants are missing or out of stock. unknown and invalid_input produce no event.
Monitoring repeats the cost. Checking 20 known product pages once is 20 separately authorized runs with an event ceiling of $0.20 at $0.01 each; checking them again tomorrow is another ceiling of the same size. There is no subscription or continuous monitoring, so schedule checks only as often as the decision needs.
Caps are not discounts and do not guarantee a positive result. Unknown/invalid checks produce no eligible report event; caller model/workflow costs are separate. Standard Actor platform usage included under the configuration checked on 8 Oct 2026; recheck before purchase. Recheck the current Apify Store price before execution. Reports may precede final event charging; their billing fields alone do not establish a settled debit.
Connect it to your agent
{
"product_url": "https://www.allbirds.com/products/mens-tree-runners-wheat-dark-beige"
}
The agent quickstart walks through inspect → budget → execute → retrieve → validate over Apify’s hosted MCP server or REST API. The service page has copy-paste API and MCP instructions for one capped call, and the Markdown doc carries the exact Actor name, input fields and status meanings. Connecting does not authorize spending.
Before acting on a result, tell the user what was checked and when, and say that shipping, taxes and the final checkout total were not tested. Purchasing remains a separate step the user approves.
Questions
Is this a checkout or inventory guarantee?
No. Prices and stock reflect the checked page and supported structured evidence. Shipping, taxes, checkout totals, hidden variants and live warehouse inventory are not guaranteed.
If the product shows in stock, is every size available?
No. A product-group offer can be in stock while individual variants are out of stock. Read each variant row; group stock does not prove every variant is available.