# Klarna on Onekey > 18 endpoints for Klarna (0 stable, 18 beta), 2 credits each. Category: E-commerce & marketplaces. One key, one JSON shape. Base URL: https://api.onekey.dev Auth: header `x-api-key: `. Call shape: `GET /v1/{platform}/{endpoint}?{params}`. Every response is `{success, data, metadata, error}`; check `success` first. Cost is in `metadata.credits_charged`. Free when served from cache (0.2 credit for a cached response over 100 KB). Failed and not-found calls are refunded. Status: stable = verified against the live source; beta = not yet verified, fields may be missing. Access: 18 of 18 endpoints are marked "needs a pack" or "may need a pack": free-grant credits reach only the open fetch path; a verified email and a purchased pack unlock the rest. Page: https://onekey.dev/platforms/klarna Reference (Markdown): https://onekey.dev/docs/api/klarna.md All docs: https://onekey.dev/llms.txt ## Canonical fields returned Unified-schema fields (same names on every platform), with how many of the 18 mapped Klarna endpoints return each: - `entity.name` (string): 12 - `entity.id` (string): 11 - `entity.url` (URL): 9 - `entity.stats.rating` (number): 7 - `listing.currency` (string): 7 - `listing.price` (number): 7 - `entity.description` (string): 6 - `entity.stats.ratingCount` (integer): 6 - `media.thumbnailUrl` (URL): 6 - `listing.brand` (string): 5 - `content.createdAt` (ISO 8601 date): 3 - `content.text` (string): 3 - `content.title` (string): 3 - `entity.type` (string): 3 - `author.displayName` (string): 2 - `content.id` (string): 2 - `engagement.votes` (integer): 2 - `entity.slug` (string): 2 - `content.url` (URL): 1 - `listing.available` (boolean): 1 - `listing.condition` (string): 1 - `listing.seller` (string): 1 - plus 6 platform-specific fields under `ext.` ## Endpoints ### klarna.categories List root shopping categories on Klarna. - Price: 2 credits per fresh call. Status: beta. Access: needs a pack. Returns: a list. - Request: `GET https://api.onekey.dev/v1/klarna/categories` with header `x-api-key: YOUR_API_KEY` - Parameters: none - Fields returned: `entity.id`, `entity.name`, `entity.url`, `entity.slug` - Reference: https://onekey.dev/docs/api/klarna/categories.md ### klarna.categories_children List sub-categories of a Klarna category. - Price: 2 credits per fresh call. Status: beta. Access: needs a pack. Returns: a list. - Request: `GET https://api.onekey.dev/v1/klarna/categories_children?category_id=cl94` with header `x-api-key: YOUR_API_KEY` - Parameters: - `category_id` (string, required): Category id or slug, as returned by the categories endpoint - Fields returned: `entity.id`, `entity.name`, `entity.url`, `entity.slug` - Reference: https://onekey.dev/docs/api/klarna/categories_children.md ### klarna.category Browse products in a Klarna category. - Price: 2 credits per fresh call. Status: beta. Access: needs a pack. Returns: a list. - Request: `GET https://api.onekey.dev/v1/klarna/category?category_id=cl94` with header `x-api-key: YOUR_API_KEY` - Parameters: - `category_id` (string, required): Category id or slug, as returned by the categories endpoint - `cursor` (string, optional): Opaque cursor from a previous response's `pagination.next_cursor`. Omit for the first page. - Fields returned: `entity.id`, `entity.name`, `entity.url`, `entity.description`, `media.thumbnailUrl`, `listing.price`, `listing.currency`, `listing.brand`, `entity.stats.rating`, `entity.stats.ratingCount` - Reference: https://onekey.dev/docs/api/klarna/category.md ### klarna.category_filters Filters available for a Klarna category. - Price: 2 credits per fresh call. Status: beta. Access: needs a pack. Returns: a list. - Request: `GET https://api.onekey.dev/v1/klarna/category_filters?category_id=cl94` with header `x-api-key: YOUR_API_KEY` - Parameters: - `category_id` (string, required): Category id or slug, as returned by the categories endpoint - Fields returned: `entity.id`, `entity.name`, `entity.type` - Reference: https://onekey.dev/docs/api/klarna/category_filters.md ### klarna.category_guide Buying-guide content for a Klarna category. - Price: 2 credits per fresh call. Status: beta. Access: needs a pack. Returns: one record. - Request: `GET https://api.onekey.dev/v1/klarna/category_guide?category_id=cl94` with header `x-api-key: YOUR_API_KEY` - Parameters: - `category_id` (string, required): Category id or slug, as returned by the categories endpoint - Fields returned: `content.title`, `content.text`, `content.url` - Reference: https://onekey.dev/docs/api/klarna/category_guide.md ### klarna.category_keywords Popular search keywords for a Klarna category. - Price: 2 credits per fresh call. Status: beta. Access: needs a pack. Returns: a list. - Request: `GET https://api.onekey.dev/v1/klarna/category_keywords?category_id=cl94` with header `x-api-key: YOUR_API_KEY` - Parameters: - `category_id` (string, required): Category id or slug, as returned by the categories endpoint - Fields returned: `entity.name`, `ext.searchVolume` - Reference: https://onekey.dev/docs/api/klarna/category_keywords.md ### klarna.product A Klarna product by id. - Price: 2 credits per fresh call. Status: beta. Access: needs a pack. Returns: one record. - Request: `GET https://api.onekey.dev/v1/klarna/product?product_id=123456789` with header `x-api-key: YOUR_API_KEY` - Parameters: - `product_id` (string, optional): Product id as it appears on the product page URL - `url` (string, optional): Full URL of the product page (alternative to the id) - Fields returned: `entity.id`, `entity.name`, `entity.url`, `entity.description`, `media.thumbnailUrl`, `listing.price`, `listing.currency`, `listing.brand`, `entity.stats.rating`, `entity.stats.ratingCount` - Reference: https://onekey.dev/docs/api/klarna/product.md ### klarna.product_compare Compare two Klarna products side by side. - Price: 2 credits per fresh call. Status: beta. Access: needs a pack. Returns: a list. - Request: `GET https://api.onekey.dev/v1/klarna/product_compare?product_id=123456789&product_id_2=987654321` with header `x-api-key: YOUR_API_KEY` - Parameters: - `product_id` (string, required): Product id as it appears on the product page URL - `product_id_2` (string, required): Second product id to compare against - Fields returned: `entity.id`, `entity.name`, `entity.url`, `entity.description`, `media.thumbnailUrl`, `listing.price`, `listing.currency`, `listing.brand`, `entity.stats.rating`, `entity.stats.ratingCount`, `ext.differences` - Reference: https://onekey.dev/docs/api/klarna/product_compare.md ### klarna.product_offers Merchant offers for a Klarna product. - Price: 2 credits per fresh call. Status: beta. Access: needs a pack. Returns: a list. - Request: `GET https://api.onekey.dev/v1/klarna/product_offers?product_id=123456789` with header `x-api-key: YOUR_API_KEY` - Parameters: - `product_id` (string, optional): Product id as it appears on the product page URL - `url` (string, optional): Full URL of the product page (alternative to the id) - Fields returned: `entity.id`, `listing.seller`, `entity.url`, `listing.price`, `listing.currency`, `listing.condition`, `listing.available` - Reference: https://onekey.dev/docs/api/klarna/product_offers.md ### klarna.product_price_history Price history of a Klarna product. - Price: 2 credits per fresh call. Status: beta. Access: needs a pack. Returns: a list. - Request: `GET https://api.onekey.dev/v1/klarna/product_price_history?product_id=123456789` with header `x-api-key: YOUR_API_KEY` - Parameters: - `product_id` (string, optional): Product id as it appears on the product page URL - `url` (string, optional): Full URL of the product page (alternative to the id) - Fields returned: `content.createdAt`, `listing.price`, `listing.currency` - Reference: https://onekey.dev/docs/api/klarna/product_price_history.md ### klarna.reviews User reviews for a Klarna product. - Price: 2 credits per fresh call. Status: beta. Access: needs a pack. Returns: a list. - Request: `GET https://api.onekey.dev/v1/klarna/reviews?product_id=123456789` with header `x-api-key: YOUR_API_KEY` - Parameters: - `product_id` (string, optional): Product id as it appears on the product page URL - `url` (string, optional): Full URL of the product page (alternative to the id) - `cursor` (string, optional): Opaque cursor from a previous response's `pagination.next_cursor`. Omit for the first page. - Fields returned: `content.id`, `content.title`, `content.text`, `content.createdAt`, `author.displayName`, `engagement.votes`, `ext.rating` - Reference: https://onekey.dev/docs/api/klarna/reviews.md ### klarna.reviews_overview Review totals and score distribution of a Klarna product. - Price: 2 credits per fresh call. Status: beta. Access: needs a pack. Returns: one record. - Request: `GET https://api.onekey.dev/v1/klarna/reviews_overview?product_id=123456789` with header `x-api-key: YOUR_API_KEY` - Parameters: - `product_id` (string, optional): Product id as it appears on the product page URL - `url` (string, optional): Full URL of the product page (alternative to the id) - Fields returned: `entity.stats.rating`, `ext.total`, `ext.oneStar`, `ext.fiveStar` - Reference: https://onekey.dev/docs/api/klarna/reviews_overview.md ### klarna.reviews_pro Professional reviews of a Klarna product. - Price: 2 credits per fresh call. Status: beta. Access: needs a pack. Returns: a list. - Request: `GET https://api.onekey.dev/v1/klarna/reviews_pro?product_id=123456789` with header `x-api-key: YOUR_API_KEY` - Parameters: - `product_id` (string, optional): Product id as it appears on the product page URL - `url` (string, optional): Full URL of the product page (alternative to the id) - `cursor` (string, optional): Opaque cursor from a previous response's `pagination.next_cursor`. Omit for the first page. - Fields returned: `content.id`, `content.title`, `content.text`, `content.createdAt`, `author.displayName`, `engagement.votes`, `ext.rating` - Reference: https://onekey.dev/docs/api/klarna/reviews_pro.md ### klarna.search Search Klarna products by keyword. - Price: 2 credits per fresh call. Status: beta. Access: needs a pack. Returns: a list. - Request: `GET https://api.onekey.dev/v1/klarna/search?query=headphones` with header `x-api-key: YOUR_API_KEY` - Parameters: - `query` (string, required): Search query - Fields returned: `entity.id`, `entity.name`, `entity.url`, `entity.description`, `media.thumbnailUrl`, `listing.price`, `listing.currency`, `listing.brand`, `entity.stats.rating`, `entity.stats.ratingCount` - Reference: https://onekey.dev/docs/api/klarna/search.md ### klarna.search_suggestions Search suggestions for Klarna. - Price: 2 credits per fresh call. Status: beta. Access: needs a pack. Returns: a list. - Request: `GET https://api.onekey.dev/v1/klarna/search_suggestions?query=headphones` with header `x-api-key: YOUR_API_KEY` - Parameters: - `query` (string, required): Search query - Fields returned: `entity.name`, `entity.type` - Reference: https://onekey.dev/docs/api/klarna/search_suggestions.md ### klarna.store_filters Filters available on a Klarna store page. - Price: 2 credits per fresh call. Status: beta. Access: needs a pack. Returns: a list. - Request: `GET https://api.onekey.dev/v1/klarna/store_filters?id=gucci` with header `x-api-key: YOUR_API_KEY` - Parameters: - `id` (string, required): Klarna store id, as returned by the stores endpoint - Fields returned: `entity.id`, `entity.name`, `entity.type` - Reference: https://onekey.dev/docs/api/klarna/store_filters.md ### klarna.store_products Products listed by a Klarna store. - Price: 2 credits per fresh call. Status: beta. Access: needs a pack. Returns: a list. - Request: `GET https://api.onekey.dev/v1/klarna/store_products?id=gucci` with header `x-api-key: YOUR_API_KEY` - Parameters: - `id` (string, required): Klarna store id, as returned by the stores endpoint - `cursor` (string, optional): Opaque cursor from a previous response's `pagination.next_cursor`. Omit for the first page. - Fields returned: `entity.id`, `entity.name`, `entity.url`, `entity.description`, `media.thumbnailUrl`, `listing.price`, `listing.currency`, `listing.brand`, `entity.stats.rating`, `entity.stats.ratingCount` - Reference: https://onekey.dev/docs/api/klarna/store_products.md ### klarna.stores List shopping stores on Klarna. - Price: 2 credits per fresh call. Status: beta. Access: needs a pack. Returns: a list. - Request: `GET https://api.onekey.dev/v1/klarna/stores` with header `x-api-key: YOUR_API_KEY` - Parameters: - `cursor` (string, optional): Opaque cursor from a previous response's `pagination.next_cursor`. Omit for the first page. - Fields returned: `entity.id`, `entity.name`, `entity.url`, `entity.description`, `entity.stats.rating`, `entity.stats.ratingCount`, `media.thumbnailUrl` - Reference: https://onekey.dev/docs/api/klarna/stores.md ## Sample request ```bash curl "https://api.onekey.dev/v1/klarna/category_guide?category_id=cl94" \ -H "x-api-key: YOUR_API_KEY" ```