SYSTEM all green source yarn.com queue 12,408 pages p99 latency 185ms dataflirt.com · scraper/yarn-com
RUN · 14 active pipelines · yarn.com live

Textile data,
at warehouse scale.

We extract yarn specifications, WEBS discount pricing, colourway variants, pattern requirements, and review data from yarn.com. Delivered as clean JSON, CSV, or Parquet to S3, BigQuery, or Snowflake on your cadence.

Products extracted
45K /run
Colourways mapped
312K /run
Price updates
18K /24h
Active pipelines
14
Uptime
99.98%
Data Dictionary

Every field we extract from yarn.com

Structured, schema-consistent data across all major object types — delivered clean, typed, and ready to query.

Complete list of extractable fields for Yarn Specifications objects from yarn.com. All fields typed and schema-versioned.

skubrandproduct_nameyarn_weightfibre_contentyardagegaugeneedle_sizehook_sizecare_instructionscountry_of_originput_upcategoryurl
yarn_specifications
● 200 OK
"sku": "VAL-BERK-01",
"brand": "Valley Yarns",
"product_name": "Berkshire Bulky",
"yarn_weight": "Bulky",
"fibre_content": "85% Wool / 15% Alpaca",
"yardage": 108,
"gauge": "3.5 sts = 1 inch",
"needle_size": "US 10.5 (6.5mm)"
# skubrandproduct_nameyarn_weightfibre_contentyardage
1
2
3

Complete list of extractable fields for Pricing & WEBS Discounts objects from yarn.com. All fields typed and schema-versioned.

skubase_pricesale_pricewebs_discount_eligiblediscount_tier_20_pctdiscount_tier_25_pctcloseout_statuscurrencyprice_timestamp
pricing_& webs discounts
● 200 OK
"sku": "VAL-BERK-01",
"base_price": 10.99,
"sale_price": "None",
"webs_discount_eligible": true,
"discount_tier_20_pct": 8.79,
"discount_tier_25_pct": 8.24,
"closeout_status": false,
"price_timestamp": "2026-08-14T10:12:00Z"
# skubase_pricesale_pricewebs_discount_eligiblediscount_tier_20_pctdiscount_tier_25_pct
1
2
3

Complete list of extractable fields for Colourways & Inventory objects from yarn.com. All fields typed and schema-versioned.

parent_skuvariant_skucolour_namecolour_numberhex_codeimage_urlin_stockstock_leveldye_lot_warningbackorder_date
colourways_& inventory
● 200 OK
"parent_sku": "VAL-BERK-01",
"variant_sku": "VAL-BERK-01-41",
"colour_name": "Burgundy",
"colour_number": "41",
"in_stock": true,
"stock_level": 142,
"dye_lot_warning": true
# parent_skuvariant_skucolour_namecolour_numberhex_codeimage_url
1
2
3

Complete list of extractable fields for Patterns & Kits objects from yarn.com. All fields typed and schema-versioned.

pattern_idtitledesignercraft_typedifficultyrequired_yarnrequired_yardagerequired_needlesformatprice
patterns_& kits
● 200 OK
"pattern_id": "PAT-VAL-102",
"title": "Valley Yarns 102 Cable Cardigan",
"designer": "Valley Yarns Designer",
"craft_type": "Knitting",
"difficulty": "Intermediate",
"required_yardage": "1200-1500",
"price": 5.99
# pattern_idtitledesignercraft_typedifficultyrequired_yarn
1
2
3

Complete list of extractable fields for Reviews & Ratings objects from yarn.com. All fields typed and schema-versioned.

review_idskureviewer_nameratingreview_titlereview_texthelpful_votesverified_purchasedate_posted
reviews_& ratings
● 200 OK
"review_id": "REV-99281",
"sku": "VAL-BERK-01",
"rating": 5,
"review_title": "Soft and works up quickly",
"helpful_votes": 12,
"verified_purchase": true,
"date_posted": "2026-07-22"
# review_idskureviewer_nameratingreview_titlereview_text
1
2
3

Capabilities

Everything you need from yarn.com

Our scraper captures the full depth of textile metadata, handling complex colourway grids, dynamic discount tiering, and inventory states with precision.

Fibre & Gauge Specifications

Extract exact fibre percentages, gauge metrics, weight classifications, and needle size requirements for every yarn line.

WEBS Discount Tracking

Capture base prices alongside the 20% and 25% WEBS discount tiers, including eligibility flags and closeout statuses.

Colourway Variant Mapping

Scrape all child variants under a parent SKU, including colour names, reference numbers, and specific image URLs.

Inventory & Stock Levels

Monitor in-stock status, backorder dates, and low-stock warnings across individual colourway variants.

Pattern Requirements

Extract required yarn lines, total yardage, craft type, and difficulty levels from digital and physical pattern listings.

Review Extraction

Gather star ratings, review text, and verified purchase flags to analyse customer sentiment on specific textile blends.

Brand & Category Taxonomy

Maintain the exact category tree and brand associations, from major manufacturers to independent dyers.

Dye Lot Warnings

Track specific dye lot availability notices and mixed-lot warnings on low-inventory items.

Incremental Updates

Run daily diffs to capture only new products, price changes, or stock status shifts without re-processing the entire catalogue.

// engagement pipeline

From category list to warehouse record

Brief in. Clean data out.

Define Scope
d 0

Provide target brands, categories, or specific URLs. We map the required textile data fields.

Pipeline Build
d 2–4

We configure Scrapy / Playwright crawlers to handle yarn.com pagination, variant grids, and pricing logic.

Validation & QA
d 4–6

Schema validation, null-rate checks on critical specs like fibre content, and price-tier verification.

Delivery
ongoing

JSON / CSV / Parquet pushed to your S3 bucket, BigQuery dataset, or Snowflake stage on agreed cadence.

Under the hood

How our pipeline handles yarn.com complexity

Extracting textile data requires navigating dense variant matrices and dynamic pricing models. Here is how we ensure data integrity.

pipeline-monitor · yarn.com · live ● active
// fingerprinting
Identity rotation
TLS fingerprintrandomised
User-agentrotated
IP poolresidential
Challenges blocked0
// pagination
Page coverage
48,291 pages queued running
// observability
Pipeline health
99.9%
uptime
142ms
p99 lat
0.3%
null rate
2
alerts
Variant expansion
Flattening complex colourway grids

A single yarn line on yarn.com can feature over 80 colourways, each with its own stock status and ID. We iterate through the JavaScript-rendered variant selection grid to emit a flat, queryable record for every individual colourway.

Pricing logic
Resolving WEBS discount tiers

Yarn.com applies a complex volume discount model (the WEBS discount) that reduces prices by 20% or 25% based on cart value, but excludes certain brands and closeouts. We extract the eligibility flags and calculate the exact tier pricing for your records.

Anti-bot layer
Residential proxies and rate limiting

To prevent IP bans during deep catalogue crawls, we route requests through US-based residential proxies with strict concurrency limits, mimicking normal browsing behaviour across category pagination.

Data normalization
Standardising fibre and gauge metrics

Fibre content is often written in unstructured text strings. We parse and normalise these strings into structured key-value pairs, ensuring your database receives clean percentages rather than raw HTML blocks.

Change detection
Efficient inventory tracking

For clients monitoring stock levels, we run high-frequency passes over target SKUs, using hash comparisons to emit only records where inventory status or pricing has changed since the last run.

Applications

Who uses yarn.com data

Teams across industries use yarn.com data to build competitive products and smarter operations.

01
Competitor Price Monitoring

Independent yarn retailers track closeouts and WEBS discount pricing to adjust their own promotional calendars.

02
Inventory Forecasting

Distributors monitor stock depth across major brands to anticipate supply chain bottlenecks in specific fibre types.

03
Market Research

Textile manufacturers analyse trending fibre blends, popular gauge weights, and colourway saturation to inform product development.

04
Pattern Aggregation

Crafting applications map required yarn specifications to their internal databases to suggest alternative yarns for specific patterns.

05
Brand MAP Enforcement

Yarn brands audit retail pricing to ensure compliance with Minimum Advertised Price policies across standard and discount tiers.

06
Machine Learning

ML teams train recommendation engines on the relationships between pattern difficulty, craft type, and selected fibre blends.

Why DataFlirt

"Yarn.com holds the definitive catalogue of commercial textile specifications, but extracting nested colourway grids and dynamic discount tiers requires dedicated infrastructure."

Textile data extraction fails on variant complexity. A single yarn line might have 80 colourways, each with distinct stock levels and WEBS discount eligibility. DataFlirt handles the JavaScript rendering and variant mapping so your engineers receive clean, normalised textile data without touching a single DOM element.

Technical Spec

Yarn.com scraper technical specifications

Everything supported by our yarn.com scraper — rendered SPA elements, auth walls, rate-limit evasion and beyond.

Colourway variant mapping
Extracts all child SKUs from the parent product page
Supported
WEBS discount calculation
Captures eligibility and precise tier pricing
Supported
Fibre content parsing
Splits unstructured text into exact percentage breakdowns
Supported
Pattern requirement extraction
Maps suggested yarns and yardage to specific patterns
Supported
Stock status tracking
Monitors in-stock, backordered, and closeout states
Supported
Review pagination
Captures historical reviews across all product pages
Supported
Change detection
Emits only changed records for inventory monitoring
Supported
User purchase history
Requires authenticated session access
Partial
Wholesale account pricing
B2B pricing tiers require gated login credentials
Partial
Infrastructure

Infrastructure powering the pipeline

Open-source tooling on proven cloud infra — no vendor lock-in, full observability.

ScrapyPlaywrightPython 3.12RedisPostgreSQLApache AirflowAWS LambdaS3CloudWatch2CaptchaCapSolverResidential ProxiesDockerKubernetesGrafanaPrometheus
Scrapy + Playwright Stack

Scrapy manages the crawl orchestration and deduplication, while Playwright handles the JavaScript rendering required to expose full colourway grids and dynamic pricing.

Residential Proxy Network

We route requests through US-based residential IP pools, rotating per request to prevent rate limiting and ensure uninterrupted access to the catalogue.

Cloud-Native Delivery

Pipelines execute on AWS infrastructure with Airflow scheduling. Data is normalised and pushed directly to your warehouse with strict SLA monitoring.

Output & Delivery

Your data, your destination

Data delivered to where your team already works — no new tooling required.

JSON
Newline-delimited or nested objects
CSV
Flat file with typed columns
XLS
Excel compatible format for analyst teams
Parquet
Columnar format for data warehouse ingestion
AWS S3
Direct bucket delivery
Webhook
HTTP POST per record for real-time updates
API
REST endpoints to query extracted datasets
BigQuery
Streamed directly into your dataset
S3
Direct bucket delivery — compatible with any data lake
// faq

Common questions.

About yarn.com scraping, legality, and pipeline operations.

Ask us directly →
Can you extract data for every single colourway?

Yes. We iterate through the variant selection elements on the product page to extract the specific SKU, colour name, hex code reference, and stock status for every colourway associated with a yarn line.

How do you handle the WEBS discount pricing?

We capture the base retail price and check the product's discount eligibility flag. We then calculate and provide the 20% and 25% discount tier prices directly in the output payload.

Is the fibre content data structured?

We extract the raw fibre string and apply parsing logic to normalise it into structured key-value pairs (e.g., 80% Merino Wool, 20% Nylon), making it immediately queryable.

Can you track inventory changes over time?

Yes. We can configure daily or sub-daily runs on specific SKUs. Using hash-based diffing, we output only the records where stock status or pricing has changed.

Do you scrape pattern requirements?

Yes. We extract the metadata from pattern listings, including required yarn brands, total yardage estimates, needle sizes, and difficulty levels.

What is the delivery cadence?

Pipelines can be configured for one-off bulk extractions, weekly catalogue refreshes, or daily inventory monitoring depending on your requirements.

$ dataflirt scope --new-project --source=yarn.com ready

Tell us what
to extract.
We do the rest.

20-minute scoping call. Pilot dataset within the week. Production within two. Whether you need a full catalogue extraction or continuous tracking of WEBS discount pricing and colourway inventory — we handle the infrastructure. Tell us your requirements.

hello@dataflirt.com · Bengaluru · IST · typical reply < 4h
Related Scrapers

More in textile and fabric

Services

Data Extraction for Every Industry

View All Services →