# Introducing Web Search via the API

DevFeed: [Introducing Web Search via the API](<https://devfeed.tech/articles/introducing-web-search-via-the-api-78553.md>)

Original publisher: [Read original article](<https://openrouter.ai/blog/announcements/introducing-web-search-via-the-api/>)

Author: OpenRouter

Published: 2025-01-23T00:00:00Z

Content type: release

Language: en

Sources: [OpenRouter](<https://devfeed.tech/sources/openrouter.md>)

Topics: [DuckDuckGo](<https://devfeed.tech/topics/duckduckgo.md>), [REST API](<https://devfeed.tech/topics/rest-api.md>)

Tags: [ai](<https://devfeed.tech/tags/ai.md>), [api](<https://devfeed.tech/tags/api.md>), [openai](<https://devfeed.tech/tags/openai.md>), [plugin](<https://devfeed.tech/tags/plugin.md>), [search](<https://devfeed.tech/tags/search.md>)

## AI overview

OpenRouter adds web search to its API, letting developers incorporate current search results into model requests through the `:online` suffix or the `web` plugin. The feature uses Exa.ai, returns up to five results by default, and costs $4 per 1,000 web results. Developers can adjust the result limit and customize the search prompt.

## Source excerpt

Bring all of your requests up to speed with the latest information by incorporating web search results.