---
title: "Search and pages - Tools | SnowAI"
description: "Search and pages tools on SnowAI. Google web and news results, and any page as Markdown. 3 tools, each with its parameters, its price and a call to copy."
url: "https://trysnow.ai/docs/tools/search"
---

# Search and pages

> Google web and news results, and any page as Markdown.

## Things to ask

Ask your agent in plain words. It picks the tool.

- What is Google showing right now for 'best crm for startups', and what are people also asking?
- Find news about HubSpot from the past week and summarize the main stories.
- Read stripe.com/pricing and list every plan with its price.

## Tools in Search and pages

3 tools. Prices are in credits; 1,000 credits are $1.

| Tool | Use it when | Cost |
| --- | --- | --- |
| [`search_google`](https://trysnow.ai/docs/tools/search#search_google) | You need what Google shows for a query today: the top results, questions people ask, related searches and the knowledge panel. | 1.65 credits per call |
| [`search_news`](https://trysnow.ai/docs/tools/search#search_news) | You need recent news coverage of a company, person or topic. | 1.65 credits per call |
| [`web_get_page`](https://trysnow.ai/docs/tools/search#web_get_page) | You need the text of a public web page, including ones that block bots or need JavaScript. | 1.65 credits per call |

## Search Google

Tool: `search_google` (read-only)

- **Good for**: You need what Google shows for a query today: the top results, questions people ask, related searches and the knowledge panel.
- **Not the tool for**: Rank tracking or SERP features for SEO work (use `seo_get_serp`), or reading a result's page (use `web_get_page`).
- **What you get**: About 10 results per page with title, URL and snippet, plus people also ask, related searches, the knowledge panel and local results when Google shows them.
- **Cost**: 1.65 credits per call. Cached 1 hour: a cache hit costs 0.825 credits.

**Parameters**

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `query` | `string` | Yes | What to search for. |
| `country` | `string` | No | Two-letter country code to search from, e.g. us, gb, de. Default: the brand's country, else us. |
| `language` | `string` | No | Interface language, e.g. en, de, pt-br. Default: the brand's language, else en. |
| `page` | `integer` | No | Results page, 1 to 10. Default 1. |

**Example: MCP**

```json
{
  "name": "search_google",
  "arguments": {
    "query": "hubspot crm pricing",
    "country": "us"
  }
}
```

**Example: cURL**

```sh
curl -X POST https://api.trysnow.ai/tools/search_google \
  -H "Authorization: Bearer $SNOWAI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "query": "hubspot crm pricing",
  "country": "us"
}'
```

**Example: TypeScript**

```ts
const response = await fetch("https://api.trysnow.ai/tools/search_google", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.SNOWAI_API_KEY}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    "query": "hubspot crm pricing",
    "country": "us"
  }),
});
const result = await response.json();
```

**Example: Python**

```python
import os
import requests

response = requests.post(
    "https://api.trysnow.ai/tools/search_google",
    headers={"Authorization": f"Bearer {os.environ['SNOWAI_API_KEY']}"},
    json={
        "query": "hubspot crm pricing",
        "country": "us",
    },
)
print(response.json())
```

## Search news

Tool: `search_news` (read-only)

- **Good for**: You need recent news coverage of a company, person or topic.
- **Not the tool for**: General web results (use `search_google`).
- **What you get**: News articles with title, URL, publisher, date and snippet, newest coverage first when a period is set.
- **Cost**: 1.65 credits per call. Cached 30 minutes: a cache hit costs 0.825 credits.

**Parameters**

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `query` | `string` | Yes | What to search for. |
| `country` | `string` | No | Two-letter country code to search from, e.g. us, gb, de. Default: the brand's country, else us. |
| `language` | `string` | No | Interface language, e.g. en, de, pt-br. Default: the brand's language, else en. |
| `period` | `"hour" \| "day" \| "week" \| "month" \| "year"` | No | Only articles from the past hour, day, week, month or year. |
| `page` | `integer` | No | Default 1. |

**Example: MCP**

```json
{
  "name": "search_news",
  "arguments": {
    "query": "HubSpot earnings",
    "period": "week"
  }
}
```

**Example: cURL**

```sh
curl -X POST https://api.trysnow.ai/tools/search_news \
  -H "Authorization: Bearer $SNOWAI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "query": "HubSpot earnings",
  "period": "week"
}'
```

**Example: TypeScript**

```ts
const response = await fetch("https://api.trysnow.ai/tools/search_news", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.SNOWAI_API_KEY}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    "query": "HubSpot earnings",
    "period": "week"
  }),
});
const result = await response.json();
```

**Example: Python**

```python
import os
import requests

response = requests.post(
    "https://api.trysnow.ai/tools/search_news",
    headers={"Authorization": f"Bearer {os.environ['SNOWAI_API_KEY']}"},
    json={
        "query": "HubSpot earnings",
        "period": "week",
    },
)
print(response.json())
```

## Read a web page

Tool: `web_get_page` (read-only)

- **Good for**: You need the text of a public web page, including ones that block bots or need JavaScript.
- **Not the tool for**: Pages behind a login, or SEO checks of a page (use `seo_get_page`).
- **What you get**: The page as Markdown, cut to max_characters, with its final URL after redirects.
- **Cost**: 1.65 credits per call. Cached 1 hour: a cache hit costs 0.825 credits.

**Parameters**

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `url` | `string` | Yes | A full http(s) URL. |
| `render` | `boolean` | No | Run the page's JavaScript first. Slower; only for pages that are empty without it. |
| `country` | `string` | No | Two-letter country code to search from, e.g. us, gb, de. Default: the brand's country, else us. |
| `max_characters` | `integer` | No | Cut the Markdown here. Default 40,000. |

**Example: MCP**

```json
{
  "name": "web_get_page",
  "arguments": {
    "url": "https://stripe.com/pricing",
    "max_characters": 20000
  }
}
```

**Example: cURL**

```sh
curl -X POST https://api.trysnow.ai/tools/web_get_page \
  -H "Authorization: Bearer $SNOWAI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "url": "https://stripe.com/pricing",
  "max_characters": 20000
}'
```

**Example: TypeScript**

```ts
const response = await fetch("https://api.trysnow.ai/tools/web_get_page", {
  method: "POST",
  headers: {
    Authorization: `Bearer ${process.env.SNOWAI_API_KEY}`,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    "url": "https://stripe.com/pricing",
    "max_characters": 20000
  }),
});
const result = await response.json();
```

**Example: Python**

```python
import os
import requests

response = requests.post(
    "https://api.trysnow.ai/tools/web_get_page",
    headers={"Authorization": f"Bearer {os.environ['SNOWAI_API_KEY']}"},
    json={
        "url": "https://stripe.com/pricing",
        "max_characters": 20000,
    },
)
print(response.json())
```

Every docs page as Markdown: https://trysnow.ai/llms.txt
