hagebau.de APIhagebau.de ↗
Access hagebau.de product catalog, category tree, brand listings, search results, and store finder via a structured REST API. 7 endpoints for German DIY data.
No input parameters required.
curl -X GET 'https://api.parse.bot/scraper/ea4e589d-8a57-4950-9af3-d23a2af6a283/get_categories' \ -H 'X-API-Key: $PARSE_API_KEY'
Get the full hierarchical category tree from hagebau.de. Returns nested categories with IDs, URLs, product counts, and children. No parameters required.
No input parameters required.
{
"type": "object",
"fields": {
"id": "string - category ID",
"url": "string - category URL slug",
"name": "string - root category name",
"children": "array of nested category objects with name, id, url, totalProductCount, children"
},
"sample": {
"data": {
"id": "237342220",
"url": "/connect-consolidated/",
"name": "Connect consolidated",
"level": 0,
"children": [
{
"id": "237594962",
"url": "/auto-zweirad/",
"name": "Auto & Zweirad",
"level": 1,
"children": [
{
"id": "237596188",
"url": "/auto-zweirad-autobatterien/",
"name": "Autobatterien",
"level": 2,
"hasChildren": true,
"totalProductCount": 85
}
],
"hasChildren": true,
"totalProductCount": 4968
}
],
"hasChildren": true
},
"status": "success"
}
}About the hagebau.de API
The hagebau.de API exposes 7 endpoints covering the full product catalog of Germany's hagebau home improvement chain, including product search, hierarchical category browsing, brand aggregation, detailed product attributes, and store lookup. The get_product_details endpoint returns schema.org structured data, tracking metadata, and key-value feature attributes for any product URL, while search_products handles both keyword queries and category-redirect searches.
Category and Product Browsing
The get_categories endpoint returns the complete hagebau.de category tree as nested objects, each with an id, url slug, name, totalProductCount, and a children array for subcategories. These slugs feed directly into get_category_products, which accepts a category_slug parameter and returns paginated product listings with name, price, id, images, brand, features, and url per product. Note that only level-2 or deeper slugs are valid for this endpoint — top-level slugs like garten or auto-zweirad return a 403 error from the source, so always use get_categories to discover valid deeper paths before querying products.
Search and Brand Data
search_products accepts a query string (e.g. 'bosch akkuschrauber') and an optional page integer for pagination. It returns a products array, a totalCount, and a filters object. The endpoint handles category-redirect cases where a single generic term maps to a category rather than a flat result set. get_category_brands returns brand names and per-brand product counts for a given level-2+ category slug, sourced from the manufacturer filter panel. get_all_brands aggregates brand data by sampling up to 10 level-2 subcategories — results are representative but not exhaustive across the full catalog.
Product Details and Store Finder
get_product_details accepts either a full hagebau.de product URL or a relative slug. It returns three distinct objects: dl_obj (analytics metadata including productName, productPrice, productManufacturer, and categoryPath), schema (schema.org Product data with name, brand, offers, description, and sku), and attributes (a key-value map of product-specific feature fields). get_store_availability returns store IDs and full store page URLs; an optional query string filters results by matching against store URLs, which typically encode city names like berlin or hamburg.
- Building a product price tracker for German hardware and building materials using
search_productsandget_product_details - Cataloging hagebau's full SKU inventory by walking the category tree from
get_categoriesand paginatingget_category_products - Extracting structured product specifications via the
attributesfield inget_product_detailsfor comparison tools - Identifying which brands carry the most products in a specific subcategory using
get_category_brands - Mapping hagebau store locations by city using
get_store_availabilitywith a city-name query filter - Aggregating brand presence across the hagebau catalog with
get_all_brandsfor competitive market research - Populating a product feed with schema.org data (name, SKU, offers, description) from
get_product_detailsfor structured data pipelines
| Tier | Price | Credits/month | Rate limit |
|---|---|---|---|
| Free | $0/mo | 100 | 5 req/min |
| Hobby | $30/mo | 1,000 | 20 req/min |
| Developer | $100/mo | 5,000 | 250 req/min |
One credit = one API call regardless of which marketplace API you call. Exceeding the rate limit returns a 429 response. Authenticate with the X-API-Key header.
Does hagebau.de have an official developer API?+
Why do some category slugs return errors in `get_category_products`?+
get_category_products. Top-level slugs such as garten or werkzeug are not valid inputs and will fail. Use get_categories first to retrieve the full nested tree, then use a child slug like werkzeug-maschinenwerkzeug or auto-zweirad-autobatterien as your category_slug parameter.Does `get_product_details` return stock availability or inventory levels?+
How complete is the data from `get_all_brands`?+
get_category_brands with a targeted category slug instead.