/paypayfleamarket/categories

POST /api/paypayfleamarket/categories

Price: 1 credit

Walk the Yahoo!フリマ (formerly PayPay フリマ) category tree one level at a time. Pass a parent category id to get its direct children, or 1 for the 21 top-level categories. The tree is four levels deep and the returned ids are exactly the values the category filter of the listing search accepts. Leaf categories also carry the product category the source maps them to.

How to use it

Resolve Yahoo!フリマ / PayPay フリマ category ids for the category_ids filter of paypayfleamarket/items/search. Start with category=1 for the top level (ファッション, ゲーム、おもちゃ, ...) and pass a returned id to go deeper, up to four levels. Each result has id, name (Japanese only), url, parent_id, is_leaf, is_wear_category (the level where clothing size and colour filters apply) and product_category. Asking for the children of a leaf category returns 412.

Parameters

Request body

Response

Errors

Response headers