AI Web Scraper: Extract Structured Data from Any Website avatar

AI Web Scraper: Extract Structured Data from Any Website

Pricing

Pay per event

Go to Apify Store
AI Web Scraper: Extract Structured Data from Any Website

AI Web Scraper: Extract Structured Data from Any Website

AI web scraper that turns any web page into clean JSON. Describe the fields in plain English ("product name, price, in stock") or paste a JSON schema; an LLM (Claude or GPT, your own API key) extracts them from each page. Works on product lists, job posts, articles and business pages.

Pricing

Pay per event

Rating

0.0

(0)

Developer

DailyPals Lab

DailyPals Lab

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

2 days ago

Last modified

Features

Limited permissions

Share

AI Web Scraper: Extract Structured Data from Any Website to JSON

Turn any web page into clean, structured JSON with AI. Paste page URLs, say what you want in plain English ("product name, price, currency, in stock, rating") or paste a JSON schema, and an LLM (Anthropic Claude or OpenAI GPT, with your own API key) reads each page and returns exactly those fields. No CSS selectors, no XPath, no scraper code to maintain when the site changes.

  • 🧠 LLM data extraction: describe fields in plain English or give an exact JSON schema
  • 📋 Lists or single records: "all products on this page" returns an array; a product page returns one object
  • 🧹 Clean input for the model: pages are converted to compact Markdown (menus, footers, cookie banners, scripts and ads removed) and cut to your token budget, so you pay your LLM for content, not boilerplate
  • 🚫 No made-up values: missing fields come back as null, types are checked (numbers are numbers, booleans are booleans)
  • 🔗 Optional same-site crawl: follow links from your pages (respects robots.txt and its crawl delay)
  • 🔑 Bring your own key: Claude (default claude-haiku-5-5) or GPT (default gpt-5.4-mini), any model your key can use
  • 🆓 Free Demo mode: no key needed to try it. You get the cleaned Markdown of each page plus a suggested schema, and nothing is charged

What can you use this AI web scraper for?

  • E-commerce and price monitoring: product name, price, currency, availability, rating and URL from category pages or product pages of any shop.
  • Job posts: title, company, location, salary range, remote flag and apply link from careers pages and job boards.
  • Business directories and company pages: company name, address, opening hours, main phone, website, services. Business information only: see Responsible use.
  • Real estate, events, recipes, reviews: price, size, date, venue, ingredients, average rating... any field you can name.
  • News and articles: headline, publish date, summary, topics.
  • AI agents and RAG: website to JSON or website to Markdown in one step, through the Apify API or MCP server.

How to use it

  1. Add one or more page URLs.
  2. Describe what to extract, e.g. For every product: name, price, currency, in stock, rating, product URL. Words like every, all or each switch on list mode. Or paste a JSON schema for exact field names and types.
  3. Choose your AI provider and paste your API key (from console.anthropic.com or platform.openai.com). Leave the model empty for the low-cost default.
  4. Click Start. Download the results as JSON, CSV or Excel, or get them via API, webhook, Zapier, Make or Google Sheets.

When you use a plain-English description, the Actor first makes one small LLM call to turn it into a JSON schema. That schema is saved in the run's SUMMARY record (jsonSchema), so you can copy it into the JSON schema field next time for stable field names across runs.

Demo mode (no API key)

With provider Auto and no key (the default), or provider Demo, the Actor does everything except the AI call: it fetches each page, returns the cleaned Markdown that the model would receive (markdown field) and puts a suggested schema built from your description in SUMMARY. Demo runs are free (no events charged). Use it to check that a site can be read before you spend tokens.

Input example

{
"urls": ["https://books.toscrape.com/"],
"extractionPrompt": "For every book on the page: title, price, currency, in stock, star rating, product URL",
"provider": "anthropic",
"apiKey": "sk-ant-...",
"listMode": "auto",
"maxCharsPerPage": 40000
}

With an exact schema instead (shorthand {"field": "type"} works too):

{
"urls": ["https://example.com/careers/senior-data-engineer"],
"jsonSchema": {
"type": "object",
"properties": {
"jobTitle": { "type": "string" },
"location": { "type": "string" },
"remote": { "type": "boolean" },
"salaryMin": { "type": "number" },
"salaryMax": { "type": "number" },
"salaryCurrency": { "type": "string" },
"applyUrl": { "type": "string" }
}
},
"provider": "openai",
"apiKey": "sk-..."
}

For list pages, use an array schema ({"type": "array", "items": {...}}) or set Records per page to List.

Output example

One row per page:

{
"url": "https://books.toscrape.com/",
"title": "All products | Books to Scrape - Sandbox",
"data": [
{ "title": "A Light in the Attic", "price": 51.77, "currency": "GBP", "inStock": true, "starRating": 3, "productUrl": "https://books.toscrape.com/catalogue/a-light-in-the-attic_1000/index.html" },
{ "title": "Tipping the Velvet", "price": 53.74, "currency": "GBP", "inStock": true, "starRating": 1, "productUrl": "https://books.toscrape.com/catalogue/tipping-the-velvet_999/index.html" }
],
"itemCount": 20,
"fieldsFound": 6,
"provider": "anthropic",
"model": "claude-haiku-5-5",
"inputTokens": 2650,
"outputTokens": 1900,
"markdownChars": 8355,
"truncated": false,
"warnings": [],
"error": null,
"extractedAt": "2026-11-22T12:00:00.000Z"
}
  • data: an object (one record per page) or an array (list mode). Fields not found on the page are null.
  • fieldsFound: how many schema fields have a value (list mode: fields found in at least one item).
  • inputTokens / outputTokens: what your LLM provider bills you for this page.
  • warnings: values the model returned that did not match the type (they are set to null rather than guessed).
  • error: why a page failed (HTTP error, no readable text, model error). Failed pages are not charged.
  • Turn on Include page Markdown to also get the cleaned markdown that was sent to the model.

The SUMMARY record has the schema used (jsonSchema), total tokens, pages OK/failed, pages skipped by robots.txt, and whether the cost limit stopped the run.

Pricing

Pay per event, no monthly fee:

EventPrice
page: each page fetched and extracted successfully$0.002

That is $2 per 1,000 pages, plus your own LLM provider's token cost (billed by Anthropic or OpenAI to your key). Demo runs and failed pages are free. Set Max cost per run in the run options and the Actor stops cleanly before going over it; Max pages caps a run too.

Typical LLM cost per page with the defaults: a product list page of ~8,000 characters is about 2,500 input tokens; a long article capped at 40,000 characters is about 10,000. With small models (Claude Haiku, GPT mini) that is usually a fraction of a cent per page. Lower Max characters per page to spend less on long pages.

FAQ

Do I need my own API key? Yes, for AI extraction: an Anthropic or OpenAI key. Without one, the Actor runs in free Demo mode (cleaned Markdown + suggested schema, no AI).

Is my API key safe? The key field is a secret input: Apify stores it encrypted and hides it in the run's input. The Actor uses it only to call your provider during that run, never logs it, and never writes it to the results or the SUMMARY. You can create a dedicated key with a spending limit in your provider's console and revoke it at any time.

What will my LLM provider charge? Their normal per-token price for the model you choose. Each row shows inputTokens and outputTokens, and SUMMARY shows the run total (including the one small schema-generation call when you use a plain-English description).

Which model should I use? The defaults (claude-haiku-5-5, gpt-5.4-mini) are fast and cheap and handle most pages. For very long or messy pages, or many items per page, try a larger model such as claude-sonnet-5-5 or gpt-5.5 in the Model field.

Does the AI make up data? It is instructed to use only what is on the page and to return null for anything missing, and every value is type-checked afterwards. Always spot-check results for important uses.

Does it work on JavaScript-heavy sites? This version reads the HTML the server sends (fast and cheap). Pages that build their content only in the browser come back with an error such as "Page has no readable text". Use Demo mode to check a site first.

How do I crawl a whole site? Turn on Follow links on the same website and set Max pages. Links in the main content are followed first, robots.txt rules and crawl delays are respected, and login, cart and file links are skipped.

Can I call it from code or an AI agent? Yes: the Apify API, JavaScript/Python clients, the CLI, the Apify MCP server, or Make/Zapier/n8n integrations.

Responsible use

Use this tool for public, non-personal information: products, prices, jobs, articles, and business details such as a company's name, address, opening hours and main contact channels. Don't use it to collect personal data about individuals (private emails, phone numbers, profiles), don't bypass logins or paywalls, and follow each website's terms and applicable laws such as the GDPR and CCPA. The Actor only visits the URLs you give it (and, if you enable crawling, same-site links allowed by robots.txt).

Support

Found a page that doesn't extract well, or need a feature (JavaScript rendering, more providers)? Open an issue on the Issues tab with the URL and your input. Made by Daily Pals Labs.