Skip to the content
EnrichedNowDocs

    Type to search every page.

    Menu

    Scraper APIGelbe Seiten

    gelbeseiten.business

    A business's page on gelbeseiten.de: name, kind, address, coordinates, telephone, website, opening hours, rating, services, description and reviews.

    Id
    gelbeseiten.business
    Version
    1
    Billed per
    request — 1 unit for a charged run
    Runs
    within one request

    Start it with POST /v1/scrapers/gelbeseiten.business/runs. How runs work is in Running a scraper; what a run costs is in Usage and units.

    Inputs

    The fields of input. A field that is not listed here is refused.

    Inputs of gelbeseiten.business
    FieldTypeDescription
    businessrequiredstringA business's number on gelbeseiten.de, e.g. 88171759-1814-40de-82db-b1c496b33fec, or the address of its page (https://www.gelbeseiten.de/gsbiz/<number>).Limit: at least 1 characters, at most 2048 characters.

    Record fields

    Every record of a run has these fields. A value that is not known is null — never an empty string and never 0.

    Record fields of gelbeseiten.business
    FieldTypeNotes
    business_idstringGelbe Seiten' number of the business.
    urlstringThe business's page on gelbeseiten.de.
    namestringThe business's name.
    kindsarray of stringThe schema.org kinds of business the page gives, e.g. HairSalon, Dentist.
    streetstring or nullThe street and number.
    postal_codestring or nullThe postcode.
    citystring or nullThe town or city.
    countrystring or nullThe country, a two-letter code.
    latitudenumber or nullLatitude, in decimal degrees.
    longitudenumber or nullLongitude, in decimal degrees.
    phonestring or nullThe telephone number, as printed.
    websitestring or nullThe business's own website.
    hoursarray of objectThe opening hours of a week, as the page states them.
    day (in hours[])stringThe day, in English: Monday … Sunday.
    opens (in hours[])stringWhen it opens, HH:MM.
    closes (in hours[])stringWhen it closes, HH:MM.
    ratingnumber or nullThe average rating, out of 5.
    rating_countinteger or nullHow many ratings it has.
    keywordsarray of stringThe services and trades the page lists for it.
    descriptionstring or nullThe business's own description.
    logostring or nullThe business's logo.
    imagesarray of stringThe pictures on its page.
    reviewsarray of objectThe reviews the page shows, without their authors.
    rating (in reviews[])number or nullThe stars given, out of 5.
    text (in reviews[])string or nullWhat the reviewer wrote.
    written_on (in reviews[])string (date) or nullThe day it was written.
    updated_onstring (date) or nullWhen Gelbe Seiten last changed the entry, as the page states.
    fetched_atstring (date-time)When the page was read, in UTC.

    Example request

    # Start a run and wait up to 60 seconds for it to finish
    curl -X POST "https://api.enrichednow.com/v1/scrapers/gelbeseiten.business/runs?wait=60" \
      -H "Authorization: Bearer $ENRICHEDNOW_API_KEY" \
      -H "Content-Type: application/json" \
      -d '{"input":{"business":"88171759-1814-40de-82db-b1c496b33fec"}}'
    
    # Read its records, with the id the first call answered
    curl "https://api.enrichednow.com/v1/runs/$RUN_ID/records?limit=100" \
      -H "Authorization: Bearer $ENRICHEDNOW_API_KEY"
    from enrichednow import EnrichedNow
    
    client = EnrichedNow()  # reads ENRICHEDNOW_API_KEY
    
    # Start a run, wait for it to end, and get its records
    result = client.scrape("gelbeseiten.business", {
        "business": "88171759-1814-40de-82db-b1c496b33fec",
    })
    print(result.run.id, result.run.status, result.run.record_count)
    
    # Read its records: pages are fetched as you go
    for record in result.records:
        print(record)

    Install it with pip install enrichednow, then save as run.py and run python3 run.py

    import EnrichedNow from "enrichednow";
    
    const client = new EnrichedNow(); // reads ENRICHEDNOW_API_KEY
    
    // Start a run, wait for it to end, and get its records
    const { run, records } = await client.scrape("gelbeseiten.business", {
      business: "88171759-1814-40de-82db-b1c496b33fec",
    });
    console.log(run.id, run.status, run.record_count);
    
    // Read its records: pages are fetched as you go
    for await (const record of records) console.log(record);

    Install it with npm install enrichednow, then save as run.mjs and run node run.mjs

    package main
    
    import (
    	"context"
    	"fmt"
    	"log"
    	"time"
    
    	enrichednow "github.com/enrichednow/enrichednow-go"
    )
    
    func main() {
    	client, err := enrichednow.NewClient() // reads ENRICHEDNOW_API_KEY
    	if err != nil {
    		log.Fatal(err)
    	}
    	ctx, cancel := context.WithTimeout(context.Background(), 10*time.Minute)
    	defer cancel()
    
    	// Start a run, wait for it to end, and get its records
    	run, records, err := client.Scrape(ctx, "gelbeseiten.business", map[string]any{"business": "88171759-1814-40de-82db-b1c496b33fec"})
    	if err != nil {
    		log.Fatal(err)
    	}
    	fmt.Println(run.ID, run.Status, run.RecordCount)
    
    	// Read its records: pages are fetched as you go
    	for records.Next() {
    		fmt.Println(string(records.Current()))
    	}
    	if err := records.Err(); err != nil {
    		log.Fatal(err)
    	}
    }

    Install it with go get github.com/enrichednow/enrichednow-go@latest, then save as run.go and run go run run.go

    import com.enrichednow.EnrichedNowClient;
    import com.enrichednow.ScrapeResult;
    import java.util.Map;
    
    public class Run {
        public static void main(String[] args) {
            EnrichedNowClient client = EnrichedNowClient.fromEnv(); // reads ENRICHEDNOW_API_KEY
    
            // Start a run, wait for it to end, and get its records
            ScrapeResult result = client.scrape("gelbeseiten.business", Map.of("business", "88171759-1814-40de-82db-b1c496b33fec"));
            System.out.println(result.run().id() + " " + result.run().status() + " " + result.run().recordCount());
    
            // Read its records: pages are fetched as you go
            for (Map<String, Object> record : result.records()) {
                System.out.println(record);
            }
        }
    }

    Add com.enrichednow:enrichednow-java:0.4.0 to your Maven or Gradle build, then save as Run.java

    enrichednow run gelbeseiten.business --input business=88171759-1814-40de-82db-b1c496b33fec

    Install it with curl -fsSL https://raw.githubusercontent.com/enrichednow/enrichednow-cli/main/install.sh | sh

    It starts a run with this scraper’s example input, waits for it to finish and reads its records a page at a time. The key is read from ENRICHEDNOW_API_KEY.

    The body on its own:

    JSON
    {
      "input": {
        "business": "88171759-1814-40de-82db-b1c496b33fec"
      }
    }

    Example response

    The run, once it has ended. A run that has not ended within wait comes back with 202 and the status queued or running.

    JSON
    {
      "id": "run_841742f37553189ff9c27ba1",
      "scraper_id": "gelbeseiten.business",
      "scraper_version": 1,
      "status": "ok",
      "reason": null,
      "input": {
        "business": "88171759-1814-40de-82db-b1c496b33fec"
      },
      "record_count": 1,
      "units": 1,
      "units_per_request": 1,
      "units_per_record": null,
      "units_per_page": null,
      "diagnostics": {
        "requests": 1,
        "bytes": 259214,
        "wall_ms": 885,
        "facts": {}
      },
      "created_at": "2026-11-16T22:37:50.170950Z",
      "started_at": "2026-11-16T22:37:50.178331Z",
      "finished_at": "2026-11-16T22:37:51.066313Z"
    }

    Its records, from GET /v1/runs/{id}/records. The record is a real one: this scraper's own parser read it from a page recorded from the site.

    JSON
    {
      "records": [
        {
          "business_id": "88171759-1814-40de-82db-b1c496b33fec",
          "url": "https://www.gelbeseiten.de/gsbiz/88171759-1814-40de-82db-b1c496b33fec",
          "name": "McMonagle Hair",
          "kinds": [
            "HealthAndBeautyBusiness",
            "HairSalon"
          ],
          "street": "Ledererstr. 10",
          "postal_code": "80331",
          "city": "München",
          "country": "DE",
          "latitude": 48.136665,
          "longitude": 11.579613,
          "phone": null,
          "website": "http://www.mcmonagle.de",
          "hours": [
            {
              "day": "Tuesday",
              "opens": "10:00",
              "closes": "19:00"
            },
            {
              "day": "Wednesday",
              "opens": "10:00",
              "closes": "19:00"
            }
          ],
          "rating": 4.3,
          "rating_count": 22,
          "keywords": [],
          "description": null,
          "logo": null,
          "images": [],
          "reviews": [
            {
              "rating": 5,
              "text": "Annemarie ist wirklich einer der nettesten und lustigsten Menschen, die ich je getroffen habe. Jedes Mal, wenn ich den Salon besuche, sehe ich immer besser aus und fühle mich besser! Durch ihren Schnitt und ihre Farbe fühle ich mich immer … [truncated]",
              "written_on": "2024-06-06"
            },
            {
              "rating": 5,
              "text": "Ich gehe immer wieder gerne hierher! Service 10/10 und Haare 10/10! + Ich habe immer die Garantie, die beste Farbe in München zu haben!",
              "written_on": "2024-05-07"
            }
          ],
          "updated_on": "2026-11-18",
          "fetched_at": "2026-11-19T18:07:40.213840Z"
        }
      ],
      "next_cursor": null
    }

    What was done to the record for this page, and nothing else — the API returns every value whole. A text that was cut ends with … [truncated].

    • Shortened: hours: 5 items, the first 2 shown.
    • Shortened: reviews: 10 items, the first 2 shown.
    • Shortened: reviews[0].text: 451 characters, the first 238 shown.
    • Left out: phone: the business's number as its page prints it: a run returns it, the example names no phone number.

    A run does not always end ok. Results and statuses lists every status and the reasons every scraper shares; the reasons of the Gelbe Seiten scrapers are in their own section there.