API

Today, Anthropic introduced web search on the Anthropic API a new tool that allows Claude to access live, current information from the internet. This means developers can now build apps and AI agents using Claude that provide real-time insights.

Use the latest web info to power AI tools

Now, developers can combine Claude’s broad knowledge with up-to-date data by turning on the web search tool when they send requests to the Messages API.

When Claude gets a request that needs the latest information or specific knowledge, it uses its smart thinking to decide if a web search would help. If it would, Claude creates a targeted search, finds relevant results, reviews them, and gives a detailed answer with links to the original sources.

Claude can also act more independently doing multiple searches step by step, using earlier results to guide the next ones. Developers can control this with the max_uses setting. Claude may also improve its search queries automatically to get better results.

With this tool, developers don’t need to build their own web search system Claude can now do it for them.

What you can do with a web search?

Web search lets Claude handle many real-time or expert-level tasks across different industries, like.

Trust and control

Each web-sourced answer includes links to where the info came from, so users can check for themselves. This is very useful when accuracy is important.

You can also manage what Claude searches.

Domains

Better coding with web search

Web search also works in Claude Code, helping developers by bringing in the newest documentation, technical posts, and tool info from the web. This is great for new tools, fixing rare bugs, or using APIs with version-specific features.

Customers using the web search

How to start?

Web search is now available for,

Price: $10 per 1,000 searches, plus the usual token costs.

To use it, just turn on the web search tool in your API request. Check out Anthropic’s documentation and pricing page to learn more.

Web API