Go to example tasks

Claude web search answers with sources

Asks one question of Claude through the Anthropic Messages API with its web search tool, and returns the answer with the pages it cites, the pages it read and the search queries it ran. In this example Claude may run up to two searches for the answer. One answer costs $0.10 with the default Sonnet model, and no Anthropic key is needed on your side.

Try for free
AI Answers API: ChatGPT, Claude & Gemini with Web Search
AI Answers API: ChatGPT, Claude & Gemini with Web Searchlocalwire/ai-answers
Prompt
Engine
Citations
Cited domains
+2 fields
Text
Number
Boolean
List
Object

Input

Prompts:What are the main differences between PostgreSQL and MySQL for a new web application?
Engines:anthropic
Max web searches per answer:2
Max checks per run:1

Output fields

Prompt
Engine
Citations
Cited domains
Domains read
Searches run

How it works

Sign up on Apify or log in

The AI Answers API: ChatGPT, Claude & Gemini with Web Search Actor is ready to run with the inputs already set for "Claude web search answers with sources". Sign up or log in and you'll land in Apify Console with a copy of this exact task.

Start the "Claude web search answers with sources" task

The AI Answers API: ChatGPT, Claude & Gemini with Web Search Actor will start running based on the input automatically. You can also change all the input fields, like prompts, engines, and more, to match your specific use case.

Receive the "Claude web search answers with sources" output

Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as prompt, engine, citations, and more.

Integrate into your workflow

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also run the "Claude web search answers with sources" task via API.

Image

Integrate "Claude web search answers with sources" into your workflow

Connect "Claude web search answers with sources" with 100+ integrations, or run it via API or MCP.

Webhook

Webhook

n8n

n8n

Make

Make

Zapier

Zapier

Airbyte

Airbyte

Keboola

Keboola

IFTTT

IFTTT

Hubspot

Hubspot

GDrive

GDrive

Gmail

Gmail

Apify MCP

Apify MCP

GitHub

GitHub

Slack

Slack

LangChain

LangChain

LlamaIndex

LlamaIndex

Flowise

Flowise

Pinecone

Pinecone

OpenAI

OpenAI

Mastra

Mastra

Clay

Clay

Frequently asked questions

The "Claude web search answers with sources" task returns one record per prompt: the answer, its citations with URL, title and domain, the cited domains, the domains read and the search queries.

Up to two for each answer in the Claude web search task. The maxSearches field sets the limit and accepts 1 to 3. The usage.searches field of the record shows how many were run.

Copy the "Claude web search answers with sources" task to your Apify account, then add a schedule in Apify Console or start it with the Run task API endpoint. Results download as JSON, CSV or Excel.