ScraperFlyAI-ready Web Data API

use cases

Stock Availability Monitoring Scraping API for public pages

ScraperFly gives inventory, ecommerce, and monitoring teams a practical capture layer for public availability pages. Preserve product, variant, seller, market, and visual evidence before downstream systems label a product as in stock, out of stock, changed, or ready for review.

Availability evidence

Capture the page state before stock signals drive decisions

Stock monitoring becomes unreliable when the capture layer cannot explain what it saw. A product can look available in one variant, sold out in another, hidden behind JavaScript, different by location, or temporarily replaced by a soft error page. ScraperFly gives teams a controlled way to capture public product pages before downstream systems label an item as in stock, out of stock, changed, or ready for review.

The goal is not to turn ScraperFly into an inventory database or alerting system. The goal is cleaner source evidence: HTML when the availability signal is already in the markup, rendered output when frontend code creates the final state, metadata for diagnostics, and screenshots or PDFs when a human needs proof of what the page showed.

in-stock proofvariant contextregional checks
Retail operations team reviewing public stock availability evidence across products and regions

What is a stock availability monitoring scraping API?

A stock availability monitoring scraping API is a capture layer for public product pages. It retrieves the page, returns the response in a usable format, and gives your application enough context to decide whether an availability signal can be trusted. The downstream system still owns the actual monitoring logic: schedules, comparisons, alerts, thresholds, product matching, variant mapping, warehouse rules, and business decisions.

This boundary matters. Public product pages are not always neat data feeds. Availability can appear in source HTML, rendered DOM, embedded data, button labels, store pickup widgets, delivery panels, variant selectors, seller modules, or region-specific templates. A reliable workflow starts by preserving the public page evidence, then builds parsers and alert rules on top of that evidence instead of guessing from a single fragile field.

Practical takeaway: use ScraperFly to capture the public page state clearly, then let your own monitoring system decide what the availability signal means.

What availability evidence should teams capture?

The useful record is wider than a simple true or false value. A monitoring job should know which product was checked, which variant was selected, which seller or store context applied, which region or language influenced the page, what response format was used, and what the page looked like when the signal was captured. Without that context, an alert can become noisy fast: a colorway is sold out but the product is not, pickup is unavailable but delivery is open, a marketplace seller changed, or the request hit a fallback page rather than the actual product page.

ScraperFly helps by keeping the request profile visible. Teams can compare source HTML against rendered output, preserve the final URL and response metadata, request text or Markdown for review workflows, and add screenshots or PDFs for visual proof when availability changes need human verification.

Evidence area What to capture Why it matters
Product identity URL, title, SKU, canonical URL, marketplace seller Prevents alerts from mixing similar products or duplicate pages.
Variant context Size, color, configuration, pack size, selected option Availability often changes at variant level, not product level.
Availability signal In-stock copy, disabled buttons, stock badge, pickup or delivery state Gives the downstream parser multiple signals to compare.
Market context Country, language, currency, store, delivery area, cookie state Public availability can change by geography and session context.
Capture proof Status, final URL, response size, screenshot, PDF, timestamp Makes false positives easier to investigate after an alert fires.

Why do false stock signals happen?

False stock signals usually come from a mismatch between what the monitoring system thinks it captured and what the public page actually returned. A request can receive a successful status code but still land on a consent screen, location selector, unsupported-region page, empty app shell, generic product family page, removed-product page, or temporary upstream error. A variant selector may default to a popular size instead of the intended size. A marketplace page may switch sellers. A delivery module may require regional context before it shows a real answer.

The fix is not to make every request heavier. The fix is to preserve enough evidence to diagnose the failure. Compare raw and rendered HTML. Check final URL, response size, content type, and status. Use screenshots for disputed visual states. Add sessions only when continuity changes the response. Add country routing only when regional output matters. Retry temporary failures with bounded backoff, but do not retry invalid URLs, unsupported formats, or authentication mistakes as if they were stock changes.

When should stock monitoring use rendering, sessions, headers, or country routing?

Use JavaScript rendering when the availability signal appears only after browser execution. This is common for product pages with client-side variant selectors, store pickup modules, delivery panels, lazy-loaded inventory widgets, or frontends that hydrate stock state after the initial response. Start by comparing raw HTML and rendered HTML. If rendering does not change the availability evidence, keep the lighter request.

Use sessions when related requests depend on shared state, such as a selected store, region, cookie preference, or multi-step public interaction. Use headers when the page expects legitimate request context like language or accepted content type. Use country routing when availability, pricing, delivery, currency, or storefront content changes by region. Use stronger delivery only when response evidence shows the simple path is unstable.

For deeper setup, review the JavaScript rendering API, sessions API, custom headers scraping API, and country targeting guidance when the public page changes by market.

Which response format fits stock monitoring?

HTML is the natural starting point when your parser needs page structure, buttons, attributes, embedded data, product cards, or variant selectors. Rendered HTML is useful when the browser creates the final DOM. Text and Markdown are helpful for review, QA, and quick inspection when a human needs to understand what the page said without reading markup. JSON metadata helps logging and investigation because the monitoring system can store status, final URL, response shape, and diagnostics with the parsed result.

Screenshots and PDFs are useful when availability needs visual proof. They are not usually the best parser input, but they are valuable for disputed alerts, compliance reviews, QA snapshots, and before-and-after evidence. In practice, many teams store machine-readable output for automation and visual output only for selected events where proof matters.

Format Use it for Best availability fit
HTML or rendered HTML Parsers, selectors, embedded data, variant modules Primary source for product and stock extraction.
Text or Markdown Human review, summaries, QA, AI-assisted inspection Readable evidence when markup is too noisy for review.
JSON metadata Diagnostics, final URL, status, content type, logging Operational context for explaining stock alerts.
Screenshot or PDF Visual proof, archives, disputed changes, QA records Evidence for selected alerts and human verification.

What should stay downstream from ScraperFly?

ScraperFly should not be treated as a complete stock monitoring platform. It does not schedule every check, decide product matching rules, reserve inventory, alert merchandisers, interpret private inventory systems, or guarantee that public page copy equals actual warehouse stock. Those decisions belong in the application that knows the catalog, stores, rules, thresholds, and business process.

That separation is healthy. ScraperFly captures the public page evidence. Your monitoring system applies product logic, deduplication, variant mapping, alert thresholds, storage, dashboards, and escalation rules. Keeping those responsibilities separate makes the workflow easier to audit because every alert can point back to the response that created it.

How should teams start with ScraperFly?

Start with a small, representative sample: one simple product page, one variant-heavy product page, one regional page, one marketplace or multi-seller page, and one known out-of-stock page. Test them in the API Builder before writing production logic. Capture HTML first, compare rendered output only when the source response is incomplete, and decide which formats your parser, QA process, and archive actually need.

Once the request profile is proven, scale carefully. Keep straightforward pages on lighter requests, group JavaScript-heavy templates separately, and reserve screenshots, PDFs, sessions, country routing, or stronger delivery for targets that have shown a real need. When planning recurring checks, review pricing so request weight, check frequency, and monitoring value stay aligned.

Related workflows often share the same capture decisions. Product catalog teams can use the product data extraction guidance, ecommerce teams can compare broader ecommerce scraping patterns, and teams tuning output shape can review response formats before building converters.

Stock availability monitoring

Track public stock signals without overpaying before target behavior is proven

Availability monitoring becomes expensive when every product page uses the heaviest request profile from day one. ScraperFly lets teams start with real samples, prove where stock signals live, then add rendering, routing, sessions, or visual proof only where the store requires them.

Happy team validating a project on a laptop
01 / Start easy

Easy, free start before any billing pressure

ScraperFly gives you room to test the real target first. Use free credits to check whether the page works, whether the data is present, and which controls are actually needed before you commit money to a plan. That makes the first experiment feel light: no procurement loop, no forced subscription, no guessing your monthly volume on day one.

Free creditsNo card for first testsValidate before scaling
Smiling professional working successfully with a laptop
02 / Spend smart

Affordable, flexible billing for real-world scraping volume

Not every scraping workload is a neat monthly curve. Some projects spike, some pause, and some only become recurring after the data proves value. ScraperFly supports that reality with a pay-as-you-go path plus monthly credit plans when steady volume makes sense. You can buy what you need, keep costs visible, and avoid turning a small test into an oversized subscription.

Pay as you goMonthly when usefulCost control
Developer preparing structured output from a laptop
03 / Ship faster

Response preprocessing that removes cleanup work

A cheap fetch is not enough if your team still has to build converters, cleaners, screenshots, PDF capture, and LLM-ready formatting around it. ScraperFly can return the response as HTML, clean text, Markdown, structured JSON, PDF, or image output, so your pipeline gets closer to the final asset in one request. Less glue code, fewer moving parts, faster delivery.

HTMLTextMarkdownJSONPDFImage

Where ScraperFly fits stock monitoring

The practical advantage is flexible capture: visible request controls, multiple response formats, and credit paths that work for both uneven tests and recurring checks.

Decision pointScraperFly advantageTypical competitor tradeoff
First experimentStart with free credits and validate the real target before spending. You can prove whether raw HTML, rendering, premium routing, or country targeting is actually needed.Trials often push you quickly toward a recurring plan or hide the true cost until add-ons enter the request.
Billing modelUse pay-as-you-go credits for uneven work, then move to monthly credits only when the workload becomes predictable. This keeps small tests and project-based scraping affordable.Many tools are optimized around monthly subscriptions, fixed allowances, or tier gates that can feel heavy before volume is proven.
Request weightKeep simple pages simple. Turn on JavaScript rendering, premium routing, sessions, headers, waits, or country routing only when the response evidence says they matter.Comparable controls may exist, but they are often bundled into higher tiers, defaults, or more complex pricing profiles.
Output formatsReturn the response in the shape your product needs: HTML for parsers, text or Markdown for content pipelines, JSON for structured metadata, and PDF/image output for visual proof.Some providers focus mainly on access and leave formatting, capture, cleanup, and downstream preparation to your own code.
Developer workflowOne API surface can cover target testing, escalation, rendering, routing, sessions, headers, response formatting, and status checks. The path from prototype to production stays compact.Proxy-first tools, actor marketplaces, and crawler platforms can be powerful, but often require more glue code or a heavier operating model.
Best fitTeams that want practical web data delivery: start small, measure cost per useful result, and scale only the controls that improve the outcome.Teams with fixed high-volume contracts, custom proxy infrastructure, or broad marketplace crawler needs may prefer a more specialized platform.

Availability fields

Capture stock evidence with product, variant, seller, and market context

Useful availability data includes product name, SKU, variant, price, stock state, seller, location, delivery option, timestamp, source URL, and page proof when an alert needs human trust.

Commerce

Turn public commerce pages into pricing and inventory intelligence

Track competitor prices, stock changes, sellers, marketplace offers, travel rates, and catalog shifts before they affect revenue.

Laptop with analytics charts for price monitoring
Commerce

E-commerce price monitoring

Watch competitor prices, discounts, stock status, shipping terms, and seller movement so pricing teams can react before market changes become invisible.

Useful fields: price, discount, stock, seller, shipping

Person browsing products on a smartphone
Commerce

Product catalog enrichment

Fill missing titles, descriptions, specifications, images, variants, and identifiers from public product pages and manufacturer catalogs.

Useful fields: title, description, specs, images, SKU

Large warehouse aisle representing marketplace operations
Commerce

Marketplace seller intelligence

Compare seller presence, fulfillment models, assortment depth, ratings, and offer changes across marketplaces.

Useful fields: seller, rating, offer, fulfillment, assortment

Warehouse worker organizing inventory shelves
Commerce

Inventory and availability tracking

Detect stockouts, pickup availability, regional inventory, delivery promises, and product availability gaps before customers do.

Useful fields: stock, region, pickup, delivery, timestamp

Person with shopping bags checking a smartphone
Commerce

Brand protection

Find unauthorized sellers, suspicious pricing, counterfeit signals, incorrect product claims, and risky listings in public marketplaces.

Useful fields: seller, price, claims, images, marketplace

Busy outdoor restaurant and hospitality scene
Commerce

Travel and hospitality monitoring

Collect room availability, rates, amenities, cancellation terms, local demand signals, and review context across booking surfaces.

Useful fields: rate, availability, amenities, policy, rating

Phone showing an online shopping interface
Commerce

Classifieds and secondhand tracking

Monitor new listings, asking prices, seller activity, item condition, location, and posting age across resale markets.

Useful fields: listing, price, condition, seller, location

Laptop showing financial graphs and analytics
Commerce

Price comparison and repricing

Turn competitor price snapshots into repricing inputs, assortment gaps, margin alerts, and market-position reports.

Useful fields: competitor, price, rank, availability, change

Growth

Find demand signals before they show up in your own analytics

Monitor search results, ads, competitor pages, business directories, hiring activity, and lead signals to see where attention is moving.

Laptop displaying analytics dashboard for SEO monitoring
Growth

SERP and SEO monitoring

Track ranks, snippets, ads, local packs, language, device, and geo differences to see how visibility changes in the real search surface.

Useful fields: rank, URL, snippet, ads, geo

Laptop open on a news or content page
Growth

Competitor content monitoring

Watch page changes, headings, CTAs, schema, internal links, and content inventory without waiting for manual audits.

Useful fields: heading, CTA, schema, links, updated text

Hands holding a phone with social media content
Growth

Ad intelligence

Collect public ad copy, creative patterns, landing pages, regions, timing, and advertiser activity for campaign research.

Useful fields: copy, creative, landing page, region, date

Business people exchanging documents in an office
Growth

Lead generation and company enrichment

Build account lists and enrich company records with domains, locations, industries, public contacts, hiring signals, and technology hints.

Useful fields: company, domain, industry, location, signals

Small local coffee shop storefront
Growth

Local business directory data

Collect names, categories, addresses, hours, websites, ratings, and review counts from public directory pages.

Useful fields: name, category, address, hours, rating

Office workers reviewing professional documents
Growth

Job market intelligence

Track job titles, skills, salary ranges, seniority, remote policies, and hiring velocity across career pages and job boards.

Useful fields: title, salary, skills, location, seniority

Voice

Turn public conversations into product and reputation signals

Collect reviews, media mentions, community discussions, public posts, and creator signals to understand what customers and markets are saying.

Person reading a newspaper while working on a laptop
Voice

News and media monitoring

Collect articles, authors, dates, topics, entities, links, and source metadata for reputation, research, and alerting workflows.

Useful fields: title, author, date, source, entities

People shopping and checking a smartphone together
Voice

Review and sentiment tracking

Capture rating trends, complaint themes, praise patterns, business responses, and product-location context from public reviews.

Useful fields: rating, review, theme, response, date

Person browsing a social media app on a smartphone
Voice

Social and public web monitoring

Monitor public posts, engagement, hashtags, timestamps, and profile context where policy and source access allow it.

Useful fields: post, engagement, hashtag, profile, time

Person reading news articles in a room
Voice

Community and forum intelligence

Find recurring questions, complaints, feature requests, and problem language from public communities and support forums.

Useful fields: question, topic, complaint, reply count, date

Workspace with laptop, coffee and newspaper
Voice

Creator and influencer discovery

Build discovery lists from public profile pages, content topics, audience hints, posting cadence, and collaboration signals.

Useful fields: profile, topic, audience signal, cadence, link

Records

Make public records and listings easier to monitor at scale

Extract tenders, legal notices, filings, financial data, and real estate listings into sourced datasets that teams can search, compare, and review.

Professionals exchanging business documents
Records

Public procurement and tenders

Track buyers, budgets, deadlines, requirements, attachments, awards, and changes across tender portals and public notices.

Useful fields: buyer, budget, deadline, requirements, award

Professionals discussing legal documents in an office
Records

Regulatory and legal monitoring

Monitor notices, public registers, effective dates, document versions, affected entities, and compliance-relevant changes.

Useful fields: notice, entity, date, document, status

Professionals reviewing financial documents
Records

Financial and public market research

Collect filings, disclosures, tables, news, instrument metadata, and public financial context for research pipelines.

Useful fields: filing, table, issuer, date, metric

House keys and cash for real estate market data
Records

Real estate listings and market data

Track listing prices, addresses, property attributes, agent details, status, history, and neighborhood context.

Useful fields: price, address, beds, agent, status

Data products

Build data products from scraped pages, not page dumps

Clean, normalize, validate, enrich, compare, and deliver public web data into databases, dashboards, alerts, and LLM pipelines.

Laptop screen with programming code
Data products

LLM-ready web data pipelines

Convert public pages into clean text, Markdown, chunks, metadata, citations, and freshness signals for retrieval or model workflows.

Useful fields: clean text, Markdown, chunk, source URL, timestamp

Data center server racks for database workflows
Data products

Structured extraction to database

Turn HTML, PDFs, tables, and page text into typed records that can be stored, queried, joined, and audited later.

Useful fields: JSON, type, source, schema, record ID

Laptop with coding and data analysis interface
Data products

Change detection and alerting

Compare snapshots and alert teams when prices, stock, rank, content, status, or regulatory language changes.

Useful fields: previous value, new value, delta, threshold, alert

Computer screen with colorful code and data
Data products

Entity enrichment and normalization

Normalize product IDs, company names, locations, people, categories, units, currencies, and taxonomy mappings.

Useful fields: entity, canonical ID, category, unit, confidence

Close-up of server rack with blue indicators
Data products

Data quality validation

Check required fields, data types, ranges, duplicates, source evidence, and suspicious records before downstream use.

Useful fields: required field, type, range, evidence, confidence

Laptop with code editor for data reporting feed
Data products

Reporting and dashboard feeds

Feed BI dashboards, market reports, operating scorecards, and recurring analyses with web data that refreshes on schedule.

Useful fields: metric, dimension, period, source, refresh

Why scrape stock pages

Availability checks need evidence, not just a fragile label

A public product page can change by variant, country, seller, store, device, cookie state, or frontend timing. Capturing the whole page state gives downstream monitors a stronger foundation for alerts.

  • Fill gaps left by APIsMany sources expose useful public pages but no complete API for the exact fields, geos, filters, or histories a team needs.
  • Monitor change over timeRecurring scrapes create a history of prices, content, availability, ranks, reviews, notices, and market movement.
  • Compare across sourcesScraping makes cross-site comparison possible when marketplaces, directories, portals, and publishers structure data differently.
  • Create usable recordsThe useful output is not a page dump; it is a sourced, timestamped, normalized record that downstream systems can trust.
ScraperFly fit

One capture layer for product pages that behave differently

ScraperFly helps teams keep easy targets lightweight while adding rendering, sessions, headers, routing, or screenshots only where availability evidence proves those controls matter.

One API for varied sources

Use the same integration pattern across stores, search pages, directories, documents, public listings, and data-product pipelines.

Delivery controls when needed

Rendering, sessions, headers, geo, and proxy routing can be added for targets that need them without rebuilding the workflow.

Output that supports post-processing

HTML, screenshots, clean text, Markdown, and structured extraction paths help teams move from page retrieval to usable records.

Less scraping infrastructure to own

Teams can focus on fields, validation, freshness, and business logic instead of browser fleets, routing edge cases, and retry plumbing.

Stock target behavior

Check variants, sellers, location, and page state before trusting stock alerts

Stock pages can vary by size, color, seller, warehouse, country, language, cookie state, device, promotion, JavaScript timing, and removed-product behavior. Monitoring accuracy depends on preserving that context.

Raw HTML response mapped to visible page data
01

Raw HTML availability

Check whether the fields you need are already present in the first HTML response.

Best first test for simple pages, articles, docs, listings, and product details.

Before and after JavaScript rendering comparison
02

JavaScript dependency

Compare raw HTML with the rendered DOM or screenshot before turning on browser rendering.

Use rendering when raw HTML is only a shell and scripts create the useful content.

Cookies, consent, session and access context for scraping
03

State & access context

Identify whether cookies, consent, login boundaries, pagination, or the same visitor state affect the response.

Use sessions and headers when continuity changes the data you receive.

Regional content variations across countries and routes
04

Geo/content variation

Test whether country, language, currency, inventory, SERP, ads, or route reputation changes the result.

Use geo or premium routing only when the target proves the response varies by route.

Questions that protect stock monitoring accuracy

Where is the target field?

Find whether the field exists in raw HTML, rendered DOM, an API call, structured data, a file, or a later interaction state.

What changes the response?

Sample a few URLs and compare status, final URL, content length, redirects, empty states, and visible result differences.

What context is required?

Mark any dependency on consent, locale, cookies, headers, authentication boundary, pagination, filters, or previous requests.

What does failure look like?

Define the signals for blocked, partial, stale, redirected, empty, timed-out, or region-mismatched responses before scaling.

What changes in the request profile

Fetch mode

Raw HTML availability decides whether the first request can stay simple or needs rendering, waits, screenshots, or extraction.

Request context

State requirements decide whether to add headers, cookies, sessions, consent handling, or a stable visitor profile.

Routing choice

Geo and reputation findings decide whether standard routing is enough or a country/premium route is justified.

Validation rules

Known failure states become checks for retries, escalation, QA review, and deciding when a lighter profile is still complete.

Stock request builder

Build repeatable availability checks with the output format each alert needs

Use HTML for custom parsers, text or Markdown for readable review, JSON metadata for diagnostics, and screenshots when stock state or variant selection needs visual confirmation.

HTML
Raw response

Raw HTML for parsers and crawlers

Use the fastest path for static pages, listings, docs, and product pages. Fetch the original source HTML first, then switch on browser rendering when JavaScript creates the markup your scraper needs.

format=htmlrender=falserender=true
TXT
Clean data

Text, Markdown, and JSON

Skip the cleanup layer after page access. Return readable text for agents, Markdown for prompts and RAG, or structured JSON with metadata, links, headings, clean text, and Markdown ready for your pipeline.

format=textformat=markdownformat=json
PDF
Visual files

Screenshots and PDFs

Capture what a real browser sees when you need QA evidence, archived proof, visual regression checks, downloadable reports, or shareable page records for customers and internal teams.

format=screenshotformat=pdfdownload

Controls that keep requests predictable

url

The target page to fetch, render, clean, or capture.

format

Select the response your product needs: html, text, markdown, json, screenshot, or pdf.

premium

Escalate to stronger routing for blocks, unstable targets, or geo-sensitive content.

render

Run Chromium for SPAs, JS-injected markup, screenshots, PDFs, and browser-only pages.

country

Request a country-specific route when content changes by location.

keep_headers

Forward selected request context such as user-agent, cookie, language, and referer.

render_wait

Give dynamic content a controlled extra wait before extraction or capture.

download

Return visual artifacts as downloadable files when the output is screenshot or PDF.

cURL example

Generate Markdown with the same request shape you can move into production

curl "https://scraperfly.com/api/v1?url=https%3A%2F%2Fexample.com&format=markdown" \
  -H "apikey: YOUR_API_KEY"

Availability recovery

Turn stock monitoring failures into clearer next actions

A missing product state is not always a stock change. It may be a redirect, an empty JavaScript shell, a regional mismatch, a rate limit, or a temporary store response. Treat those signals as evidence so alerts stay useful.

empty shell429redirectregion mismatch
Developer reviewing code and API request parameters on a laptop

01 / Request setup and access

Fix request mistakes first

Some failures are not target problems at all. They happen before ScraperFly can make a meaningful delivery attempt: a missing or malformed URL, an unsupported output format, an incompatible visual file type, a missing API key, an invalid key, or a key that has been paused or disabled. These errors are configuration signals, not retry signals: stop the workflow, point the developer to the exact field that needs correction, and keep credits focused on real target tests instead of repeated bad inputs.

missing_urlinvalid_urlunsupported_formatinvalid_api_key
  • Validate the URL and encoding before sending a batch.
  • Use supported outputs: HTML, text, Markdown, JSON, screenshot, or PDF.
  • Match screenshot file types to image output and PDF file type to PDF output.
  • Treat missing or invalid API keys as configuration work, not retry work.
Business dashboard with charts, documents and usage planning on a desk

02 / Credits, limits and concurrency

Separate limits from failures

A workload can fail because the account has no usable credits, the monthly plan limit has been reached, or concurrency is too aggressive for the current plan and target mix. ScraperFly makes those limits visible as operating signals, not mysterious scrape failures. That keeps the buying decision practical: start free, test the target, buy pay-as-you-go credits for uneven jobs, move to monthly credits when volume becomes predictable, and use backoff when request pressure is the real issue.

usage_limit_reachedrate_limitedcreditsbackoff
  • Use account status to check remaining credits before large runs.
  • Retry rate limits with backoff instead of immediately increasing pressure.
  • Keep one-off projects on pay-as-you-go when volume is uneven.
  • Move predictable recurring work to monthly credits when the pattern is proven.
Server room representing delivery paths, routing and network infrastructure

03 / Target delivery and network

Find delivery failures first

Many scraping platforms collapse delivery issues into a vague request failure. In production, that is not enough. The team needs to know whether the request timed out, the upstream target returned a temporary server error, the connection failed, the response was too large, redirects went somewhere unexpected, or the page came back as tiny HTML with no useful content. ScraperFly turns those failures into delivery evidence: try the light profile first, compare status and response size, then decide whether the next request needs backoff, another route, premium proxy, country targeting, or a narrower capture.

timeout5xxredirectsresponse_too_large
  • Retry temporary network and upstream failures with a controlled backoff policy.
  • Compare final URL, status, content type and response size across samples.
  • Escalate routing only when the response proves the simple path is unstable.
  • Treat oversized responses as a scope problem before scaling the same profile.
Digital security screen representing anti-bot and protected access signals

04 / Anti-bot, geo and access blocks

Read blocks before escalation

A target 403, 401, 429, CAPTCHA screen, WAF challenge, login wall, consent loop, or region-specific mismatch is not just an error; it is a clue about what the site expects from the visitor. Competitors often push teams toward a heavier default profile, but that can burn budget without proving the fix. ScraperFly's better path is evidence-based escalation: preserve realistic headers when context matters, use sessions when continuity changes the response, enable rendering when the useful content is browser-built, and choose premium or country routing when reputation or geography changes the result.

403429CAPTCHAcountry mismatch
  • Use premium routing when IP reputation is the proven bottleneck.
  • Use country targeting when language, currency, inventory or search results change by market.
  • Use headers, cookies and sessions when visitor state changes the response.
  • Reduce concurrency and add backoff when repeated requests trigger target throttling.
Developer preparing code and output artifacts on a laptop

05 / Rendering and output quality

Ship usable artifacts

A 200 status is not the same thing as a usable scrape. The raw HTML can be an empty app shell, Markdown can miss the main article, JSON can lack expected metadata, text can include noise, screenshots can be blank, and PDF or image output can fail if the browser step times out. ScraperFly is valuable because the same API request can move from raw HTML to rendered DOM, clean text, Markdown, JSON, screenshot or PDF, then be checked against the artifact your product actually needs. That reduces glue code, failed imports, and expensive batch runs that only discover bad output after the fact.

render_timeoutbrowser_render_failedJSON fieldsPDF/image output
  • Enable rendering when raw HTML is only a shell and the useful content appears after JavaScript.
  • Validate text, Markdown and JSON against expected fields before batching.
  • Use screenshot or PDF output when visual proof or audit evidence matters.
  • Treat blank or partial artifacts as quality failures even when HTTP status is successful.

Stock FAQ

Common questions about stock availability monitoring workflows

Practical answers for teams using public product pages as source evidence for availability checks, restock review, and monitoring workflows.

Stock answers
Signals

Stock status evidence

Questions about what the page actually says before an alert is created.

Can ScraperFly decide whether a product is in stock?

ScraperFly captures the public page evidence. Your application should interpret stock status, variants, thresholds, and alert rules.

Why is one stock label not enough?

Availability can depend on variant, seller, delivery method, store, country, or selected option. The surrounding page evidence makes the signal easier to trust.

Context

Variants and regions

Questions about pages that change by store, market, or selected product option.

When does country routing matter?

Use it when public availability, currency, delivery, language, or storefront content changes by region and the monitor needs a specific market view.

When do sessions help?

Sessions help when store choice, consent state, cookies, or a previous public step changes the availability response.

Output

Formats for monitoring

Questions about choosing machine-readable and visual evidence.

Which output should a parser use?

Start with HTML or rendered HTML when selectors and page structure matter. Use text or Markdown for review and screenshots or PDFs for visual proof.

Should every alert store a screenshot?

Usually no. Store visual proof for disputed changes, QA samples, approvals, or high-value events where a human may need to verify what the page showed.

Operations

Retries and cost control

Questions about scaling recurring checks without making every request heavy.

Should every product page use rendering?

No. Compare source HTML first and enable rendering only when JavaScript creates the availability evidence your workflow needs.

How do teams avoid false alerts?

Keep request profiles consistent, store response evidence, sample representative pages, use bounded retries for temporary failures, and separate capture from stock interpretation.