Discover/Hagebau API
live

Hagebau 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.

This API takes change requests — .
Endpoint health
verified 7d ago
get_categories
get_all_brands
get_category_products
get_store_availability
search_products
7/7 passing latest checkself-healing
Endpoints
7
Updated
1mo ago

What is the Hagebau 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.

This call costs1 credit / call— charged only on success
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.
Call it over HTTPgrab 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'
Python SDK · recommended

Typed, relational, agent-ready

A generated client with real types, enums, and the links between objects — the structure a flat JSON response can't carry. Autocompletes in your editor and reads cleanly to coding agents.

  • Fully typed · autocompletes
  • Objects link to objects
  • Typed errors & pagination

Typed Python client. Set up the SDK in your uv project, then pull this API’s typed client:

uv add parse-sdk
uv run parse init
uv run parse add --marketplace hagebau-de-api

uv run parse add --marketplace pulls a pinned snapshot of this canonical API — it won’t change underneath you. To customize it, subscribe and swap to your own copy.

from parse_apis.hagebau_api import Hagebau, Category, Product, Brand, Store

hagebau = Hagebau()

# Construct a category by its URL slug and browse its products
category = Category(_api=hagebau, url="auto-zweirad-autobatterien")
for product in category.products(limit=5):
    print(product.name, product.sku, product.available)

# List brands in that category
for brand in category.brands():
    print(brand.name, brand.count)

# Search for products across the catalog
for product in hagebau.products.search(query="bosch akkuschrauber", limit=3):
    print(product.id, product.name, product.review_average)

# List all brands across the catalog
for brand in hagebau.brands.list_all(limit=10):
    print(brand.name, brand.count)

# Find stores near Berlin
for store in hagebau.stores.find(query="Berlin"):
    print(store.id, store.url)
All endpoints · 7 totalmissing one? ·

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"
  },
  "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": 5243
        }
      ],
      "hasChildren": true
    },
    "status": "success"
  }
}

About the Hagebau API

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.

Reliability & maintenanceVerified

The Hagebau API is a managed, monitored endpoint for hagebau.de — not a raw scraper you maintain. Every endpoint is automatically health-checked on a schedule, and when hagebau.de changes and a check fails, the API is automatically queued for repair and re-verified. It is built to keep working as the site underneath it changes.

This isn't an official hagebau.de API — it's an independent, maintained REST wrapper over public data. Where the source has no official API (or only a limited one), Parse gives you a stable contract over a source that never promised one, and keeps it current. Need a new endpoint or field? You can revise it yourself in plain English and the agent rebuilds it against the live site in minutes — contributing the change back to the shared API is free.

Last verified
7d ago
Latest check
7/7 endpoints passing
Maintenance
Monitored & self-healing
Will this API break when the source site changes?+
It's built not to. Every endpoint is health-checked on a schedule with automated test probes. When the source site changes and a check fails, the API is automatically queued for repair and re-verified — that's the self-healing layer. Each API page shows when its endpoints were last verified. And because marketplace APIs are shared, any fix reaches everyone using it.
Is this an official API from the source site?+
No — Parse APIs are independent, managed REST wrappers over publicly available data. That is the point: where a site has no official API (or only a limited one), Parse gives you a maintained, monitored endpoint for that data and keeps it working as the site changes — so you get a stable contract over a source that never promised one.
Can I fix or extend this API myself if I need a new endpoint or field?+
Yes — and you don't have to wait on us. This API was generated by the Parse agent, which stays attached. Describe the change in plain English ("add an endpoint that returns reviews", "fix the price field") in the revise box on the API page or via the revise_api MCP tool, and the agent rebuilds it against the live site in minutes. Contributing the change back to the public API is free.
What happens if I call an endpoint that has an issue?+
Errors are machine-readable: a bad call returns a clean status with the list of available endpoints and a repair hint, so an agent (or you) can recover or trigger a fix instead of failing silently. Confirmed failures feed the automatic repair queue.
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/mo2005 req/min
Hobby$30/mo1,00020 req/min
Developer$100/mo5,000100 req/min
Team$300/mo20,000300 req/min
Company$1,000/mo100,000500 req/min

Each endpoint has a fixed posted price per successful call — most fall between 1 and 10 credits — shown on this API's page before you run it. 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 →
hornbach.de API
Search for building and home improvement products at HORNBACH Germany and instantly access detailed pricing, delivery information, and real-time stock availability across all store locations. Check which items are in stock near you and get complete product specifications to make informed purchasing decisions.
bauhaus.info API
Search for hardware products and check real-time availability across BAUHAUS Germany store locations to find exactly what you need and where to get it. View detailed product information including specifications and pricing to make informed purchasing decisions before visiting a store.
globus-baumarkt.de API
Search for DIY and building materials across Globus Baumarkt's product catalog, view detailed product information including prices and specifications, and instantly check which nearby branches have items in stock for pickup or reservation. Never waste time calling stores again—find exactly what you need and where to get it, all in one place.
obi.de API
Search for hardware and home improvement products at OBI Germany stores and instantly view detailed product information along with real-time stock availability at specific locations near you. Find exactly what you need and confirm it's in stock before making the trip to your local store.
toom.de API
Search for products across toom Baumarkt's catalog and instantly access detailed pricing, specifications, and real-time stock levels at branches near your German postal code. Find exactly what you need and discover where to pick it up locally in just a few clicks.
hood.de API
Browse and search thousands of products on hood.de, view detailed product information, explore categories, and discover current deals—all with autocomplete suggestions to help you find exactly what you're looking for. Get real-time access to pricing, availability, and special offers from Germany's popular online marketplace.
homedepot.com API
Search and browse Home Depot's product catalog to compare pricing, check real-time availability, and review detailed product specifications. Find products across all categories, look up store locations and hours, and check fulfillment options including in-store pickup and delivery.
fahrrad.de API
Search and browse e-bikes and bicycles from fahrrad.de to compare technical specifications, prices, and real-time availability across their store network. Find products by brand, view detailed product information, and locate inventory at specific store locations.