Iteration Layer

Extract Supplier Catalog from Website

Extract SKUs, product names, unit prices, availability, and minimum order quantities from a supplier catalog page.

No credit card required — start with free trial credits

Who this is for

Procurement teams use this recipe to turn public supplier catalog pages into structured records. Extract SKUs, unit prices, stock status, and minimum order quantities for sourcing workflows.

Request
curl -X POST https://api.iterationlayer.com/website-extraction/v1/extract \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "file": {
      "type": "url",
      "url": "https://example.com/catalog/industrial-fasteners"
    },
    "schema": {
        "fields": [
            {
                "name": "catalog_items",
                "type": "ARRAY",
                "description": "Supplier catalog items",
                "fields": [
                    {
                        "name": "sku",
                        "type": "TEXT",
                        "description": "Supplier SKU"
                    },
                    {
                        "name": "product_name",
                        "type": "TEXT",
                        "description": "Product name"
                    },
                    {
                        "name": "unit_price",
                        "type": "CURRENCY_AMOUNT",
                        "description": "Unit price"
                    },
                    {
                        "name": "availability",
                        "type": "TEXT",
                        "description": "Availability status"
                    },
                    {
                        "name": "minimum_order_quantity",
                        "type": "INTEGER",
                        "description": "Minimum order quantity"
                    }
                ]
            }
        ]
    }
}'
Response
{
  "success": true,
  "data": {
    "catalog_items": {
      "type": "ARRAY",
      "value": [
        {
          "sku": "FAST- M8-40",
          "product_name": "M8 stainless hex bolt",
          "unit_price": 0.18,
          "availability": "Ships in 2 days",
          "minimum_order_quantity": 500
        }
      ],
      "confidence": 0.9,
      "citations": [
        "M8 stainless hex bolt SKU FAST-M8-40 MOQ 500"
      ],
      "source": "website.html"
    }
  }
}
Request
import { IterationLayer } from "iterationlayer";
const client = new IterationLayer({ apiKey: "YOUR_API_KEY" });

const result = await client.extractWebsite({
  file: {
    type: "url",
    url: "https://example.com/catalog/industrial-fasteners",
  },
  schema: {
    "fields": [
      {
        "name": "catalog_items",
        "type": "ARRAY",
        "description": "Supplier catalog items",
        "fields": [
          {
            "name": "sku",
            "type": "TEXT",
            "description": "Supplier SKU"
          },
          {
            "name": "product_name",
            "type": "TEXT",
            "description": "Product name"
          },
          {
            "name": "unit_price",
            "type": "CURRENCY_AMOUNT",
            "description": "Unit price"
          },
          {
            "name": "availability",
            "type": "TEXT",
            "description": "Availability status"
          },
          {
            "name": "minimum_order_quantity",
            "type": "INTEGER",
            "description": "Minimum order quantity"
          }
        ]
      }
    ]
  },
});
Response
{
  "success": true,
  "data": {
    "catalog_items": {
      "type": "ARRAY",
      "value": [
        {
          "sku": "FAST- M8-40",
          "product_name": "M8 stainless hex bolt",
          "unit_price": 0.18,
          "availability": "Ships in 2 days",
          "minimum_order_quantity": 500
        }
      ],
      "confidence": 0.9,
      "citations": [
        "M8 stainless hex bolt SKU FAST-M8-40 MOQ 500"
      ],
      "source": "website.html"
    }
  }
}
Request
from iterationlayer import IterationLayer
client = IterationLayer(api_key="YOUR_API_KEY")

result = client.extract_website(
    file={
        "type": "url",
        "url": "https://example.com/catalog/industrial-fasteners",
    },
    schema={
      "fields": [
        {
          "name": "catalog_items",
          "type": "ARRAY",
          "description": "Supplier catalog items",
          "fields": [
            {
              "name": "sku",
              "type": "TEXT",
              "description": "Supplier SKU"
            },
            {
              "name": "product_name",
              "type": "TEXT",
              "description": "Product name"
            },
            {
              "name": "unit_price",
              "type": "CURRENCY_AMOUNT",
              "description": "Unit price"
            },
            {
              "name": "availability",
              "type": "TEXT",
              "description": "Availability status"
            },
            {
              "name": "minimum_order_quantity",
              "type": "INTEGER",
              "description": "Minimum order quantity"
            }
          ]
        }
      ]
    },
)
Response
{
  "success": true,
  "data": {
    "catalog_items": {
      "type": "ARRAY",
      "value": [
        {
          "sku": "FAST- M8-40",
          "product_name": "M8 stainless hex bolt",
          "unit_price": 0.18,
          "availability": "Ships in 2 days",
          "minimum_order_quantity": 500
        }
      ],
      "confidence": 0.9,
      "citations": [
        "M8 stainless hex bolt SKU FAST-M8-40 MOQ 500"
      ],
      "source": "website.html"
    }
  }
}
Request
package main

import il "github.com/iterationlayer/sdk-go"

func main() {
    client := il.NewClient("YOUR_API_KEY")

    result, err := client.ExtractWebsite(il.ExtractWebsiteRequest{
        File: il.NewWebsiteFromURL("https://example.com/catalog/industrial-fasteners"),
        Schema: il.ExtractionSchema{
            "catalog_items": il.NewArrayFieldConfig(
    "catalog_items",
    "Supplier catalog items",
    []il.FieldConfig{
    il.NewTextFieldConfig("sku", "Supplier SKU"),
    il.NewTextFieldConfig("product_name", "Product name"),
    il.NewCurrencyAmountFieldConfig("unit_price", "Unit price"),
    il.NewTextFieldConfig("availability", "Availability status"),
    il.NewIntegerFieldConfig("minimum_order_quantity", "Minimum order quantity"),
    },
),
        },
    })
    if err != nil {
        panic(err)
    }

    _ = result
}
Response
{
  "success": true,
  "data": {
    "catalog_items": {
      "type": "ARRAY",
      "value": [
        {
          "sku": "FAST- M8-40",
          "product_name": "M8 stainless hex bolt",
          "unit_price": 0.18,
          "availability": "Ships in 2 days",
          "minimum_order_quantity": 500
        }
      ],
      "confidence": 0.9,
      "citations": [
        "M8 stainless hex bolt SKU FAST-M8-40 MOQ 500"
      ],
      "source": "website.html"
    }
  }
}
Template
{
  "name": "Extract Supplier Catalog from Website",
  "nodes": [
    {
      "parameters": {
        "content": "## Extract Supplier Catalog from Website\n\nProcurement teams use this recipe to turn public supplier catalog pages into structured records. Extract SKUs, unit prices, stock status, and minimum order quantities for sourcing workflows.\n\n**Note:** This workflow uses the Iteration Layer community node (`n8n-nodes-iterationlayer`). Install it via Settings > Community Nodes before importing. Self-hosted n8n only.",
        "height": 280,
        "width": 500,
        "color": 2
      },
      "type": "n8n-nodes-base.stickyNote",
      "typeVersion": 1,
      "position": [
        200,
        40
      ],
      "id": "b223f26d-5e5b-55b7-8533-2224bd81f7d2",
      "name": "Overview"
    },
    {
      "parameters": {
        "content": "### Step 1: Extract Website Data\nResource: **Website Extraction**\n\nConfigure the public website URL and schema below, then connect your credentials.",
        "height": 160,
        "width": 320,
        "color": 6
      },
      "type": "n8n-nodes-base.stickyNote",
      "typeVersion": 1,
      "position": [
        475,
        100
      ],
      "id": "97a3f12c-71c8-5662-bbe4-c2da7f216991",
      "name": "Step 1 Note"
    },
    {
      "parameters": {},
      "type": "n8n-nodes-base.manualTrigger",
      "typeVersion": 1,
      "position": [
        250,
        300
      ],
      "id": "fbd31168-1ff3-5c5c-bca7-beb0d940b9f2",
      "name": "Manual Trigger"
    },
    {
      "parameters": {
        "resource": "websiteExtraction",
        "fileUrl": "https://example.com/catalog/industrial-fasteners",
        "schemaInputMode": "rawJson",
        "schemaJson": "{\"fields\":[{\"name\":\"catalog_items\",\"type\":\"ARRAY\",\"description\":\"Supplier catalog items\",\"fields\":[{\"name\":\"sku\",\"type\":\"TEXT\",\"description\":\"Supplier SKU\"},{\"name\":\"product_name\",\"type\":\"TEXT\",\"description\":\"Product name\"},{\"name\":\"unit_price\",\"type\":\"CURRENCY_AMOUNT\",\"description\":\"Unit price\"},{\"name\":\"availability\",\"type\":\"TEXT\",\"description\":\"Availability status\"},{\"name\":\"minimum_order_quantity\",\"type\":\"INTEGER\",\"description\":\"Minimum order quantity\"}]}]}"
      },
      "type": "n8n-nodes-iterationlayer.iterationLayer",
      "typeVersion": 1,
      "position": [
        520,
        300
      ],
      "id": "e0867029-09ea-535a-87bd-85324e11a6b6",
      "name": "Extract Website Data",
      "credentials": {
        "iterationLayerApi": {
          "id": "1",
          "name": "Iteration Layer API"
        }
      }
    }
  ],
  "connections": {
    "Manual Trigger": {
      "main": [
        [
          {
            "node": "Extract Website Data",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "settings": {
    "executionOrder": "v1"
  }
}
Prompt
Extract structured data from the public website page at [website URL]. Use the extract_website tool with this schema:

- catalog_items (ARRAY): Supplier catalog items. Each item has sku (TEXT), product_name (TEXT), unit_price (CURRENCY_AMOUNT), availability (TEXT), minimum_order_quantity (INTEGER)

Related Recipes

Try with your own data

Get a free API key and run this recipe in minutes. No credit card required.