Infery.ai
← All tools

Web search

Web

web.search

in: anyout: text

Search the web. Gateway picks provider by latency/cost.

Pricing

Price
2.88 cr / request

Prices in credits (1 credit = $0.01).

Web Search

Search the web and return ranked results. The gateway routes to the best available provider (Brave, Gemini, OpenAI, or Anthropic) based on latency and cost.

When to use

  • Research queries — retrieve up-to-date information from the live web.
  • Fact checking — ground LLM responses in current sources.
  • News & events — look up recent happenings beyond a model's training cutoff.

Inputs & outputs

Input modalityNone (query is a parameter)
Output modalityText (structured list of results)
Max query length500 characters
Max results50

Parameters

ParamRequiredDescription
queryyesSearch query string (1–500 chars)
max_resultsnoNumber of results to return (1–50). Default: 10
regionnoBCP-47 region code for localised results, e.g. en-US, de-DE

Examples

Basic web search

{
  "type": "web.search",
  "input": {},
  "params": { "query": "best LLMs 2026", "max_results": 10 }
}

Localised search

{
  "type": "web.search",
  "input": {},
  "params": { "query": "Bundesliga Ergebnisse", "max_results": 5, "region": "de-DE" }
}

Pricing

Billed per search request. The gateway routes to the most appropriate provider; see pricing dashboard for current rates.

Related capabilities

  • code.run_python — process or summarise search results with inline Python
  • code.run_node — transform result data with Node.js

Examples

Basic search

{
  "query": "best LLMs 2026",
  "max_results": 10
}