> ## 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.

# Find Similar Products

Given a `product_id`, `products.find_similar` returns nearest neighbors in the catalog. Add `filters` to narrow by gender, brand, category, or price.

See also [Similar products](/guides/similar-products).

<CodeGroup>
  ```typescript TypeScript theme={null}
  import Channel3 from "@channel3/sdk";

  const client = new Channel3();

  async function main() {
    const response = await client.products.find_similar({
      product_id: "2yh8WH5",
      filters: {
        gender: "female",
        price: { max_price: 200 },
      },
      limit: 10,
    });
    console.log(response.products.map((p) => p.title));
  }

  main();
  ```

  ```python Python theme={null}
  from channel3_sdk import Channel3

  client = Channel3()

  def main():
      response = client.products.find_similar(
          product_id="2yh8WH5",
          filters={
              "gender": "female",
              "price": {"max_price": 200},
          },
          limit=10,
      )
      print([p.title for p in response.products])

  if __name__ == "__main__":
      main()
  ```
</CodeGroup>
