API Playground

Send a product catalog, get smart recommendations back instantly. No API key needed.

Request

POST /api/recommendations

Response

Waiting...
Click "Send Request" to try the API. The endpoint accepts a JSON body with: • products — your product catalog (array) • target_product_id — get recs for one product (optional) • interactions — purchase data for co-occurrence (optional) • limit — max recommendations per type (default: 5)

Try these examples

Electronics Store

10 products with purchase history. See how TF-IDF and co-occurrence work together.

Fashion Boutique

Clothing items with categories and price ranges. Category affinity in action.

Minimal (3 products)

Simplest possible request. Great for understanding the response format.