AI
Cloudflare Launches Web Search API to Give AI Agents Real-Time Web Access
The new API helps AI applications retrieve current information from the web during inference, replacing inefficient URL-guessing approaches.
InfoQ
Cloudflare has rolled out a beta Web Search API through its AI Gateway platform, giving AI applications direct access to live search results so they can ground their responses in current web content instead of relying on stale training data or blind guesses.
The API integrates search providers—including Ceramic.ai, Exa, and Linkup—into a single interface that logs requests, manages billing, and enforces access controls. Developers can authenticate via REST endpoints or build search functionality directly into Cloudflare Workers.
The Problem It Solves#
AI agents often struggle when they need to fetch fresh information from the web. Rather than performing an intelligent search, they typically attempt to guess the correct URL and then make a direct request to it—a strategy that frequently fails with 404 errors when the agent misses the mark. Cloudflare's unified approach lets agents request information by topic instead, receiving verified search results.
How It Works#
Applications access the API by providing an AI Gateway authentication token and specifying which search provider they want to use. Results flow back with mandatory source links, and all search queries are logged alongside model inference in a single system. Developers can customize billing and access controls through Cloudflare's existing platform.
Provider Standards and Data Privacy#
To maintain fair treatment of publishers, Cloudflare requires search providers to comply with its Verified Bots requirements and always include links to original content. The company will highlight providers that meet Zero Data Retention standards—ensuring search results aren't stored longer than necessary—and charges providers' published list prices without markup.
What's Next#
AI Gateway is moving toward native server tools, starting with web search capabilities. Developers can already integrate web search into workflows through Cloudflare Workers while that expansion continues. The approach underscores Cloudflare's bid to become a consolidated cloud platform where teams can manage infrastructure, AI, and now real-time information retrieval from a single provider.
Learn more in the official Cloudflare blog post and .

