AI Document & Web Analyzer — powered by Claude avatar

AI Document & Web Analyzer — powered by Claude

Pricing

from $1.50 / 1,000 own-key analyzed items

Go to Apify Store
AI Document & Web Analyzer — powered by Claude

AI Document & Web Analyzer — powered by Claude

Run Claude on pages, PDFs, images, texts or any Apify dataset: several tasks per run, extraction to your JSON schema, cited evidence with verified quotes, exact dataset statistics, dedupe, trends and anomalies without AI cost. Cheapest model by default (Haiku 5.5). Not affiliated with Anthropic.

Pricing

from $1.50 / 1,000 own-key analyzed items

Rating

0.0

(0)

Developer

Badr Bouargan

Badr Bouargan

Maintained by Community

Actor stats

0

Bookmarked

1

Total users

1

Monthly active users

2 days ago

Last modified

Features

Limited permissions

Share

What is AI Document & Web Analyzer for Claude?

AI Document & Web Analyzer runs Anthropic Claude models on web pages, PDFs, Word files, images, texts and Apify datasets, so you can turn them into structured rows with summaries, fields, labels and cited answers. You use your own Anthropic API key, and every row shows its tokens and its cost at Anthropic list prices.

  • Analyze many source types: web pages, PDF (up to 100 MB), DOCX, TXT, MD, CSV, images and the dataset of any other Apify Actor.
  • Run several tasks in one run: up to 20 tasks, such as summarize, extract with your JSON Schema, classify, Q&A, key facts, compare, contradictions, synthesis and reports.
  • Get evidence you can check: conclusions cite quotes, each quote is checked against your input (verified: true/false), and the evidence task uses Claude Citations with page or character locations.
  • Compute exact statistics: the analytics task lets Claude's code execution tool calculate numbers on your dataset rows.
  • Use data tasks with no AI call: profile, clean, dedupe, cluster, trends, anomalies and align on Apify datasets, no Anthropic key needed.
  • Pay less on big jobs: Message Batches (50 % cheaper tokens), a 1-hour prompt cache, and Haiku 5.5 as the default model.
  • Keep costs under control: estimate-only runs, an AI cost cap (maxCostUsd), token limits.

Who uses it: analysts summarizing reports and web pages, operations teams extracting fields from invoices or contracts, marketers classifying reviews scraped with other Actors, and data teams cleaning and deduplicating datasets.

It uses the official Anthropic Messages API with your key. The default model is claude-haiku-5-5, the cheapest current Claude model (USD 0.10 / 0.50 per 1M input / output tokens).

Independent product, not affiliated with or endorsed by Anthropic. "Claude" is named only to say which models the Actor uses.

What data can you extract with Claude?

One dataset row per item (single task) or per task result (task list).

FieldDescriptionExample
📄 source, sourceTypeThe item analyzedtext #1, text
🧩 task, taskId, taskTypeThe task that produced the rowsummarize
📝 title, summary, keyPointsSummary task output"New opening hours from 1 March…"
🧱 resultYour outputSchema fields, answers or task result{"total": 1250.5, "total_currency": "USD"}
🏷️ labels, entities, importantInfoLabels, people, organisations, dates, amounts, deadlines[{"label": "family-friendly"}]
🔍 evidenceConclusions with quotes, verified flags and a computed confidence"confidenceBasis": "1/1 quotes verified"
🤖 model, analysisLevel, effortModel, level and Claude effort settingclaude-haiku-5-5, quick, low
🔢 tokens, costUsd, estimateTokens reported by Anthropic, cost at list price, or the estimate of an estimate-only row{"input": 812, "output": 233}
⚠️ warnings, error, errorCodeNotes and the error code of a failed itemrefusal
TaskAI call?Result
summarize, extract, classify, analyze, detect_key_info, report, custom, qayesOne row per item
compare, contradictions, missing_info, synthesis, evidence, analyticsyesOne row across sources
profile, clean, dedupe, cluster, trends, anomalies, alignnoDeterministic code on dataset rows

Extraction reads prices, amounts and dates from the exact source text. An ambiguous date such as 03/04/2026 is never guessed: it becomes null and keeps its _raw text. Duplicates found by dedupe are only marked, never removed.

How to analyze documents with Claude

What you need

This Actor needs your own Anthropic API key (bring your own key). Anthropic bills you the tokens directly.

  1. Sign in to the Anthropic Console at platform.claude.com and add credit in Billing.
  2. Open API keys and create a key. It starts with sk-ant-.
  3. Set a spend limit for your Anthropic organization.
  4. Copy the key once; it is not shown again.

The key goes in the Anthropic API key field, which is a secret input encrypted by Apify. It is never logged, stored in the output or shown, and anything that looks like a key is removed from messages, rows and reports.

Without a key, AI tasks only estimate: each item gets a row with its estimated input tokens and AI cost, and no text is sent to Claude. Data tasks still run in full. No analysis is charged; only Apify's Actor start event ($0.00005) applies.

Steps

  1. Click Try for free on this page, or create a free Apify account.
  2. Paste your key in Anthropic API key.
  3. Add web pages, texts, document URLs, image URLs or an Apify dataset.
  4. Pick the task and the analysis level (standard by default; quick is cheapest), and click Start.
  5. Download your data as JSON, CSV, Excel or HTML, or open the visual report.

Try it free: run the prefill without a key. It summarizes one short text in estimate mode. On Nov 24, 2026 it estimated 1,578 input tokens and about $0.0008 of Claude cost (worst case $0.0042), with no AI call.

How much does it cost to analyze documents with Claude?

You pay Apify a fee per analyzed item, the same on every Apify plan. Anthropic bills your key for the tokens.

EventPricePer 1,000
Item analyzed, quick (1 unit)$0.0015$1.50
Item analyzed, standard (2 units)$0.003$3.00
Item analyzed, deep (4 units)$0.006$6.00
Item analyzed, expert (8 units)$0.012$12.00
Data row (all data tasks together, once per run)$0.0002$0.20
Batch status check (only when a batch is not ready)$0.0013–
Actor start$0.00005–

Each unit includes 1,250 output tokens (thinking included). A longer answer adds 1 unit per started 1,250 output tokens: a deep answer of 6,000 tokens is 5 units, or $0.0075. A multi-source task (compare, synthesis, analytics, evidence over all sources) counts as one item.

The Apify Free plan gives you $5 of platform credit each month. That covers about 3,300 quick items or 1,600 standard items a month in item fees.

Anthropic list prices per 1M tokens (checked Nov 10, 2026; your Anthropic invoice is the reference):

modelInput / output1-hour cache write / read
claude-haiku-5-5 (default)$0.10 / $0.50 (above 100K-token prompts: $0.50 / $2.50)$0.20 / $0.01
claude-sonnet-5-5 (deep default)$2 / $10$4 / $0.10
claude-opus-5-5 (expert default)$4 / $20$8 / $0.20
claude-fable-5-2$8 / $40$16 / $0.20
claude-fable-5-1$10 / $50$20 / $0.25

Examples:

  • 1,000 short reviews classified at quick with Haiku 5.5: $1.50 to Apify plus about $0.17 to Anthropic (list-price estimate from benchmark token counts).
  • 2,500 dataset rows with profile, clean and dedupe: $0.50, no Anthropic cost.

Never charged: failed items, refusals, cut answers, estimate rows, items not processed after a stop, and refused runs. Set Maximum cost per run in the run options, and maxCostUsd for the Anthropic side.

Not available yet: a managed-key mode (paying tokens through Apify). An input with "apiKeyMode": "managed" is refused before any call, and nothing is analyzed or charged.

⬇️ Input

The prefill (no key: estimate only):

{
"texts": ["Our new opening hours start on 1 March: Monday to Friday 8:00-21:00, Saturday 9:00-18:00. The late fee rises from 0.20 to 0.30 per day. A study room with 40 seats opens on the second floor and can be booked online up to 7 days ahead."],
"task": "summarize",
"analysisLevel": "quick",
"maxItems": 10
}

A task list on a Google Maps dataset:

{
"datasetIds": ["<dataset of a Google Maps run>"],
"datasetFields": ["title", "categoryName", "city", "phone", "website", "totalScore", "reviewsCount"],
"tasks": [
{"id": "dupes", "type": "dedupe", "options": {"nameFields": ["title"], "phoneFields": ["phone"], "urlFields": ["website"]}},
{"id": "segments", "type": "classify", "options": {"labels": ["premium", "budget", "family-friendly"], "multiLabel": true}},
{"id": "stats", "type": "analytics", "options": {"question": "Median rating and review count per category?"}}
],
"apiKey": "sk-ant-..."
}
FieldWhat it does
startUrls, texts, documentUrls, imageUrls, datasetIds, datasetFieldsSources.
task, instructions, outputSchema, labelsSingle-task mode.
tasksTask list, up to 20 (overrides task).
analysisLevelquick (Haiku, effort low), standard (default), deep (Sonnet, 2 passes), expert (Opus, 3 passes, evidence required).
modelOverrides the level's model.
batchMode, batchReceiptMessage Batches: submit now, collect later with the signed receipt (from 20 items).
dataIntelligence, dedupeModeAI-free data tasks; up to 100,000 rows (512 MB up to 10,000 rows, 1 GB up to 50,000, 4 GB up to 100,000).
followLinksReads up to 10 links per dataset row.
maxItems, maxCostUsd, maxTotalTokens, estimateOnlyLimits and guards (0 = no limit).
apiKeyYour Anthropic key, a secret input.

The input form of the run shown below:

AI Document & Web Analyzer input form in Apify Console: one text to analyze, other source types empty

Real run Am9Os0WWB4JqmiBo3 · Nov 24, 2026 · prefill: 1 text, summarize, quick, no key (estimate only)

⬆️ Output

Each run saves a dataset and a visual report. You can download your data as JSON, CSV, Excel, XML or HTML, or read it through the API. The row of the run below, shortened (estimate only, no AI call):

{
"source": "text #1",
"sourceType": "text",
"task": "summarize",
"model": "claude-haiku-5-5",
"analysisLevel": "quick",
"effort": "low",
"summary": null,
"tokens": { "input": 0, "cachedInput": 0, "output": 0 },
"costUsd": 0,
"billedEvents": {},
"keyMode": "own_key",
"estimate": { "inputTokens": 1578, "method": "heuristic", "typicalOutputTokens": 1200,
"estimatedCostUsd": 0.000758, "worstCaseCostUsd": 0.004158 },
"error": null
}

With your key, a classify row from a task list looks like this (illustrative values):

{
"taskId": "segments", "taskType": "classify", "model": "claude-haiku-5-5",
"labels": [{"label": "family-friendly", "basis": "kids menu, play area"}],
"evidence": {"conclusions": [{"claim": "Targets families",
"sources": [{"itemId": "DS#4", "quote": "kids menu and a play area", "verified": true}],
"confidence": 1.0, "confidenceBasis": "1/1 quotes verified"}]},
"modelReportedConfidence": 0.8,
"tokens": {"input": 812, "cachedInput": 1204, "output": 233},
"costUsd": 0.000209, "billedEvents": {"item-analyzed": 2}
}

confidence is computed by the Actor from verified quotes and pass agreement; modelReportedConfidence is Claude's own estimate, kept apart.

The visual report of the same run:

AI Document & Web Analyzer visual report: 1 text item, estimate only, 1,578 estimated input tokens, about $0.0008 at list prices

Real run Am9Os0WWB4JqmiBo3 · Nov 24, 2026 · prefill without a key: visual report, estimate only

The key-value store also holds REPORT (HTML), RUN_SUMMARY, FAILED_INPUTS, and when used INTEL_REPORT / INTEL_REPORT_MD (findings, sources, limitations), CLEANED_<taskId>, MARKED_<taskId> and BATCH_RECEIPT.

Integrations and API

You can start runs and read results from code with the apify-client package (npm, PyPI). The full reference is in the Apify API docs.

Python:

from apify_client import ApifyClient
client = ApifyClient("YOUR_APIFY_TOKEN")
run = client.actor("badr_xba/ai-document-web-analyzer-claude").call(run_input={
"texts": ["Arrived late but support was great."],
"tasks": [{"type": "classify", "options": {"labels": ["positive", "negative", "mixed"]}}],
"apiKey": "YOUR_ANTHROPIC_API_KEY",
})
for row in client.dataset(run["defaultDatasetId"]).iterate_items():
print(row["taskType"], row.get("labels"), row.get("evidence"))

JavaScript:

import { ApifyClient } from 'apify-client';
const client = new ApifyClient({ token: 'YOUR_APIFY_TOKEN' });
const run = await client.actor('badr_xba/ai-document-web-analyzer-claude').call({
datasetIds: ['YOUR_DATASET_ID'],
tasks: [{ type: 'profile' }, { type: 'dedupe' }],
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();

cURL (runs the Actor and returns the rows in one call):

curl -X POST "https://api.apify.com/v2/acts/badr_xba~ai-document-web-analyzer-claude/run-sync-get-dataset-items?token=YOUR_APIFY_TOKEN" \
-H "Content-Type: application/json" \
-d '{"texts": ["Invoice 1043, total 1,200 USD, due 30 March 2026."], "task": "extract", "apiKey": "YOUR_ANTHROPIC_API_KEY"}'

Other ways to connect it:

  • Chain it after a scraper: in the scraper's Integrations tab, connect this Actor with {"datasetIds": ["{{resource.defaultDatasetId}}"]}.
  • Make, n8n and Zapier: send the summaries or extracted fields to Google Sheets, Slack or your CRM.
  • Webhooks: trigger an action when a run ends (docs).
  • Schedules: collect Message Batches results every 30 minutes with the receipt as input (docs).
  • MCP: add https://mcp.apify.com/?actors=badr_xba/ai-document-web-analyzer-claude to Claude, ChatGPT or Cursor (docs).

Other AI analyzers and scrapers to chain

More Actors by the same developer:

❓ FAQ

The Actor reads only the pages, files and datasets you give it, without login, with one plain request per page, and respects robots.txt. You are responsible for having the right to process the content and for your use of the results, including personal data under the GDPR. Message Batches, the Files API and code execution are not covered by zero data retention: set useFilesApi: false and leave batchMode and analytics off if your organization requires it. The Apify blog explains the general rules in Is web scraping legal?. This is not legal advice.

Can I use AI Document & Web Analyzer through an MCP server?

Yes. Add https://mcp.apify.com/?actors=badr_xba/ai-document-web-analyzer-claude to your MCP client (Claude, ChatGPT, Cursor), then ask it to summarize a list of URLs or classify a dataset.

Can I integrate AI Document & Web Analyzer with other apps?

Yes. It works with Make, n8n, Zapier, Google Sheets, Slack and any tool that accepts webhooks, and it reads the dataset of any other Apify Actor.

Can I use AI Document & Web Analyzer with the Apify API or in Python?

Yes. Use apify-client for Python or JavaScript, or call the REST API directly. The examples above show all three.

How much does it cost to analyze documents with Claude?

$1.50 per 1,000 quick items, $3.00 standard, $6.00 deep and $12.00 expert, on every Apify plan, plus the tokens Anthropic bills your key. Data tasks cost $0.20 per 1,000 rows, with no Anthropic cost.

Do I need an Anthropic key or proxies?

You need your own Anthropic key for AI tasks (see What you need). No proxy is needed. Without a key, AI tasks give estimate rows only, and the data tasks still run. A rejected key (invalidApiKey) or a spend limit reached (quotaExceeded) stops the run at the first call; only Apify's run start is charged.

Is there an official Claude API?

Yes, and this Actor uses it: the Anthropic Messages API with structured outputs, Citations, the code execution and web fetch tools, the Files API, Message Batches, prompt caching and token counting. The Actor adds the sources (pages, files, datasets), the task list, checked quotes, AI-free data tasks and cost guards.

Which model should I pick?

Start with the default claude-haiku-5-5, about 20 times cheaper per token than Sonnet 5.5. Test it on a few of your own items. For long multi-source reasoning, contracts or financial documents, use deep (Sonnet 5.5) or expert (Opus 5.5). One real call was measured so far (Nov 24, 2026: Haiku 5.5, 4 seconds, about $0.0004 for one short text); the larger Claude benchmark of this Actor uses mocked answers.

What can't it do?

  • JavaScript pages: no rendering, no proxy, no anti-bot bypass; crawl them first with a browser-based crawler.
  • Limits: AI tasks read up to 10,000 items per run, data tasks up to 100,000 rows; compare takes 2 to 10 sources.
  • Evidence: the evidence task needs text or PDF sources (images cannot be cited).
  • Batches: results can take up to 24 hours.
  • Costs: estimates before a call are local approximations, and costs are list-price estimates.

AI Document & Web Analyzer not working?

Every item that gave no result is in FAILED_INPUTS with a code, and is never charged the item fee:

CodeWhat to do
invalidApiKey, apiKeyNoAccessCreate or copy a key at platform.claude.com/settings/keys, paste it without spaces, check the workspace and model access.
quotaExceededAdd credit or raise the spend limit in your Anthropic billing settings.
modelNotFoundChoose another model or level.
rateLimited, providerError, timeoutLower concurrency, or run again later.
maxOutputTokens, refusalRaise maxOutputTokensPerItem, or check the source. No item fee.
notEnoughMemory, tooManyRowsRun with the memory named in the message, or read fewer rows.
TIME_LIMITRun again with a longer timeout or fewer items.

By default, a stop caused by your input, key or account ends SUCCEEDED with a clear message, so your schedules keep running. Set failRunOnError to true if a webhook must see a failed run.

Your feedback

Found a bug, a missing feature or an idea? Open an issue on the Issues tab with your run ID. A short review on the Store page also helps other users find the Actor.