Crawl: the most reliable web crawler APISee what’s new
Zenrows
Talk to sales Start free

Dynamic pricing data

Dynamic pricing is a strategy where prices change automatically with market conditions: competitor prices, stock levels and demand. Zenrows supplies the engine's market inputs, fetching competitor pages on demand or in scheduled Batch runs and returning price, stock and delivery fields as JSON for your repricing rules.

Updated

Sample output: inputs for one repricing decision
{
  "sku": "HDP-900-WHT",
  "requested_at": "2026-10-17T11:15:02Z",
  "our_price": 189.0,
  "floor": 159.0,
  "ceiling": 219.0,
  "competitors": [
    { "site": "retailer-a.example", "price": 179.0, "in_stock": true, "delivery_fee": 0.0, "captured_at": "2026-10-17T11:15:04Z" },
    { "site": "retailer-b.example", "price": 174.99, "in_stock": false, "delivery_fee": 4.99, "captured_at": "2026-10-17T11:15:05Z" },
    { "site": "marketplace.example", "price": 182.5, "in_stock": true, "offers": 6, "captured_at": "2026-10-17T11:15:06Z" }
  ],
  "lowest_in_stock_delivered": 179.0,
  "competitors_out_of_stock": 1,
  "bestseller_rank": 38,
  "inputs_valid": true
}
Illustrative. Competitor fields come from Fetch with CSS selectors; floor, ceiling and derived values from your pricing system.

What dynamic pricing teams collect

An engine is only as current as its inputs: competitor signals in, your rules applied within your floors and ceilings.

JobData you collectTypical sources
Competitor price inputs Selling price per matched SKU Amazon, Walmart, Best Buy, Target
Competitor stock-outs Stock per competitor and variant Competitor product pages
Delivered price Delivery fee, free-delivery threshold, date Product and checkout-preview pages
Marketplace pressure Offer count, lowest offer, featured offer price Amazon offer listings, eBay, Walmart Marketplace, Mercado Livre
Demand signals Bestseller rank, search position, review growth Amazon Best Sellers Rank, retailer search
Travel and event pricing Fares, room rates, resale tickets by date Airline sites, Booking.com, StubHub

Why dynamic pricing data fails

The engine acts on whatever it gets.

A stale price triggers a needless cut; a missing stock flag gives away margin when a rival is sold out.

What it looks like

Hourly repricing on yesterday's prices

How Zenrows handles it

Fetch reads the live page; Batch sweeps the list at your cycle

How to feed a dynamic pricing engine

  1. Map inputs to SKUs: competitor URLs, fields needed, and how fresh each must be.
  2. Sweep the full list on a schedule in Batch, with a webhook that starts the engine when results land.
  3. Check on demand before big moves: re-fetch the deciding pages before any change above your set amount.
  4. Validate before you reprice: reject missing prices, odd currencies and out-of-range jumps; keep the last good value and its timestamp.
// Node 18+  (save as check-prices.mjs)
const fields = JSON.stringify({ price: ".price-now", stock: ".stock-status" });

async function competitorPrice(url) {
  const params = new URLSearchParams({
    apikey: "YOUR_ZENROWS_API_KEY",
    url,
    mode: "auto", // Adaptive Stealth Mode
    css_extractor: fields,
  });
  const res = await fetch(`https://api.zenrows.com/v1/?${params}`);
  return { url, capturedAt: new Date().toISOString(), ...(await res.json()) };
}

const inputs = await Promise.all(COMPETITOR_URLS.map(competitorPrice));
console.log(inputs);

What success looks like

MeasureWhat good looks likeHow to check it
Input freshness Every input younger than one repricing cycle Log each input's captured_at beside each price change
On-demand latency Lookups fit inside the repricing run Response times per domain; watch the slowest five percent
Competitor coverage Inputs from every competitor in each SKU's set Share of SKUs with a full set per run
Input validity Almost no missing or implausible values reach the engine Validation rejects per run and domain
Stock signal accuracy Stock-outs caught within one cycle Spot-check flags against the live page
Sweep duration A full sweep well inside one cycle Batch start and finish against cycle length

Dynamic pricing FAQ

  • Prices that change automatically with competitor prices, your stock, competitor stock, demand, time of day or season. Retailers, marketplaces, airlines, hotels and ticket sellers use it: an engine applies rules or models within floors and ceilings you set.

  • External: competitor prices and availability, delivery fees and dates, offer counts, demand signals like bestseller rank. Internal: cost, stock, sales velocity, margin targets. Scraping supplies the external side.

  • As fresh as your repricing cycle: on an hourly engine, older inputs can trigger moves the market no longer supports. Sweep at that cadence and check the deciding pages on demand.

  • Both. Scheduled Batch keeps inputs current, and a webhook can start the engine. On-demand Fetch confirms a rival's price before a large cut or during a sales event.

  • Monitoring reports competitor prices to people; dynamic pricing acts on them, so it needs tighter freshness, validation per decision, and a record of which inputs drove which change. See competitor price scraping.

  • By GTIN, UPC, EAN or part number, often in specs or structured data; otherwise by brand, model, size and pack count, with uncertain matches checked by a person first. Date each match and recheck when a competitor changes title or images.

  • Repricing your own products is legal in most places and common in retail and travel. Some sectors and countries limit changes in emergencies, require clear price display, or restrict pricing on personal data. Ask your legal team.

Turn the live web into usable data.