The Klarna Open AI Product API provides a GET endpoint that returns a list of Klarna catalog products matching a precise search query, optionally limited by result size and maximum price, with each product's name, price, URL and attributes.
q(query, required) — A precise query that matches one very small category or product that needs to be searched for to find the products the user is looking for. If the user explicitly stated what they want, use that as a query. The query is as specific as possible to the product name or category mentioned by the user in its singular form, and don't contain any clarifiers like latest, newest, cheapest, budget, premium, expensive or similar. The query is always taken from the latest topic, if there is a new topic a new query is started.
size(query, limit) — number of products returned
budget(query) — maximum price of the matching product in local currency, filters results
1 endpoint auto-detected
Authentication
This API requires authentication: apiKey.
curl -X GET \
"https://docs.klarna.com/klarna-payments/api/payments-api//public/openai/v0/products"