/ NEWS

Introducing Web Search on the Anthropic API

Anthropic has launched web search capabilities on its API, enabling Claude-powered applications to access and integrate up-to-date information from across the web, enhancing AI responses with current, real-world data.

Artificial intelligence models have traditionally relied on static training data, limiting their ability to provide up-to-date information. To address this challenge, Anthropic has introduced web search functionality on its API, empowering Claude-the company’s AI assistant-to access current information directly from the internet. This new feature allows developers to build AI applications and agents that deliver accurate, timely insights by combining Claude’s reasoning with live web data. This article explores the capabilities, use cases, and benefits of Anthropic’s web search integration.

With web search enabled via the Messages API, Claude can augment its extensive foundational knowledge with fresh, specialized data from the web. When Claude encounters a query that requires recent or niche information, it intelligently decides whether to perform a web search. If so, Claude formulates a precise search query, retrieves relevant results, analyzes the content, and synthesizes a comprehensive answer complete with citations to the original sources.

Moreover, Claude can operate agentically, conducting multiple progressive searches where earlier findings inform subsequent queries. This iterative research process enables Claude to generate more thorough and nuanced responses. Developers can control the depth of this behavior through the max_uses parameter, allowing customization of how many searches Claude can perform per request. Behind the scenes, Claude may refine its queries dynamically to improve accuracy and relevance.

This capability removes the need for developers to build and maintain their own web search infrastructure, streamlining the creation of AI applications that require real-time knowledge.

The integration of web search unlocks a broad spectrum of applications across various sectors:

  • Financial Services: AI agents can analyze live stock prices, monitor market trends, and track regulatory updates to provide timely financial insights.
  • Legal Research: Tools can access recent court rulings, legislative changes, and legal news to support lawyers and compliance teams.
  • Developer Tools: Claude can reference the latest API documentation, GitHub releases, and technology news to assist programmers effectively.
  • Productivity: Agents can incorporate current company reports, competitive intelligence, and industry research to enhance decision-making.

Every response sourced from the web includes citations, enabling users to verify information and ensuring transparency-an essential feature for sensitive or regulated use cases. Anthropic also offers administrative controls to help organizations tailor web search access:

  • Domain Allow Lists: Specify trusted domains Claude can search, ensuring results come only from approved sources.
  • Domain Block Lists: Prevent access to domains that may contain sensitive, inappropriate, or competitive content.
  • Organization-Level Management: Admins can enable or disable web search functionality across their organization to maintain compliance and security.

Web search is now integrated into Claude Code, Anthropic’s AI-powered coding assistant. This allows developers to access the latest API documentation, technical articles, and library updates directly within their development environment. Such integration is invaluable when working with fast-evolving frameworks, troubleshooting complex errors, or implementing version-specific features.

Quora’s Poe Platform: Quora has integrated Anthropic’s web search into Poe, their AI platform. Spencer Chan, Head of Poe Product, highlighted the tool’s cost-effectiveness and speed, which significantly benefits users who rely on real-time information.

Adaptive.ai: Adaptive, a platform for building end-to-end AI applications, praised Claude’s ability to deliver thorough and accurate search results. Co-founder Dennis Xu emphasized how Claude’s research capabilities enhance their customers’ ability to build web-enabled products.

Web search is available on the Anthropic API for Claude 3.7 Sonnet, the upgraded Claude 3.5 Sonnet, and Claude 3.5 Haiku models. Pricing is set at $10 per 1,000 searches plus standard token costs. Developers interested in leveraging this feature can enable the web search tool in their API requests and explore detailed documentation and pricing information on Anthropic’s website.

Anthropic’s introduction of web search on its API marks a pivotal advancement in AI capabilities, enabling Claude-powered applications to deliver current, accurate, and contextually rich responses. By combining advanced reasoning with real-time data access, developers can build smarter, more reliable AI agents tailored to a wide range of industries and use cases. With robust controls and transparent sourcing, Anthropic ensures that this powerful tool is both trustworthy and adaptable, setting a new standard for AI applications in the real world.