WooCommerce shop product

GET https://api.api.sh/woocommerce/v1/product
1 credit / call e-commerce try it in the playground →

One product of any WooCommerce shop from its page link (or shop + id or slug): everything the search gives plus each variation's own name, SKU, price, sale price, stock status, low-stock count, image and weight.

Every response includes credits_used: the credits this call cost.

Parameters

nametypedescription
url string Product page link. Example: https://porterandyork.com/product/buy-prime-rib-online/
store string The shop's domain, with id or slug instead of url.
id integer Product id (with store).
slug string Product slug (with store).
variations true | false false to leave out the variation details (default true).

Every endpoint also takes fresh, raw, fields (see lean responses and caching).

Example

curl "https://api.api.sh/woocommerce/v1/product?url=https%3A%2F%2Fporterandyork.com%2Fproduct%2Fbuy-prime-rib-online%2F" \
  -H "x-api-key: $APISH_KEY"

Response

A JSON object with the fields described above, plus raw (the source's own data), cached, fetched_at and credits_used. Errors return {"success": false, "error": "…"} with the HTTP status (see errors). A lookup that ran but found nothing (404) costs the price above; refused calls and errors on our side are free (what's charged).

The fastest way to see the full response is the playground: it runs this endpoint with your account and shows the exact JSON.