Cloudflare AI Gateway Adds Web Search API Integration
Cloudflare's AI Gateway now lets developers inject real-time, structured web search results from providers like Ceramic.ai, Exa, and Linkup directly into their applications and model inference pipelines, supporting both REST APIs and Cloudflare Workers.
What changed?
Cloudflare AI Gateway now supports a Web Search API, partnering with Ceramic.ai, Exa, and Linkup to offer fresh, structured web context for AI applications. Developers can access web search capabilities through a direct REST API integrated with AI Gateway authentication and provider selection, or through a simple binding in Cloudflare Workers. The API delivers structured results, links to source content, and logs all activity within AI Gateway's unified observability system. Bring-Your-Own-Key (BYOK) is supported, allowing use of existing organizational credentials with selected providers. Partners must adhere to Cloudflare's bot transparency and robots.txt respect standards. Providers offering Zero Data Retention (ZDR) are clearly marked.

Why does it matter to an everyday developer?
This change enables developers to build AI agents and applications that can incorporate current web information—addressing the problem of language models operating with outdated static knowledge. Developers can provide their apps with up-to-date answers, news, documentation, or events, and can choose search partners based on privacy requirements or organizational preference. The integration with Cloudflare Workers (using a single line of code) and REST API means minimal friction to add live web context, whether for bots, chat interfaces, or custom app workflows. Transparency around data source links and ZDR status helps meet compliance and user trust needs.
What can the developer do now?
- Start retrieving real-time, structured data from the open web in your AI workflows using the Web Search API via AI Gateway.
- Integrate web search into Cloudflare Workers with a single binding or make direct REST API calls with your AI Gateway credentials.
