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

NameTypeRequiredDescription
urlstringyesThe 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

FieldTypeDescription
sourcestringWhat was read: the page itself.
urlstringThe URL you asked for.
url_finalstringThe URL after redirects; relative URLs in the markup are resolved against it.
statusnumberHTTP status of the page.
fetched_atstringISO time of the fetch.
sha256stringSHA-256 of the page bytes read.
product_markup_foundbooleanTrue 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_foundarrayWhich kinds of markup the page carried.
titlestring | nullProduct name: Product name, else og:title, else the HTML title tag. Null if none.
descriptionstring | nullProduct description from the markup or meta description. Null if none.
canonical_urlstring | nulllink rel=canonical, else og:url, else the Product url. Null if none.
pricenumber | nullThe single price the page states. Null when absent or when offers state different prices.
currencystring | nullCurrency code as stated (e.g. USD). Null when not stated.
brandstring | nullBrand name as stated. Null if none.
product_idstring | nullproductID, else sku, else product:retailer_item_id. Null if none.
skustring | nullThe sku the page’s Product markup states. Null if none.
gtinstring | nullGTIN/EAN/UPC/ISBN as stated. Null if none.
mpnstring | nullManufacturer part number as stated. Null if none.
availabilitystring | nullNormalised availability such as InStock or OutOfStock. Null when absent or when offers disagree.
availability_rawstring | nullThe availability value exactly as the page wrote it.
conditionstring | nullItem condition such as NewCondition. Null if not stated.
thumbnailstring | nullAbsolute URL of the main product image. Null if none.
imagesarrayAbsolute image URLs the markup lists (at most 20).
categorystring | nullProduct category as stated. Null if none.
rating_valuenumber | nullaggregateRating.ratingValue. Null if none.
rating_countnumber | nullaggregateRating review or rating count. Null if none.
price_lownumber | nullLowest offer price the page states. Null if none.
price_highnumber | nullHighest offer price the page states. Null if none.
offersarrayEvery offer the page lists (at most 50).
field_sourcesobjectFor each filled field, the markup it came from: json-ld, microdata, opengraph, link rel=canonical, meta description, html title.
structured_dataobjectThe markup itself: json_ld (the Product node), microdata, opengraph (tags found).
warningsarrayAnything 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.

Regenerated from source · build December 2, 2026