Brand lookup
Looks up Andele Mandele brand ids and names by a brand name or its first letters.
Loading / 加载中…
Andele Mandele API: search, product, categories, filters, brands · E-commerce & marketplace data
The Andele Mandele API searches Andele Mandele's secondhand marketplace listings by free text or by category, brand, attribute, price and sale filters, looks up a single listing by its id or URL for its price, condition, seller information and every image, lists the live category tree down to leaf categories with each node's listing count, returns the filter attributes and value ids a given category exposes, and resolves a brand name to the id andele-mandele-search takes as brand_ids.
JSON in, a structured response out. Every public gateway endpoint uses POST.
Looks up Andele Mandele brand ids and names by a brand name or its first letters.
Returns the full Andele Mandele category tree with each category's live listing count.
Returns the attributes and value ids Andele Mandele exposes for filtering within one category.
Returns one Andele Mandele listing's full price, condition, images and seller detail by id or URL.
Searches Andele Mandele listings by keyword, category, brand, attribute, price and sale filters, sorted and paged.
andele-mandele-search's body.query also answers to the names q, search and text; body.category_id also answers to category and catid; and body.brand_ids also answers to brands and brand_id. Each alternative name reaches the exact same field as the name it stands in for, so a value already keyed under one of them elsewhere does not need renaming before it reaches this operation. A body.category_id the site does not recognise comes back as zero matching rows instead of failing the call, and the same holds for a brand_ids or attribute_ids value that matches nothing: an unmatched filter narrows the result set down to nothing rather than producing an error.
body.min_price and body.max_price each only take a value of zero or higher and bound price_eur in euros; leaving either one out places no limit on that side, so a min_price alone still leaves the top end wide open. body.hide_reserved, defaulting to false, leaves out listings a buyer has already reserved regardless of whether that same listing happens to be on sale. body.on_sale, also defaulting to false, is the third independent toggle alongside it: turning it on adds the sale condition on top without changing what hide_reserved, min_price or max_price decide on their own. None of these fields sets a value for, or depends on, any of the others, so a call can combine all of them, some of them, or none at all, each narrowing the candidate pool on its own terms.
Each attribute andele-mandele-filters lists for a category carries a max_per_listing figure, the most values of that attribute a single listing can carry, next to the values a caller chooses from for body.attribute_ids. The category_id those attributes are scoped to is the same id andele-mandele-categories' tree assigns to that category, so a tree lookup and a filters lookup always agree on what a given id refers to. andele-mandele-categories keeps count, how many entries sit at the top level, apart from total_listings, the listing figure the whole tree carries, so the breadth of the top level and the size of everything beneath it are never read as the same number.
Every node inside andele-mandele-categories' tree, however deep, carries its own id, name, level, parent_id and url next to its listing_count, and nests further nodes of that same shape underneath it through children. level records how many steps that node sits below the top of the tree, and parent_id names the id of the node directly above it, so a caller already holding one node's data can place it in the tree without a second lookup.
andele-mandele-brands' brands list is paired with the follower_count and product_count that describe a brand in more depth; those two fields, together with a slug for the brand's own page address, surface instead inside andele-mandele-product's own brand object, scoped to the one listing being read. A brand such as ZARA keeps the same id, 23, across both operations: andele-mandele-brands' match list carries only that id and name, while andele-mandele-product's brand object for a ZARA listing adds slug, follower_count and product_count alongside the same id and name.
Andele Mandele is a Latvian online marketplace where private sellers list secondhand clothing, shoes, accessories, bags, children's items, household goods, books, electronics and vehicles. The marketplace traces back to 2008, when its founder, Līva Jaunozola, began organizing small in-person clothing-sale meetups with friends during Latvia's economic crisis.
Those meetups grew, without outside investment, into one of Latvia's best-known resale platforms, still holding offline markets that draw hundreds of participants alongside its online catalogue. Buyers can follow individual sellers and brands on the site so they hear about new secondhand listings as sellers add them.
{
"body": {
"query": "nike",
"category_id": 3,
"sort": "newest"
}
}POST /api/v1/andele-mandele/<action> with x-api-key, Content-Type: application/json and a required Idempotency-Key.ok: true: data is the result of the operation, meta.requestId identifies the recorded request and meta.chargedCreditUnits is the amount charged. Otherwise ok is false and error.code names the reason; read ok and error.code rather than relying on the HTTP status alone. Every gateway reply carries a request id for support: meta.requestId, or a top-level requestId in a reply without meta (such as a refusal before admission).Send body.page, which starts at 1 and can go up to 10000, and body.page_size, which accepts only 48 or 96 and defaults to 48. The response carries last_page, the final page number for the search, and has_more, which tells you whether another page follows the one you just read. Raise body.page by one each call and stop once has_more is false or body.page reaches last_page; a body.page_size of anything other than 48 or 96 is rejected rather than rounded to the nearer option.
Send body.category_id to scope the search to one category, body.brand_ids for one or more brands, and body.attribute_ids for condition, size, colour or material values. Within body.attribute_ids, ids of the same attribute are OR-ed together, so two size ids match either size, while ids of different attributes are AND-ed, so a size id and a condition id must both match. Size ids are specific to the size table of the category you searched, so look them up through andele-mandele-filters for that same body.category_id rather than reusing ids from another category.
andele-mandele-filters, called with the body.category_id you plan to search, lists condition, size, colour, material and whatever else that category defines, each paired with specific value ids under values. Pass the value ids you want into andele-mandele-search's body.attribute_ids. Size value ids are specific to each category's own size table, so the same physical size carries a different id in a clothing category than in a shoe category. Condition, colour and material work the same way: look up their value ids per category first, since a category without that attribute exposes none.
Send the brand name, or just its first letters, as body.query to andele-mandele-brands, which also accepts q or name as alternative names for the same field. Each match in the response comes back with only an id and a name, nothing fuller; take whichever id fits and put it straight into andele-mandele-search's body.brand_ids. andele-mandele-brands requires a query value; when nothing matches the name or prefix given, the response lists no brands.
Call andele-mandele-categories, which takes no required input. Its categories list nests through each node's own children list down to leaf categories, and every node, at any depth, carries its own id, name, level, parent_id, url and live listing_count. A node with no further children returns an empty children list, marking it as a leaf category. Any node's id, from any depth of that tree, is exactly what andele-mandele-search and andele-mandele-filters each expect wherever they ask for a category.
Send either body.id, the numeric id from an andele-mandele-search result row, or body.url, the listing's page address on the site; andele-mandele-product accepts either one on its own. body.id also accepts product_id as an alternative name for the same field. Omitting both body.id and body.url is rejected, since the operation needs one of them to know which listing to return; sending both at once is not required, since either on its own identifies the listing.
Send body.on_sale set to true to andele-mandele-search, which defaults to false, to limit results to listings in a seller's time-limited sale. Each matching row carries on_sale, sale_percent, price_eur, old_price_eur and old_price_kind, which names which of two base prices old_price_eur represents: before_sale, the price just before the sale started, or original_retail, the seller's stated original retail price. andele-mandele-product's fuller record adds a sale object with percent, price_eur and expires_at for the same listing.
Send body.sold_only set to true to andele-mandele-search, which defaults to false, to limit results to listings that have sold rather than ones still for sale. Combine it with body.category_id and body.attribute_ids to compare sold prices for comparable items, such as the same size and condition. body.sold_only draws from a short recent window of sold listings rather than the complete sales history, so results reflect recent sales rather than a long-run price archive.