AI Web Data Extractor (Your Own LLM Key, JSON Schema) avatar

AI Web Data Extractor (Your Own LLM Key, JSON Schema)

Pricing

from $10.00 / 1,000 page extracteds

Go to Apify Store
AI Web Data Extractor (Your Own LLM Key, JSON Schema)

AI Web Data Extractor (Your Own LLM Key, JSON Schema)

Turn any web page into clean JSON. Give URLs plus a field list or JSON Schema; your own OpenAI, Groq, OpenRouter, Anthropic or OpenAI-compatible key does the reading. Schema-validated output, robots.txt respected. $0.01 per page.

Pricing

from $10.00 / 1,000 page extracteds

Rating

0.0

(0)

Developer

Gigsmith

Gigsmith

Maintained by Community

Actor stats

0

Bookmarked

1

Total users

0

Monthly active users

a day ago

Last modified

Features

Limited permissions

Share

AI Web Data Extractor: turn any web page into JSON with your own LLM key

AI Web Data Extractor reads the web pages you give it and returns exactly the fields you ask for as clean, validated JSON. List the fields in plain English (or paste a JSON Schema), add your own OpenAI, Groq, OpenRouter, Anthropic or any OpenAI-compatible API key, and get one dataset row per page. It costs $0.01 per page, a third of the price of comparable AI scrapers, with no start fee.

No CSS selectors and no code to maintain when a site changes its layout. You describe the data, the model reads the page, and the Actor checks every answer against your schema before you pay for it.

What can this AI web scraper do?

  • 🧠 Structured extraction from any page: product details, prices, job posts, events, company facts, contact details, article metadata, real-estate listings and more
  • 🧾 Your schema, enforced: write fields like price (number): price in USD, or paste a full JSON Schema. Every answer is validated, retried once if it doesn't fit, and never charged if it still fails
  • 📋 List mode: one page in, many records out (all products on a category page, all jobs on a careers page) as data.items
  • 🔑 Bring your own model: OpenAI, Groq, OpenRouter, Anthropic Claude, or any OpenAI-compatible API (Together, DeepSeek, Mistral, Fireworks, local gateways). Your provider bills your key directly for tokens, so you control model choice and cost
  • 🧹 Token-efficient page cleaning: scripts, styles and boilerplate are removed; headings, lists, tables, links, image alt text and JSON-LD structured data are kept
  • 🤝 Polite by default: respects each site's robots.txt, waits between requests to the same site, and honours Crawl-delay
  • 💸 Fair billing: pages that fail to load, are blocked by robots.txt, have no text, or produce an invalid answer are reported in the dataset and not charged

Who uses AI web data extraction?

  • AI and data teams feeding clean JSON into RAG pipelines, agents and databases
  • E-commerce and pricing analysts pulling product names, prices and stock from competitor pages
  • Recruiters and sales ops turning careers pages, directories and company pages into rows
  • No-code builders using Make, Zapier or n8n who need structured data without writing a scraper

How to extract data from a website with AI

  1. Click Try for free.
  2. Paste page links into Start URLs.
  3. Under Fields to extract, write one field per line, for example title, price (number): price in USD, inStock (boolean). Or paste a JSON Schema for full control.
  4. Pick your LLM provider, paste your LLM API key, and optionally choose a Model.
  5. Click Start. Each page becomes one row in the Output tab, downloadable as JSON, CSV or Excel, or readable through the Apify API.

Input example

{
"startUrls": [{ "url": "https://books.toscrape.com/catalogue/a-light-in-the-attic_1000/index.html" }],
"fields": [
"title",
"price (number): price as a number without the currency sign",
"currency: ISO code such as GBP or USD",
"inStock (boolean)",
"availableCount (integer): number of copies available"
],
"llmProvider": "groq",
"llmApiKey": "<your key>",
"model": "llama-3.3-70b-versatile"
}
FieldWhat it does
startUrlsPages to extract from. Each URL is fetched once; there is no crawling
fieldsOne field per line: name, name: description or name (type): description. Types: string, number, integer, boolean, url, string[], number[], url[]
jsonSchemaOptional JSON Schema ("type": "object"). Replaces fields
extractListReturn every matching record on the page as data.items
instructionsPlain-English hints for the model
llmProvideropenai, groq, openrouter, anthropic or custom
llmApiKeyYour own key (stored encrypted, never logged or saved to the dataset)
modelOptional. Defaults: gpt-4o-mini, llama-3.3-70b-versatile, openai/gpt-4o-mini, claude-haiku-4-5
llmBaseUrlFor custom: an OpenAI-compatible base URL such as https://api.together.xyz/v1
maxContentCharsCap on page characters sent to the model (default 40,000) to control token cost
includeLinksKeep link and image URLs in the text the model sees (default on)
includePageTextAdd the cleaned text the model saw, for auditing answers
maxPages, maxConcurrency, requestDelaySecsRun size, parallelism and per-site delay

Output example

Illustrative output for the input above (the values are the ones shown on that page):

{
"url": "https://books.toscrape.com/catalogue/a-light-in-the-attic_1000/index.html",
"finalUrl": "https://books.toscrape.com/catalogue/a-light-in-the-attic_1000/index.html",
"httpStatus": 200,
"status": "ok",
"error": null,
"data": {
"title": "A Light in the Attic",
"price": 51.77,
"currency": "GBP",
"inStock": true,
"availableCount": 22
},
"pageTitle": "A Light in the Attic | Books to Scrape - Sandbox",
"contentChars": 5210,
"contentTruncated": false,
"llmProvider": "groq",
"model": "llama-3.3-70b-versatile",
"processingSeconds": 2.1
}

Rows that fail have "status": "error" and a plain-English error, for example "Blocked by the site's robots.txt, so the page was not fetched". When an answer doesn't match the schema, the row also carries schemaErrors and rawOutput so you can adjust your fields. The run's OUTPUT record holds a summary with counts, charged events and your total LLM token usage.

How much does AI web extraction cost?

This Actor uses pay-per-event pricing. You pay only for pages turned into valid JSON.

EventPriceWhen it's charged
page-extracted$0.01Once per page whose answer passed your schema
  • No monthly rental and no start fee beyond Apify's standard run-start event of $0.00005 per run. Apify platform usage is included in the price.
  • 1,000 pages cost $10. Your LLM provider bills your own key for tokens separately; with a small model such as gpt-4o-mini or Groq's Llama models that is typically a fraction of a cent per page.
  • Failed, blocked and invalid pages are not charged.
  • Set Max charge per run in the run options to cap your spend. When it's reached, the remaining pages are marked skipped, free of charge.

Tips for accurate extraction

  • Describe each field: price (number): the sale price, not the crossed-out price beats price.
  • Use List mode for category, search and directory pages.
  • If a field is often empty, add an Extra instruction saying where it appears on the page.
  • Pages that build their content with JavaScript may show little text in their HTML. Check includePageText on one page to see what the model receives.
  • Lower maxContentChars for long pages if the data you need is near the top, to save tokens.

FAQ

Which LLM should I use? Start with the default for your provider. Small, fast models handle most product and listing pages. Use a larger model for messy pages or long lists.

Is my API key safe? The key field is marked secret, so Apify stores it encrypted. The Actor sends it only to the provider you chose and removes it from any error message before logging.

Does it render JavaScript? Not in this version. It reads the HTML the server returns, including embedded JSON-LD. Most product, article and listing pages work; single-page apps that load everything client-side may not.

Does it crawl a whole site? No. It extracts from the URLs you give it. Combine it with a sitemap or link-list Actor to build the URL list.

Is it legal to scrape these pages? You choose the pages, so check that their terms allow automated access. The Actor follows robots.txt and rate-limits every site.

Something went wrong? Open an issue on the Issues tab with the run link and I'll fix it.

Keywords

AI web scraper, AI data extraction, LLM scraper, web page to JSON, structured data extraction, GPT web scraper, Claude web scraper, Groq scraper, OpenAI scraper, JSON schema extraction, no-code scraper, product data extraction, AI crawler, extract data from website


Made by Gigsmith.