---
title: "Search Google and fetch HTML content"
method: GET
path: "/search"
---

# Search Google and fetch HTML content

`GET /search`

Searches Google using the provided query and returns the search results, along with the inner text of the first link.
The first five search results include a summary of the HTML content, while the first three have the entire HTML content returned in the response.

## Query parameters

- `q` string, required

## Response `200`

Successful operation

- object
  - `results` object[]
    - `title` string — The title of the search result
    - `link` string, uri — The URL of the search result
    - `summary` string — A summary of the HTML content of the search result (available for the first five results)
    - `full_content` string — The entire HTML content of the search result (available for the first three results)

## Other responses

- `400` — Bad request
- `default` — Error fetching search results

---

[API](https://skmtc.dev/sogody/apis/google-search-plugin-api.md) · [All operations](https://skmtc.dev/sogody/apis/google-search-plugin-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/sogody/google-search-plugin-api/revisions/39baf4ac945b/schema)
