Klarna Categories API
Walk Klarna's category tree from the top level down to sub-categories.
GET /v1/klarna/categories/children1 credit Failed requests are free Found, empty and not-found answers are all charged
About this endpoint
GET /v1/klarna/categories/children returns Klarna's top-level categories in data.categories, each with the categories one level below. Pass category=t19 for the categories under Gaming & Entertainment, or a product list such as cl165 for its sub-categories with productCount.
Each category has an id, kind, name, url and imageUrl. A tree id goes back here, a list id goes to /v1/klarna/category as category, and a subcategory id goes there as subcategory with its list.
Price
From $1.35 per 1,000 requests
1 credit per request. Failed requests are free.
- Scale pack
- $1.64 / 1,000
- Growth pack
- $2.36 / 1,000
The lowest rate is on annual plans; packs are pay as you go.
Example request
Send your API key in the x-api-key header. New accounts get 100 free credits, no card needed.
Example response
A 200 response. Live responses have the same shape with current data.
Klarna Categories API FAQ
What are tree, list and sub-category ids?
A tree such as t19 groups other categories. A list such as cl52 holds products. A sub-category such as 100003492-100014243 narrows a list, here Gamepads within Game Controllers.
How deep does one call go?
Two levels: the categories below the one asked for, each with the categories below it. Call again with a tree id to go deeper.
How many credits does a request cost?
Pricing is documented on the operation in the API registry (shown on this page). Confirm on every response with meta.creditsCharged: that field is the billing source of truth.
Other Klarna endpoints
- ProductGET /v1/klarna/product
- Product offersGET /v1/klarna/product/offers
- Price historyGET /v1/klarna/product/price-history
- Similar productsGET /v1/klarna/product/similar
- Product reviewsGET /v1/klarna/product/reviews
- Review summaryGET /v1/klarna/product/reviews/summary
- SearchGET /v1/klarna/search
- Search suggestionsGET /v1/klarna/search/suggestions