# Search the web for a query (Context.dev)

Web search that accepts natural language and Google-style operators (site:, intitle:, quotes). Returns result URLs with titles and descriptions, and optionally each page's Markdown or the passages relevant to the query. Filters for domains, recency, country and language.

- Id: `contextdev.web.search`
- Request: `POST https://api.context.dev/v1/web/search`
- Price: $0.0009 / 10 results. 1 credit per 10 results, rounded up. Highlights add 1 per 10 results; Markdown adds 1 per result.
- Price source: https://docs.context.dev/account/credits.md (checked 2026-11-27)

## Body parameters

| Name | Type | Required | Notes |
| --- | --- | --- | --- |
| `query` | string | yes | Example: `"open source web scraping libraries"` |
| `numResults` | integer | no | 1–100, default 10. Example: `10` |
| `includeDomains` | array | no |  |
| `excludeDomains` | array | no |  |
| `freshness` | string | no | One of: last_24_hours, last_week, last_month, last_year |
| `country` | string | no | Example: `"us"` |
| `languages` | array | no | Example: `["en"]` |
| `markdownOptions` | object | no | Adds 1 credit per result returned with Markdown. Example: `{"enabled":true}` |
| `highlightsOptions` | object | no |  |

## Call it

Over MCP (https://kitepod.com/mcp):

```text
catalog_search  {"query":"search the web for a query"}
catalog_get     {"id":"contextdev.web.search"}
call            {"id":"contextdev.web.search","input":{"query":"open source web scraping libraries","numResults":10}}
```

Over REST:

```sh
curl -X POST "https://kitepod.com/v1/call/contextdev.web.search" \
  -H "Authorization: Bearer $KITEPOD_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"query":"open source web scraping libraries","numResults":10}'
```

Reference: [REST](https://kitepod.com/docs/rest.md) · [MCP](https://kitepod.com/docs/mcp.md)

[Context.dev](https://kitepod.com/tools/contextdev) · [All tools](https://kitepod.com/tools)

---

[Tools](https://kitepod.com/tools) · [Docs](https://kitepod.com/docs) · [Pricing](https://kitepod.com/pricing) · [List your API](https://kitepod.com/list-your-api) · [Sign up](https://kitepod.com/login) · [Terms](https://kitepod.com/terms) · [Privacy](https://kitepod.com/policy) · hello@kitepod.com
