Discover/hagebau.de API
live

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.

Endpoints
7
Updated
14d ago
Try it

No input parameters required.

api.parse.bot/scraper/ea4e589d-8a57-4950-9af3-d23a2af6a283/<endpoint>
Ready to send
Fill in the parameters and hit sign in to send to see live response data here.
Use it in your codegrab a free API key at signup
curl -X GET 'https://api.parse.bot/scraper/ea4e589d-8a57-4950-9af3-d23a2af6a283/get_categories' \
  -H 'X-API-Key: $PARSE_API_KEY'
All endpoints · 7 totalclick to expand

Get the full hierarchical category tree from hagebau.de. Returns nested categories with IDs, URLs, product counts, and children. No parameters required.

Input

No input parameters required.

Response
{
  "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.

Common use cases
  • Building a product price tracker for German hardware and building materials using search_products and get_product_details
  • Cataloging hagebau's full SKU inventory by walking the category tree from get_categories and paginating get_category_products
  • Extracting structured product specifications via the attributes field in get_product_details for 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_availability with a city-name query filter
  • Aggregating brand presence across the hagebau catalog with get_all_brands for competitive market research
  • Populating a product feed with schema.org data (name, SKU, offers, description) from get_product_details for structured data pipelines
Pricing & limitsSee full pricing →
TierPriceCredits/monthRate limit
Free$0/mo1005 req/min
Hobby$30/mo1,00020 req/min
Developer$100/mo5,000250 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.

Frequently asked questions
Does hagebau.de have an official developer API?+
Hagebau does not publish a public developer API. There is no documented REST or GraphQL interface listed in their developer resources or on hagebau.de.
Why do some category slugs return errors in `get_category_products`?+
Only level-2 or deeper category slugs work with 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?+
Not currently. The endpoint returns pricing, attributes, schema.org product data, and analytics metadata, but does not include in-store or online stock levels. You can fork this API on Parse and revise it to add an endpoint that queries per-store availability for a given product.
How complete is the data from `get_all_brands`?+
The endpoint samples up to 10 level-2 subcategories to aggregate brand names and product counts. This gives a representative cross-section of the catalog but will not include every brand in every category. For exhaustive brand coverage within a specific category, use get_category_brands with a targeted category slug instead.
Does the API return customer reviews or product ratings?+
Not currently. The API covers product attributes, pricing, schema.org metadata, and category/brand structure, but review counts and star ratings are not included in any response. You can fork this API on Parse and revise it to add the missing endpoint for review data.
Page content last updated . Spec covers 7 endpoints from hagebau.de.
Related APIs in EcommerceSee all →
lowes.com API
Search and browse products from Lowe's, including product listings by category, detailed product information, and pricing. Retrieve comprehensive details on specific items to compare options and make informed purchasing decisions.
bilbasen.dk API
Search Denmark's largest car marketplace to find vehicles by make and model, then access detailed pricing and technical specifications including emissions, weight, MSRP, battery size, and equipment details. Get comprehensive car listings and full specs to compare vehicles on Bilbasen.dk.
jula.fi API
Search and browse products from Jula.fi to find hardware items with detailed information including prices (with and without VAT), stock availability, brand details, and product SKUs. Explore products by category or search for specific items to compare pricing and check real-time stock status.
leroymerlin.fr API
Search and browse Leroy Merlin France's complete product catalog to find items by category, view pricing, product details, and compare offerings from Leroy Merlin and their online partners. Access real-time product information including names, IDs, URLs, and seller details to help you discover and evaluate home improvement and DIY products.
industrynet.com API
Find industrial suppliers and browse product categories across a comprehensive marketplace directory. Connect directly with suppliers by viewing detailed listings and submitting contact inquiries programmatically.
carsforsale.com API
Search vehicle listings and browse detailed car inventory by make, model, and trim to find the perfect vehicle on CarsForSale.com. Access comprehensive listing details including pricing, specifications, and availability all in one place.
vivino.com API
Search and discover wines across thousands of options while accessing detailed information like user reviews, pricing, winery profiles, and food pairing recommendations. Explore grape varieties, compare wines side-by-side, and find the perfect bottle based on ratings and availability.
x-kom.pl API
Access product data from x-kom.pl, a major Polish electronics retailer. Search products by keyword or category, retrieve detailed product pages, customer reviews, Q&A, promotions, flash deals, and physical store locations.