Klarna hub

Klarna Categories API

Walk Klarna's category tree from the top level down to sub-categories.

GET /v1/klarna/categories/children

1 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.

Request
cURL

Example response

A 200 response. Live responses have the same shape with current data.

Request
JSON

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.