extract_product
Pack: web-fetch · Connect: https://pipeworx.io/mcp (see Connect below for a single-pack URL)
No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/extract_product for the schema, then POST the same URL with its arguments for the data.
Read what ONE product page states about the product, from the page’s own markup: structured product markup the page’s own site publishes (JSON-LD or microdata in the shared Product vocabulary) and OpenGraph / product: tags. Returns title, description, canonical_url, price (a number), currency, brand, product_id, sku, gtin, mpn, availability (InStock, OutOfStock, PreOrder…), condition, thumbnail, images, category, rating_value and rating_count, plus every offer the page lists in offers[] and the raw markup in structured_data.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
url | string | yes | The absolute http(s) URL of a product page, e.g. “https://www.allbirds.com/products/mens-tree-runners”. Pass the product page itself, not a category or search page. |
Example call
Arguments
{
"url": "https://www.allbirds.com/products/mens-tree-runner-nz-medium-grey"
}
curl
curl -X POST https://gateway.pipeworx.io/web-fetch/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"extract_product","arguments":{"url":"https://www.allbirds.com/products/mens-tree-runner-nz-medium-grey"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('extract_product', {
"url": "https://www.allbirds.com/products/mens-tree-runner-nz-medium-grey"
});
Response shape
| Field | Type | Description |
|---|---|---|
source | string | What was read: the page itself. |
url | string | The URL you asked for. |
url_final | string | The URL after redirects; relative URLs in the markup are resolved against it. |
status | number | HTTP status of the page. |
fetched_at | string | ISO time of the fetch. |
sha256 | string | SHA-256 of the page bytes read. |
product_markup_found | boolean | True when the page carries structured Product markup or product: / og:type product tags. False means only generic OpenGraph or title tags were read, as on a collection page. |
formats_found | array | Which kinds of markup the page carried. |
title | string | null | Product name: Product name, else og:title, else the HTML title tag. Null if none. |
description | string | null | Product description from the markup or meta description. Null if none. |
canonical_url | string | null | link rel=canonical, else og:url, else the Product url. Null if none. |
price | number | null | The single price the page states. Null when absent or when offers state different prices. |
currency | string | null | Currency code as stated (e.g. USD). Null when not stated. |
brand | string | null | Brand name as stated. Null if none. |
product_id | string | null | productID, else sku, else product:retailer_item_id. Null if none. |
sku | string | null | The sku the page’s Product markup states. Null if none. |
gtin | string | null | GTIN/EAN/UPC/ISBN as stated. Null if none. |
mpn | string | null | Manufacturer part number as stated. Null if none. |
availability | string | null | Normalised availability such as InStock or OutOfStock. Null when absent or when offers disagree. |
availability_raw | string | null | The availability value exactly as the page wrote it. |
condition | string | null | Item condition such as NewCondition. Null if not stated. |
thumbnail | string | null | Absolute URL of the main product image. Null if none. |
images | array | Absolute image URLs the markup lists (at most 20). |
category | string | null | Product category as stated. Null if none. |
rating_value | number | null | aggregateRating.ratingValue. Null if none. |
rating_count | number | null | aggregateRating review or rating count. Null if none. |
price_low | number | null | Lowest offer price the page states. Null if none. |
price_high | number | null | Highest offer price the page states. Null if none. |
offers | array | Every offer the page lists (at most 50). |
field_sources | object | For each filled field, the markup it came from: json-ld, microdata, opengraph, link rel=canonical, meta description, html title. |
structured_data | object | The markup itself: json_ld (the Product node), microdata, opengraph (tags found). |
warnings | array | Anything that limits the answer: several Products, offers disagreeing, unparseable blocks, a truncated read. |
Full JSON Schema
{
"type": "object",
"properties": {
"source": {
"type": "string",
"description": "What was read: the page itself."
},
"url": {
"type": "string",
"description": "The URL you asked for."
},
"url_final": {
"type": "string",
"description": "The URL after redirects; relative URLs in the markup are resolved against it."
},
"status": {
"type": "number",
"description": "HTTP status of the page."
},
"fetched_at": {
"type": "string",
"description": "ISO time of the fetch."
},
"sha256": {
"type": "string",
"description": "SHA-256 of the page bytes read."
},
"product_markup_found": {
"type": "boolean",
"description": "True when the page carries structured Product markup or product: / og:type product tags. False means only generic OpenGraph or title tags were read, as on a collection page."
},
"formats_found": {
"type": "array",
"items": {
"type": "string",
"enum": [
"json-ld",
"microdata",
"opengraph"
]
},
"description": "Which kinds of markup the page carried."
},
"title": {
"type": [
"string",
"null"
],
"description": "Product name: Product name, else og:title, else the HTML title tag. Null if none."
},
"description": {
"type": [
"string",
"null"
],
"description": "Product description from the markup or meta description. Null if none."
},
"canonical_url": {
"type": [
"string",
"null"
],
"description": "link rel=canonical, else og:url, else the Product url. Null if none."
},
"price": {
"type": [
"number",
"null"
],
"description": "The single price the page states. Null when absent or when offers state different prices."
},
"currency": {
"type": [
"string",
"null"
],
"description": "Currency code as stated (e.g. USD). Null when not stated."
},
"brand": {
"type": [
"string",
"null"
],
"description": "Brand name as stated. Null if none."
},
"product_id": {
"type": [
"string",
"null"
],
"description": "productID, else sku, else product:retailer_item_id. Null if none."
},
"sku": {
"type": [
"string",
"null"
],
"description": "The sku the page's Product markup states. Null if none."
},
"gtin": {
"type": [
"string",
"null"
],
"description": "GTIN/EAN/UPC/ISBN as stated. Null if none."
},
"mpn": {
"type": [
"string",
"null"
],
"description": "Manufacturer part number as stated. Null if none."
},
"availability": {
"type": [
"string",
"null"
],
"description": "Normalised availability such as InStock or OutOfStock. Null when absent or when offers disagree."
},
"availability_raw": {
"type": [
"string",
"null"
],
"description": "The availability value exactly as the page wrote it."
},
"condition": {
"type": [
"string",
"null"
],
"description": "Item condition such as NewCondition. Null if not stated."
},
"thumbnail": {
"type": [
"string",
"null"
],
"description": "Absolute URL of the main product image. Null if none."
},
"images": {
"type": "array",
"items": {
"type": "string"
},
"description": "Absolute image URLs the markup lists (at most 20)."
},
"category": {
"type": [
"string",
"null"
],
"description": "Product category as stated. Null if none."
},
"rating_value": {
"type": [
"number",
"null"
],
"description": "aggregateRating.ratingValue. Null if none."
},
"rating_count": {
"type": [
"number",
"null"
],
"description": "aggregateRating review or rating count. Null if none."
},
"price_low": {
"type": [
"number",
"null"
],
"description": "Lowest offer price the page states. Null if none."
},
"price_high": {
"type": [
"number",
"null"
],
"description": "Highest offer price the page states. Null if none."
},
"offers": {
"type": "array",
"description": "Every offer the page lists (at most 50).",
"items": {
"type": "object",
"properties": {
"price": {
"type": [
"number",
"null"
],
"description": "Offer price."
},
"currency": {
"type": [
"string",
"null"
],
"description": "Offer currency."
},
"availability": {
"type": [
"string",
"null"
],
"description": "Normalised offer availability."
},
"availability_raw": {
"type": [
"string",
"null"
],
"description": "Offer availability as written."
},
"url": {
"type": [
"string",
"null"
],
"description": "Offer URL."
},
"seller": {
"type": [
"string",
"null"
],
"description": "Seller name."
},
"condition": {
"type": [
"string",
"null"
],
"description": "Offer item condition."
},
"sku": {
"type": [
"string",
"null"
],
"description": "Offer sku."
},
"valid_until": {
"type": [
"string",
"null"
],
"description": "priceValidUntil as written."
}
}
}
},
"field_sources": {
"type": "object",
"description": "For each filled field, the markup it came from: json-ld, microdata, opengraph, link rel=canonical, meta description, html title."
},
"structured_data": {
"type": "object",
"description": "The markup itself: json_ld (the Product node), microdata, opengraph (tags found)."
},
"warnings": {
"type": "array",
"items": {
"type": "string"
},
"description": "Anything that limits the answer: several Products, offers disagreeing, unparseable blocks, a truncated read."
}
},
"additionalProperties": true
}
Connect
Add this to your MCP client config — every tool in the catalog, including this one — or use one-click install buttons:
{
"mcpServers": {
"pipeworx": {
"url": "https://pipeworx.io/mcp"
}
}
}
Connect to just the web-fetch pack
{
"mcpServers": {
"web-fetch": {
"url": "https://gateway.pipeworx.io/web-fetch/mcp"
}
}
}
See Getting Started for client-specific install steps.