Cloudflare Web Search API
Last updated Oct 2, 2026 Give your agents real-time web context with a single API call.
Available in open beta
Web Search API lets your AI agents and applications search the Internet and ground their responses in live information. Instead of guessing URLs or relying on a model's training cutoff, your agent sends a search query and receives structured results — titles, URLs, and descriptions — that you can pass straight into a model's context.
Web Search API runs through AI Gateway, so every search gets the same logging, analytics, billing, and access controls as your model inference requests. You can call it from any backend with the REST API, or from a Worker with the AI binding.
Features
Choose between Ceramic.ai, Exa, and Linkup with a single provider parameter. All providers return results in the same format, so you can switch without changing your code.
View providers
Pay for searches with your AI Gateway credits at each provider's list API price, with no additional markup. You can also bring your own provider API key.
Learn about Unified Billing
Search requests appear in your AI Gateway logs and analytics alongside your model inference requests.
View logging
Every provider commits to Cloudflare's verified bot requirements and returns a link to the source of every result.
Learn more
Related products
Observe and control your AI applications with analytics, caching, rate limiting, and model fallback.
Run machine learning models, powered by serverless GPUs, on Cloudflare's global network.
Build AI-powered agents that can perform tasks, persist state, browse the web, and communicate in real time.
More resources
Developer Discord
Connect with the Workers community on Discord to ask questions, show what you are building, and discuss the platform with other developers.
Use cases
Learn how you can build and deploy ambitious AI applications to Cloudflare's global network.
@CloudflareDev
Follow @CloudflareDev on Twitter to learn about product announcements, and what is new in Cloudflare Workers.
Was this helpful?
YesNo
On this page
{"@context":"https://schema.org","@type":"WebPage","@id":"https://developers.cloudflare.com/web-search/#page","headline":"Cloudflare Web Search API","description":"Ground AI agents and applications with real-time web search results from Ceramic.ai, Exa, and Linkup through AI Gateway.","url":"https://developers.cloudflare.com/web-search/","inLanguage":"en","image":"https://developers.cloudflare.com/web-search/og.png?v=698c83104f2059c1","dateModified":"2026-10-02","publisher":{"@type":"Organization","name":"Cloudflare","description":"One platform for your apps, agents, and workforce. Build, secure, and scale without managing infrastructure","url":"https://www.cloudflare.com/","sameAs":["https://github.com/cloudflare","https://www.linkedin.com/company/cloudflare","https://x.com/cloudflare"],"logo":{"@type":"ImageObject","url":"https://developers.cloudflare.com/logo.svg"},"address":{"@type":"PostalAddress","streetAddress":"101 Townsend St","addressLocality":"San Francisco","addressRegion":"CA","postalCode":"94107","addressCountry":"US"},"contactPoint":[{"@type":"ContactPoint","contactType":"Customer Support","url":"https://support.cloudflare.com/","availableLanguage":["English"]},{"@type":"ContactPoint","contactType":"Sales","url":"https://www.cloudflare.com/contact/","availableLanguage":["English"]}]},"isPartOf":{"@type":"WebSite","@id":"https://developers.cloudflare.com/#website","name":"Cloudflare Docs","url":"https://developers.cloudflare.com/"},"keywords":["AI"]}
description: Learn how Web Search API grounds AI agents in live web data, how it integrates with AI Gateway, and the crawling standards that search providers follow. title: About Web Search API image: https://developers.cloudflare.com/web-search/about/og.png?v=ba4b309ce28e5d04
Documentation Index
Fetch the complete documentation index at: https://developers.cloudflare.com/web-search/llms.txt
Use this file to discover all available pages before exploring further.
Docs