Why does the WooCommerce Store API matter for shopping agents?

By the Ingenious AI team · Published 14 November 2026 · Reviewed 14 November 2026

Check your own store free. AgentReady fetches your catalog, structured data, crawler rules and policies, then shows — with evidence — what AI shopping agents can and cannot read.

Scan my store free → Check one product's truth →

The short answer

It is the front door. When an AI shopping agent meets a WooCommerce store, the Store API is the one fetch that returns the whole catalog as clean data — names, permalinks, prices, stock. AgentReady requests /wp-json/wc/store/v1/products and passes the check (10 points, the joint-heaviest catalog check) only when that request returns a parseable product list. If it errors, agents fall back to scraping your sitemap and pages — slower, partial, and often abandoned.

What is the WooCommerce Store API catalog?

The WooCommerce Store API catalog is the structured product list a WooCommerce store serves at /wp-json/wc/store/v1/products. Each product arrives as data — name, permalink, a prices object with the price and currency, and a stock state — that software, including AI shopping agents, can read directly without scraping a rendered page.

One fetch instead of a thousand page scrapes

Without an API, an agent that wants your catalog must discover product URLs from your sitemap, fetch each page, and extract the product facts from HTML built for human eyes — markup where the price sits inside nested spans, the stock state is a coloured dot, and half the facts live in tabs and accordions. Every extraction is a chance to misread. Multiply by a catalog of hundreds and most agents simply sample a few products or move to a competitor whose feed answers in one request.

The Store API removes that friction. One GET request returns structured products: the name, the permalink, the prices object, the stock flags. It is the difference between handing an agent a spreadsheet and handing it a photograph of a spreadsheet. WooCommerce stores already run this endpoint — it powers the modern cart and checkout blocks — but 'already running' is not the same as 'reachable by an agent', which is why AgentReady tests the fetch itself rather than assuming it.

How AgentReady tests the catalog fetch

The scanner builds the endpoint from your store's base URL — /wp-json/wc/store/v1/products with a small page size — and fetches it with its own user agent, the way an external reader would. The check passes only when the response is a success status AND the body parses as a product list. An HTTP 200 that returns an HTML error page fails. A 401, 403, 404 or redirect-to-login fails. The evidence line on your report records the status and how many products came back.

That returned list then feeds the rest of the scan. The first products' prices and stock states are what the feed-hygiene checks grade. Their permalinks become the product pages sampled for structured data. The first product's API price becomes one of the three values in the cross-surface accuracy comparison. A broken catalog therefore echoes through the report — which mirrors reality, because a broken catalog echoes through every agent that visits.

The usual reasons the Store API fetch fails

The most common cause is a security or caching layer that treats /wp-json/ as an admin surface and blocks or challenges outside requests. The second is a permalink or REST configuration problem: the API exists under a different route shape, and the canonical endpoint returns the site's 404 page. The third is a plugin conflict that fatals the endpoint — the request returns 200 with an empty or HTML body, which is why the check parses the payload instead of trusting the status code.

A fourth cause is subtler: the API responds, but only to requests carrying browser-like headers, while bare API consumers get a bot challenge. An agent is a bare API consumer. If your store's defences cannot distinguish a well-behaved catalog reader from an attack, the defence wins and the agent leaves. AgentReady's own scanner identifies itself honestly in its user agent, so a failure on the report means a real external fetch failed — not a synthetic edge case.

What a passing catalog gives the rest of the scan

With the catalog readable, three more checks become meaningful. Catalog prices machine-readable (8 points) examines the sampled products' prices objects: every sampled product must expose a price, in minor units with its currency code, that the scanner can convert and compare. Stock state machine-readable (7 points) requires each sampled product to carry a stock signal — the is_in_stock flag or stock_availability — rather than leaving availability to inference.

And the accuracy check (15 points) takes the first sampled product's API price — converted from minor units using the feed's own minor_unit value — and holds it against the structured-data price and the visible page price. Stores are often surprised that the feed is the surface that is right while the page template is stale, or the reverse. Either way, the conflict is quoted with all three values, so the stale surface identifies itself.

Fixing a failed catalog check, in order

Start by fetching the endpoint yourself from outside your network, logged out, exactly as the report's evidence shows it. If you get an error page, note the status: 404 points at routing or permalinks, 401/403 at access rules, 200-with-HTML at a plugin fatal or a challenge page. Fix the layer that produces that response — whitelist the Store API products route in the security plugin, repair the REST route, or resolve the conflict — then fetch again until a clean product list returns.

Then look at what the list contains. Products missing prices or stock states will pass the catalog check but fail the feed-hygiene checks that follow, so repair the product data at the source: every sellable product needs a real price and a managed stock state in WooCommerce, not text typed into descriptions. Re-run the scan and confirm the catalog line passes with a product count in its evidence — and keep the endpoint reachable when you next change security tooling, because this is the failure that most often returns silently.

If your store is not on WooCommerce

Custom stores and WordPress sites without WooCommerce have no Store API, and this check will fail on points while the report explains why: no Woo Store API catalog found at the canonical endpoint. That is not a death sentence for agent readiness — agents then rely on your sitemap, your product pages and your structured data, which is why those checks exist and carry their own points — but it does mean your sitemap and JSON-LD stop being backups and become the primary catalog.

For a custom store, the closest equivalent is any stable, fetchable, structured product feed: the scanner's catalog checks are WooCommerce-shaped, but the principle generalises. Serve product facts as data at a predictable URL, keep prices and stock in that data current, and make sure the values agree with your pages. The truth-check tool works on any single product page regardless of platform, comparing the visible page, the structured data, a catalog feed where one exists, and an agent-crawler fetch.

Catalog check: five fixes for a failing Store API

Work through these in order — each step removes one layer between an agent and your product list:

  1. Fetch /wp-json/wc/store/v1/products logged out and off your own network; the response must be a JSON product list, not an error or challenge page.
  2. If the status is 403 or a challenge, whitelist the Store API products route in your security or bot-protection plugin for external readers.
  3. If the status is 404, repair permalinks/REST routing so the canonical Store API endpoint answers.
  4. Open the returned list: every sampled product needs a prices.price value and a stock signal (is_in_stock or stock_availability).
  5. Re-run the free AgentReady scan and confirm the catalog line passes with the product count shown in its evidence.

Worked example: the apiary whose catalog answered 403

A fictional honey store in Belize, Cayo Gold Apiary, runs WooCommerce with 46 products. Its owner installs a security plugin and, following a hardening guide, blocks REST API access for non-logged-in visitors. Human shoppers notice nothing — the shop pages render normally. But the Store API catalog now returns 403 to every outside reader, including shopping agents and the AgentReady scanner.

The scan report shows it plainly: Store API catalog — fail, HTTP 403, products returned: 0. With no catalog, the feed-hygiene checks have nothing to grade and the accuracy check can only compare two surfaces instead of three. The owner adds an exception for the public Store API products route — the endpoint only exposes published product data, the same facts on every public product page — and re-scans. The catalog returns all sampled products with prices and stock, the check earns its 10 points, and the downstream checks light up with real values to compare. The hardening stayed; the over-broad rule went.

Frequently asked questions

What exact URL does AgentReady fetch for the catalog check?

It requests /wp-json/wc/store/v1/products (with a small per-page parameter) relative to your store's base URL — the canonical WooCommerce Store API products endpoint. The check passes only on a success response whose body parses as a product list.

My Store API returns 200 but the check still fails. Why?

Because the check parses the body. A 200 that returns an HTML error page, a bot-challenge page or an empty response is not a catalog. The evidence line on the report shows the status and the number of products parsed — zero means the payload was not a product list.

Is it safe to let external readers fetch the Store API?

The products endpoint exposes published product data — names, prices, stock, permalinks — the same facts rendered on your public product pages. Blocking it does not hide your catalog from humans; it only hides it from the agents your customers send.

How many products does the scan sample from the catalog?

The scanner requests a small first page (five products) and uses the sampled products for the price, stock and accuracy checks, sampling up to three of their product pages for structured data. A conflict on an unsampled product will not appear in the scan — the free truth check examines any single product in depth.

My store is custom-built, not WooCommerce. Does this check apply?

The check itself is WooCommerce-shaped and will report no Store API catalog found. Your readiness then rests on the sitemap, product-page and structured-data checks, which the scanner runs for every platform — and on the general principle: serve product facts as fetchable structured data at a stable URL.

AgentReady is built by Ingenious AI. Every verdict in an AgentReady scan traces to values actually fetched from the store — no live AI-agent queries are run or claimed.