AI EngineerGuide

Cloudflare Web Search API

by Ashik Nesin Ashik Nesin

Cloudflare now has support for web search through their AI gateway.

Right now it uses the following providers under the hood like Exa, Ceramic, Linkup with zero data retention.

You can make request like this

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 is the latest model from OpenAI for coding?",
    "provider": "ceramic",
    "limit": 5,
    "options": { "gateway": { "id": "default" } }
  }'

Reference

https://developers.cloudflare.com/changelog/post/2026-10-02-introducing-web-search-api/

Stay Updated

Get the latest AI engineering insights delivered to your inbox.

No spam. Unsubscribe at any time.