Claude web search

by AnthropicWeb search

Claude web search is Anthropic's server tool that gives Claude real-time web content while it answers. Claude decides when to search, cites its sources on every answer, and can be capped at a number of searches, held to or kept off given domains, or localized to a city and country. On Opper, opper:web_search on auto uses it when you call Anthropic models on the Messages endpoint, and Opper's own engine everywhere else. Pin "engine": "native" to require it, or pin Jina or SearchBase to keep searches in the EU instead. It runs on 12 routes in the catalogue today.

UseClaude web searchwithin

Add Claude web search on Opper

Set up with agents

Paste this into your coding agent (Claude Code, Cursor, Codex, and more) and it will set up and build with Opper for you.

Get your API key

Key info

Endpoint
Messages
Region
Provider
Pin it with
"engine": "native"
Index
Brave
Native routes
12

In your code

curl https://api.opper.ai/v3/compat/v1/messages \
-H "Authorization: Bearer $OPPER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model": "anthropic/claude-sonnet-5-5", "max_tokens": 1024,
"messages": [{"role": "user", "content": "What changed in the news today?"}],
"tools": [{"type": "opper:web_search", "engine": "native"}]}'

Use Claude web search with these models

Step-by-step setup for Claude web search on each of these models through Opper.

More tools on Opper

Use Claude web search through Opper

One key, 700+ models, a choice of region, and zero data retention. Tools run in the same request, with every call in your traces.

Get startedView Documentation