---
title: "hagebau API: German DIY product search as JSON"
description: "hagebau API for German DIY product search, category listings, prices and savings, stock, EANs and reviews as JSON. 1 credit per successful call."
url: https://perceptlayer.com/apis/hagebau
---

[APIs](https://perceptlayer.com/apis) / [Marketplaces](https://perceptlayer.com/verticals/marketplaces) / hagebau

1 credit per call 8 endpoints 17 datapoints 

# hagebau API

hagebau API for German DIY product search, category listings, prices and savings, stock, EANs and reviews as JSON. 1 credit per successful call.

[Get a free API key](https://perceptlayer.com/signup) Run it below

hagebau

GET /v1/hagebau/search?query=bohrmaschine 

```
{
  "success": true,
  "site": "de",
  "query": "bohrmaschine",
  "result_count": 60,
  "items": [
    {
      "position": 1,
      "id": "anP7000051232",
      "item_id": "1029526",
      "name": "Akku-Bohrschrauber »DDF482RFJ«, DDF482RFJ, 18V, 3,0 Ah, inkl. 2 Akkus im MAKPAC",
      "brand": {
        "name": "MAKITA"
      },
      "ean": "0088381813655",
      "sku": "1029526",
      "features": [
        "Complete",
        "43020103",
        "Ja"
      ],
      "images": [
        "https://image.hagebau.de/product_tile/akku-bohrschrauber-ddf482rfj-18-v-inkl-2-akkus--3000000000313907.jpg",
        "https://image.hagebau.de/product_tile/akku-bohrschrauber-ddf482rfj-18-v-inkl-2-akkus--17615267.jpg",
        "https://image.hagebau.de/product_tile/akku-bohrschrauber-ddf482rfj-18-v-inkl-2-akkus--3000000000252782.jpg"
      ],
      "ratings": 4.875,
      "review_count": 40,
      "availability_text": "lieferbar in 2-3 Werktagen",
      "available": true,
      "price": {
        "display_price": 199,
        "original_price": 229,
        "sale_price": 199,
        "strike_price": 229,
        "saved_amount": 30,
        "saved_percentage": 13,
        "customer_card_display_price": 193.03,
        "strike_price_is_rrp": true,
        "currency": "EUR"
      },
      "price_value": 199,
      "currency": "EUR",
      "url": "/p/makita-akku-bohrschrauber-ddf482rfj-18-v-inkl-2-akkus-anP7000051232/"
    },
    {
      "position": 2,
      "id": "anP7000051228",
      "item_id": "1029528",
      "name": "Akku-Bohrschrauber »DDF485RTJ«, DDF485RTJ, 18V, 5,0 Ah, 2 Akkus und Ladegerät im MAKPAC",
      "brand": {
        "name": "MAKITA"
      },
      "ean": "0088381866439",
      "sku": "1029528",
      "features": [
        "Complete",
        "43020103",
        "Ja"
      ],
      "images": [
        "https://image.hagebau.de/product_tile/akku-bohrschrauber-ddf485rtj-18-v-inkl-2-akkus--3000000000217472.jpg",
        "https://image.hagebau.de/product_tile/akku-bohrschrauber-ddf485rtj-18-v-inkl-2-akkus--17615367.jpg"
      ],
      "ratings": 4.956521739130435,
      "review_count": 23,
      "availability_text": "lieferbar in 2-3 Werktagen",
      "available": true,
      "price": {
        "display_price": 255,
        "original_price": 299,
        "sale_price": 255,
        "strike_price": 299,
        "saved_amount": 44,
        "saved_percentage": 15,
        "customer_card_display_price": 247.35,
        "strike_price_is_rrp": true,
        "currency": "EUR"
      },
      "price_value": 255,
      "currency": "EUR",
      "url": "/p/makita-akku-bohrschrauber-ddf485rtj-18-v-inkl-2-akkus-anP7000051228/"
    },
    {
      "position": 3,
      "id": "anP7000187333",
      "item_id": "1211367",
      "name": "Akku-Bohrschrauber »TE-CD 18/40 Li-Solo Power X-Change«, 18 V, ohne Akku",
      "brand": {
        "name": "EINHELL"
      },
      "ean": "4006825635768",
      "sku": "1211367",
      "features": [
        "Complete",
        "Nein",
        "18 V"
      ],
      "images": [
        "https://image.hagebau.de/product_tile/akku-bohrschrauber-te-cd-18-40-li-solo-power-x-change-18-v-ohne-akku--1000000000172705.jpg",
        "https://image.hagebau.de/product_tile/akku-bohrschrauber-te-cd-18-40-li-solo-power-x-change-18-v-ohne-akku--1000000000172710.jpg",
        "https://image.hagebau.de/product_tile/akku-bohrschrauber-te-cd-18-40-li-solo-power-x-change-18-v-ohne-akku--1000000000172707.jpg"
      ],
      "ratings": 4.875,
      "review_count": 8,
      "availability_text": "lieferbar in 2-3 Werktagen",
      "available": true,
      "price": {
        "display_price": 39.99,
        "customer_card_display_price": 38.79,
        "strike_price_is_rrp": false,
        "currency": "EUR"
      },
      "price_value": 39.99,
      "currency": "EUR",
      "url": "/p/einhell-akku-bohrschrauber-te-cd-18-40-li-solo-power-x-change-18-v-ohne-akku-anP7000187333/"
    }
  ],
  "page": 1,
  "page_size": 60,
  "pages_count": 2,
  "has_more": true,
  "applied_filters": {
    "query": "bohrmaschine",
    "page": 1
  },
  "meta": {
    "endpoint_family": "hagebau-search",
    "attempts": 1,
    "request_id": "req_9f050661fcb845f5859c76a4b90012b2",
    "credits_charged": 1,
    "credits_remaining": 4920
  }
}
```

200 OK JSON X-Credits-Used: 1

Recorded from our API and shortened.

Sample data

## What one call returns

A recorded run of `search`: the fields and shapes you will get, shortened to 3 items.

| # | position integer | id string | item\_id string | name string | brand object | ean string | sku string | features string\[\] | images string\[\] | ratings number | review\_count integer | availability\_text string | available boolean | price object | price\_value number | currency string | url string |
| --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- | --- |
| 1 | 1 | anP7000051232 | 1029526 | Akku-Bohrschrauber »DDF482RFJ«, DDF482RFJ, 18V, 3,0 Ah, inkl. 2 Akkus im MAKPAC | {1 fields} | 0088381813655 | 1029526 | \[3 items\] | \[3 items\] | 4.875 | 40 | lieferbar in 2-3 Werktagen | true | {9 fields} | 199 | EUR | /p/makita-akku-bohrschrauber-ddf482rfj-18-v-inkl-2-akkus-anP7000051232/ |
| 2 | 2 | anP7000051228 | 1029528 | Akku-Bohrschrauber »DDF485RTJ«, DDF485RTJ, 18V, 5,0 Ah, 2 Akkus und Ladegerät im MAKPAC | {1 fields} | 0088381866439 | 1029528 | \[3 items\] | \[2 items\] | 4.956521739130435 | 23 | lieferbar in 2-3 Werktagen | true | {9 fields} | 255 | EUR | /p/makita-akku-bohrschrauber-ddf485rtj-18-v-inkl-2-akkus-anP7000051228/ |
| 3 | 3 | anP7000187333 | 1211367 | Akku-Bohrschrauber »TE-CD 18/40 Li-Solo Power X-Change«, 18 V, ohne Akku | {1 fields} | 4006825635768 | 1211367 | \[3 items\] | \[3 items\] | 4.875 | 8 | lieferbar in 2-3 Werktagen | true | {4 fields} | 39.99 | EUR | /p/einhell-akku-bohrschrauber-te-cd-18-40-li-solo-power-x-change-18-v-ohne-akku-anP7000187333/ |

Recorded from our API · 3 items shown · 17 datapoints per item GET /v1/hagebau/search?query=bohrmaschine

17 datapoints

### Identity

-   id string
-   item\_id string
-   name string
-   brand object
-   sku string

### Contact

-   url string

### Reputation

-   images string\[\]
-   ratings number
-   review\_count integer

### Price

-   price object
-   price\_value number
-   currency string

### Other

-   position integer
-   ean string
-   features string\[\]
-   availability\_text string
-   available boolean

Playground

## Run this API

cURL shell 

```
curl "https://api.perceptlayer.com/v1/hagebau/search?query=bohrmaschine" \
  -H "X-API-Key: $API_KEY"
```

hagebau · 8 endpoints

## Endpoints

Every endpoint takes the same key. Open one for its parameters, the fields it returns and an example request.

| Endpoint | Required parameters | Returns | Cost |
| --- | --- | --- | --- |
| [GET `/v1/hagebau/autocomplete`](https://perceptlayer.com/apis/hagebau/autocomplete) | `query` | `breadcrumbs` `category` `link` `title` `value` `categoryName` +1 more | 1 credit |
| [GET `/v1/hagebau/categories`](https://perceptlayer.com/apis/hagebau/categories) | none | `id` `name` `slug` `path` `children` | 1 credit |
| [GET `/v1/hagebau/category`](https://perceptlayer.com/apis/hagebau/category) | `path` +8 optional | `site` `category` `result_count` `items` `pages_count` `applied_filters` | 1 credit |
| [GET `/v1/hagebau/opensearch`](https://perceptlayer.com/apis/hagebau/opensearch) | none | `site` `opensearch` | 1 credit |
| [GET `/v1/hagebau/product`](https://perceptlayer.com/apis/hagebau/product) | `id` | `site` `product` `reviews` `structured_data` | 1 credit |
| [GET `/v1/hagebau/reviews`](https://perceptlayer.com/apis/hagebau/reviews) | `id` +1 optional | `site` `product_id` `rating` `review_count` `reviews` | 1 credit |
| [GET `/v1/hagebau/search`](https://perceptlayer.com/apis/hagebau/search) | `query` +8 optional | `site` `result_count` `items` `pages_count` `applied_filters` | 1 credit |
| [GET `/v1/hagebau/sitemap`](https://perceptlayer.com/apis/hagebau/sitemap) | none +1 optional | `url` | 1 credit |

Overview

## About the hagebau API

## What you can get

The hagebau API returns hagebau product data from Germany as JSON through 8 endpoints. Prices are in EUR.

-   **Search:** `search` takes a `query`, with `p`, `sortBy` ( `ft`, `ct`, `price`, `pricedesc` or `reviewrating`) and filters `filter[category]`, `filter[manufacturer]`, `filter[from_PRICE]`, `filter[to_PRICE]` and `filter[ITEM_TYPE]`. `autocomplete` takes a partial `query` and returns category, product and search suggestions.
-   **Categories:** `category` takes a category `path`, with the same paging, sort and filters. `categories` returns the category tree.
-   **Products:** `product` takes an `id`. `reviews` takes an `id`, with `page`.
-   **Site:** `sitemap` lists sitemap files, with `index`. `opensearch` returns the site's search descriptor.

The recorded search for "bohrmaschine" returns `items`, each with `position`, `id`, `item_id`, `name`, `brand`, `ean`, `sku`, `features`, `images`, `ratings`, `review_count`, `availability_text`, `available`, `price` and `url`, with 60 per page over 2 pages. The first, a Makita DDF482RFJ cordless drill, was 199 EUR, down from 229 (13% saved), or 193.03 EUR with the customer card. `product` adds `gtin13`, `description`, `price_valid_until`, `in_stock`, `dimensions` and `reviews`.

## How a call works

Search, then look up: `GET /v1/hagebau/search?query=bohrmaschine` with your key in the `X-API-Key` header returns each product's `id` (such as `anP7000051232`). Pass it to `product` or `reviews`. Category paths come from `categories`, for example `GET /v1/hagebau/category?path=werkzeug-maschinen-akkuschrauber`. Page with `p` while `has_more` is true. Every successful call costs 1 credit; failed calls cost nothing.

Marketplaces JSON REST MCP

### More marketplaces APIs

[About You](https://perceptlayer.com/apis/about-you) [adidas](https://perceptlayer.com/apis/adidas) [Albert Heijn](https://perceptlayer.com/apis/albert-heijn) [ALDI SÜD](https://perceptlayer.com/apis/aldi-sued) [Alibaba](https://perceptlayer.com/apis/alibaba) [AliExpress](https://perceptlayer.com/apis/aliexpress) [Allegro](https://perceptlayer.com/apis/allegro) [ALTERNATE](https://perceptlayer.com/apis/alternate) [Alza](https://perceptlayer.com/apis/alza) [Amazon](https://perceptlayer.com/apis/amazon) [Americanas](https://perceptlayer.com/apis/americanas) [Aponeo](https://perceptlayer.com/apis/aponeo)

Use cases

### Track hagebau prices, strike prices and customer card prices for a tool list

`Use the hagebau API to track hagebau prices, strike prices and customer card prices for a tool list` 

### List every cordless screwdriver in a category, sorted by price or rating

`Use the hagebau API to list every cordless screwdriver in a category, sorted by price or rating` 

### Match hagebau products to your catalogue by \`ean\`

`` Use the hagebau API to match hagebau products to your catalogue by `ean` `` 

### Filter a search by manufacturer and price band

`Use the hagebau API to filter a search by manufacturer and price band` 

FAQ

## Questions

**How much does the hagebau API cost?**

Each successful call costs one credit, whichever endpoint you call, and each page of results is one call. Failed calls cost nothing.

**Which prices come back?**

\`search\` and \`category\` return a \`price\` object with \`display\_price\`, \`original\_price\`, \`sale\_price\`, \`strike\_price\`, \`saved\_amount\`, \`saved\_percentage\`, \`customer\_card\_display\_price\` and \`strike\_price\_is\_rrp\`. \`product\` returns \`price\`, \`original\_price\` and \`price\_valid\_until\`.

**How recent are reviews?**

They are returned as stored, oldest included. The recorded product had 23 reviews with a 4.96 average, and the first returned dated from 2020. Each review has \`author\`, \`text\`, \`date\` and \`rating\`.

**Do I need a hagebau account?**

No. You call this hagebau API with your Perceptlayer key in the \`X-API-Key\` header, with no hagebau login.

**Is this the official hagebau API?**

No. Perceptlayer is an independent service and is not affiliated with hagebau. It returns hagebau data as JSON with a Perceptlayer key, so there is no hagebau developer account, app review or partner approval to get first. It only reads data: if hagebau has an official API and you need to act on your own hagebau account, such as posting, managing orders or reading private data, use that one.

**Should I build a hagebau scraper instead?**

You can, but a hagebau scraper is code you maintain: page changes break it, requests get blocked, and hagebau's terms govern how you collect data. The hagebau API gives you 8 endpoints of named JSON fields for 1 credit per successful call, and failed calls cost nothing. A scraper makes sense only for data these endpoints don't return, so check the response in the playground on this page first.

## Try the hagebau API with 100 free credits

No credit card. Failed calls are never billed.

[Get a free API key](https://perceptlayer.com/signup) [Read the docs](https://docs.perceptlayer.com)
