Introducing Web Search API · Changelog (../../../favicon.ico) (../../../favicon.png) (../../../_nimbus/shiki.css) (index.html) (https://developers.cloudflare.com/sitemap-index.xml) (https://developers.cloudflare.com/changelog/post/2026-10-02-introducing-web-search-api/index.md) (https://developers.cloudflare.com/changelog/post/2026-10-02-introducing-web-search-api/index.xml) (../../../_astro/Header.CZyk5gbP.css) (index.html#main-content) Skip to content (https://developers.cloudflare.com/) () Docs (https://developers.cloudflare.com/directory/) Directory (https://developers.cloudflare.com/api/) API (https://developers.cloudflare.com/fundamentals/api/reference/sdks/) SDKs (https://developers.cloudflare.com/changelog/) Changelog Search Ctrl K (Search documentation...) (https://github.com/cloudflare/cloudflare-docs) (https://dash.cloudflare.com/) Log in Dashboard Changelog New updates and improvements at Cloudflare. (https://developers.cloudflare.com/fundamentals/new-features/available-rss-feeds/) View RSS feeds (https://developers.cloudflare.com/changelog/rss/index.xml) Subscribe to RSS (https://developers.cloudflare.com/changelog) Back to all posts October 2, 2026 Introducing Web Search API (https://developers.cloudflare.com/ai-gateway/) AI Gateway (https://developers.cloudflare.com/web-search/) Web Search API Copy as Markdown | (https://developers.cloudflare.com/changelog/post/2026-10-02-introducing-web-search-api/index.md) View as Markdown | (https://developers.cloudflare.com/agent-setup/) Agent setup (https://developers.cloudflare.com/web-search/) Web Search API is now available in 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. At launch, you can choose between three search providers: (https://developers.cloudflare.com/web-search/providers/) Ceramic.ai, Exa, and Linkup . All three support Zero Data Retention for requests made through Cloudflare, and all have committed to Cloudflare's (https://developers.cloudflare.com/bots/concepts/bot/verified-bots/) verified bot crawling standards. Web Search API runs through (https://developers.cloudflare.com/ai-gateway/) AI Gateway , so search requests appear in your gateway logs and are billed to your AI Gateway credits at each provider's list API price, with no additional markup. You can also bring your own provider API key. Call Web Search API with the REST API: curl https://api.cloudflare.com/client/v4/accounts/ $CLOUDFLARE_ACCOUNT_ID /ai/websearch/ \ --request POST \ --header "Authorization: Bearer $CLOUDFLARE_API_TOKEN " \ --header "Content-Type: application/json" \ --data '{ "query": "What are some fun things to do in Salt Lake City as fall approaches?", "provider": "ceramic", "limit": 5, "options": { "gateway": { "id": "default" } } }' Or from a Worker with the AI binding: const response = await env. AI . websearch ({ gatewayId: "default" , query: "What are some fun things to do in Salt Lake City as fall approaches?" , provider: "exa" , limit: 5 , }); const results = await response. json (); To get started, refer to (https://developers.cloudflare.com/web-search/how-to-use/) How to use Web Search API . Getting started (https://www.cloudflare.com/plans/) Plans (https://www.cloudflare.com/resource/contact-enterprise-sales/) Contact sales (https://www.cloudflare.com/partners/) Partners (https://partnerlocator.cloudflare.com/dashboard) Find a partner (https://www.cloudflare.com/startups/) Startups (https://www.cloudflare.com/under-attack-hotline/) Under attack? (https://domains.cloudflare.com/) Domain name search Company (https://www.cloudflare.com/about/) About (https://www.cloudflare.com/careers/) Careers (https://cloudflare.net/) Investors (https://www.cloudflare.com/press/) Press (https://www.cloudflare.com/press/press-kit/) Press kit (https://www.cloudflare.com/network/) Global network Public interest (https://www.cloudflare.com/galileo/) Project Galileo (https://www.cloudflare.com/athenian/) Athenian Project (https://www.cloudflare.com/campaigns/) Cloudflare for Campaigns (https://www.cloudflare.com/fair-shot/) Project Fairshot (https://www.cloudflare.com/impact/) Impact/ESG Compliance (https://www.cloudflare.com/trust-hub/compliance-resources/) Compliance resources (https://www.cloudflare.com/trust-hub/) Trust Hub (https://www.cloudflare.com/trust-hub/gdpr/) Data Protection (https://www.cloudflare.com/trust-hub/responsible-ai/) Responsible AI (https://www.cloudflare.com/transparency/) Transparency report (https://www.cloudflare.com/trust-hub/abuse-approach/) Report abuse Resources (https://www.cloudflare.com/resource/app-innovation-report/) App innovation report (https://radar.cloudflare.com/) Cloudflare Radar (https://www.cloudflare.com/case-studies/) Case studies (https://www.cloudflarestatus.com/) Status (https://support.cloudflare.com/) Support (https://www.cloudflare.com/events/) Events (https://blog.cloudflare.com/) Blog Developers (https://developers.cloudflare.com/) Documentation (https://www.cloudflare.com/learning/) Learning center (https://community.cloudflare.com/) Community Solutions (https://www.cloudflare.com/sase/) SSE and SASE platform (https://www.cloudflare.com/solutions/ai/) Cloudflare AI Cloud (https://www.cloudflare.com/solutions/ai-security/) AI Security (https://www.cloudflare.com/solutions/frontends/) Frontend Development Platform (https://www.cloudflare.com/solutions/platforms/) Multi-Tenant Platform Development (https://www.cloudflare.com/solutions/security/) Web Security Platform (https://dash.cloudflare.com/sign-up) Start Building (https://dash.cloudflare.com/login) Log In © 2026 Cloudflare, Inc. (https://www.cloudflare.com/policies/privacy/) Privacy policy | (https://www.cloudflare.com/disclosure/) Report security issues | (https://www.cloudflare.com/policies/terms/) Terms of use | (https://www.cloudflare.com/trademark/) Trademark | (privacy options) Your privacy choices