# Similar Products Integration

Similar Products returns a specific number of similar products for a given product. The degree of similarity between products is determined according to previously defined properties or categories.

If the number of similar products in the database is smaller than desired only this smaller set is returned.

### Integration via REST

The technical documentation of the REST-API is contained in the search application itself and can be accessed via \[your NG server]/fact-finder/swagger-ui.html . It can be also accessed via the following URL:

Swagger Link: <https://ng-demo.fact-finder.de/fact-finder/swagger-ui.html>

The interface offers not only the parameter documentation, but also the option to test a query and review the result. The documentation was created with Swagger, you can use Swagger Codegen to generate a client for it and use it for your code.

Retrieve module data via `similarproducts` method.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.fact-finder.com/integration/generic-integration-topics/similar-products-integration.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
