> ## Documentation Index
> Fetch the complete documentation index at: https://docs.trychannel3.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Keyword Search

Pass a text `query` to `products.search`.

```typescript TypeScript theme={"theme":{"light":"github-light","dark":"github-dark"}}
import Channel3 from "@channel3/sdk";

const client = new Channel3();

const results = await client.products.search({
  query: "organic cotton t-shirt",
  limit: 20,
});

for (const product of results.products) {
  console.log(product.title, product.offers[0]?.price);
}
```

```python Python theme={"theme":{"light":"github-light","dark":"github-dark"}}
from channel3_sdk import Channel3

client = Channel3()

results = client.products.search(
    query="organic cotton t-shirt",
    limit=20,
)

for product in results.products:
    print(product.title, product.offers[0].price if product.offers else None)
```

Add [filters](/sdk/search-with-filters.md), enable keyword-only behavior with [search configuration](/sdk/configure-search.md), or try [image search](/sdk/image-url.md).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.