Anthropic is launching a new API that allows its Claude AI models to search across the web. Developers using it can build Claude-powered apps that deliver up-to-date info, the company said in a press release published Wednesday.
The rollout of the API comes as AI companies look to augment their models in various ways that might attract new customers to their platforms. For its part, Anthropic last week debuted a tool to connect applications to Claude as well as an expanded “deep research” capability that lets Claude search enterprise accounts, websites, and more.
“Developers can now augment Claude’s comprehensive knowledge with current, real-world data by enabling the web search tool when making requests to [our] API,” Anthropic wrote in its release. “With web search, developers can now build AI solutions that tap into current information without needing to manage their own web search infrastructure.”
When the web search API is enabled, Claude will use “reasoning” capabilities to determine whether a given request would benefit from up-to-date information or specialized knowledge. If Claude decides to search the web, it’ll generate a search query, retrieve results, analyze them, and provide an answer with citations.
Claude can also refine its queries and conduct multiple searches, using earlier results to inform subsequent queries. Developers can customize this behavior as well as specify domains from which Claude is allowed and not allowed to search. Devs can also allow or prohibit web search use at the organization level, Anthropic says.
Pricing starts at $10 per 1,000 searches. Search works with Anthropic’s Claude 3.7 Sonnet, newer Claude 3.5 Sonnet, and Claude 3.5 Haiku models.

In related news, Anthropic is bringing web search to Claude Code, its tool that allows devs to tap Claude to complete various coding tasks. With web search enabled, Claude Code can access current API documentation, technical articles, and other information on development tools and libraries.
Techcrunch event
Berkeley, CA
|
June 5
Claude Code remains in beta as a research preview.
Updated 4:16 p.m. Pacific: Added pricing and model compatibility information.