Media Expert
Media Expert Categories API
Media Expert's category tree, or one category's subtree: every node with its category id, path (the input of category), link, product count and child count, to the depth you ask (1 to 6). The top of the tree read 23 nodes and 464 nodes at depth 2 on 2026-11-21. Names are Polish (AGD = home appliances). Costs 2 credits.
Authorizations
AuthorizationstringheaderrequiredBearer authentication header of the form Bearer <token>, where <token> is your Scavio API key (e.g. Bearer sk_live_your_key).
Body
application/jsoncategorystringStart the tree at this category path (e.g. agd). Send category or category_id, not both; neither starts at the top.
Example: agd
category_idstring | integerStart the tree at this category id (e.g. 12900).
Example: 12798
depthintegerLevels to return, 1 to 6 (default 2 from the top, 3 from a category). child_count says what lies below a cut.
Example: 1
Notes
Store. One store: mediaexpert.pl, Poland, prices in PLN. There is no country input: Media Expert runs one Polish storefront. Names, specifications, labels, store names and review text come back in Polish, as Media Expert writes them; field names are English. Cost: 2 credits. Billing is the actual cost of the call, and every answer reports it in credits_used.
Request
from scavio import ScavioClient
client = ScavioClient(api_key="sk_live_your_key", timeout=210)
# The home appliance department (AGD), three levels deep.
data = client.mediaexpert.categories(category="agd", depth=3)["data"]
def walk(nodes, indent=0):
for n in nodes:
print(" " * indent, n["name"], n["path"], n["product_count"])
walk(n.get("children", []), indent + 2)
walk(data["categories"])Response