Guloggratis.dk Scraper — Free Classifieds, Prices & Alerts avatar

Guloggratis.dk Scraper — Free Classifieds, Prices & Alerts

Pricing

Pay per usage

Go to Apify Store
Guloggratis.dk Scraper — Free Classifieds, Prices & Alerts

Guloggratis.dk Scraper — Free Classifieds, Prices & Alerts

Track new listings and price drops on Guloggratis.dk, Denmark's free classifieds, with incremental webhook, Slack and Telegram alerts.

Pricing

Pay per usage

Rating

0.0

(0)

Developer

Lupine

Lupine

Maintained by Community

Actor stats

0

Bookmarked

1

Total users

0

Monthly active users

3 days ago

Last modified

Categories

Features

Limited permissions

Share

In one line: a monitoring interface for Guloggratis.dk (GulogGratis.dk A/S, Odense), Denmark's free classifieds site with ~472,000 live ads — built for Danish resellers, dealers, and price analysts who want new listings and price drops from the market DBA.dk does not cover, ready to act on, not a pile of raw pages.

Not "a Guloggratis crawler" — a "new listings & price drop alerts" feed for the Danish free-classifieds market. Incremental mode + webhook are the product, not extras: run it on a schedule and only get the ads that are actually new or changed in price.

Why this tech route (measured, not guessed)

Probed 2026-11-18 with plain requests from a datacenter egress:

ProbeResult
APIPOST https://api.guloggratis.dk/graphql — 200, ~0.4–1 s, no login, no auth, no Cloudflare challenge
Search querysearch(filters: SearchFiltersInput!, pagination: PaginationInput!); keyword field is filters.term (found after 5 wrong guesses — the server's "Did you mean ...?" errors guided the discovery); category is "/kategori/<slug>"; price bounds are priceFrom/priceTo (DKK, server-side)
Pagination{page, perPage}; perPage capped at 60 (100 is rejected: "Page size limit exceeded")
Detail querylisting(id: "<uuid>") ($id: UUID!)
Pricesprice { text, raw }, raw in øre — divide by 100 for DKK (850000 → 8500); originalPrice is a bare Float, also øre
Imagesurl(size: Listing640x640) (enum: Listing320 / Listing640x640 / Listing1280x1280, recovered from the SSR page's __INITIAL_STATE_GRAPHQL__)
CategoriesList rows carry only categoryUrl (e.g. "/elektronik/telefon"); titles come from the detail query's categories or a static slug→title map. Detail listingFields carry no slug — it lives on the nested field { slug title } (bare slug, e.g. "maerke", vs the list payload's "cf-maerke")
SortingRoughly newest first (createdAt descending, with occasional older rows mixed in)

Conclusion: direct GraphQL POST is the lightest route that works. No browser, no fingerprinting, no residential proxies; datacenter IPs are enough. Same family as DBA.dk — the opposite of Boat24 (Cloudflare + Camoufox), so do not copy Boat24's browser stack here.

Input

Only one of searchTerms or searchUrls is required; everything else is optional.

GroupFieldNotes
SearchsearchTerms, searchUrls, categorycategory: 13 top-level slugs (default "" = whole site); searchUrls wins and its category path + ?term= are parsed out of the URL
FilterspriceMin / priceMax (DKK), sellerType (private/business)Price bounds go to the server (priceFrom/priceTo); a priceMin drops free (0 kr., "Gratis") ads — see below. sellerType is applied after fetching (user.isBusiness); listings whose seller type the site does not state are kept
LimitsmaxItems (default 100), maxPagesPerSearch (0 = unlimited)Multiple terms are merged and deduplicated by listingId; maxItems counts after filtering and de-duplication
DetailsfetchDetails (default off)On: calls listing(id) per ad for the full description, the real category path, all listing fields (richer fullValue, e.g. "512 GB" vs "512") and viewsCount
ProxyproxyConfigurationApify Proxy on by default; Guloggratis.dk does not block datacenter IPs, so it also runs without it
Alerts / incrementalincremental, resetState, webhookUrl, webhookHeaders, slackWebhookUrl, telegramBotToken, telegramChatIdA named key-value store (guloggratis-state) keeps listingId → last price; only new listings and price changes are pushed. Slack/Telegram push only four fields per listing (listingId, title link, URL, status 新/价格变动), no item cap; a run that exceeds the platform message limit (Slack 40,000 chars, Telegram 4,096) is split into several messages, nothing dropped; the webhook payload carries the full new/changed list. A notification failure never breaks the main run.

Search semantics: term is the site's own loose/semantic search — it mainly matches titles but can also match descriptions/brands, and "wanted" ads come back mixed in (title contains "søger", often priced 1 kr.); there is no listing-type field that separates them (listingType is "Normal" for both). The code does no title-only filtering. A term with no matches returns 0 rows (verified: a nonsense term returns total 0, no filler).

Price filter note: bounds are server-side, so a priceMin is enforced by the site, not by the Actor. Measured 2026-11-18: in the iphone + elektronik set the only sub-1-kr. ad is a free ("Gratis", raw: 0) phone cover, and priceFrom: 1 drops exactly that one ad (total 817 → 816). If you set a price minimum, free ads are excluded — that is the site's behaviour, not a filter bug.

Output (24 fields, order is the contract)

listingId, title, category, subCategory, brand, listingUrl, imageUrl, images, imageCount, price, currency, priceText, originalPrice, originalCurrency, condition, location, sellerType, postedDate, description, specs, isNew, searchUrl, scrapedAt.

  • Related fields stay adjacent: price → currency → priceText; originalPrice → originalCurrency.
  • Price: numeric price (DKK) + verbatim priceText (8.500 kr. — the dot is a thousands separator, not a decimal point). A free ad has price: 0, priceText: "Gratis".
  • category is the top-level category title, subCategory the leaf title (e.g. Elektronik / Telefon; three levels: Elektronik / TV with specs.categoryPath "Elektronik > Lyd & billede > TV") — the same convention as the DBA.dk Actor. In list mode they come from the row's categoryUrl via a slug→title map (known slugs use the site's own Danish titles; unknown leaf slugs are prettified); fetchDetails overwrites them with the real titles from the detail query, and puts the full path in specs.categoryPath ("Elektronik > Telefon").
  • brand is the cf-maerke listing field; condition is the cf-varens-stand text verbatim (e.g. Aldrig brugt, Næsten som ny). Some fields are empty because the seller never provided them — empty means "no data on the site", not a scrape miss.
  • specs is a non-fixed object: keys differ per listing (cf-maerke, cf-hukommelse, cf-farve, …); treat it as "use it when present, empty otherwise". With fetchDetails on, values are the richer fullValue and specs also gains categoryPath and viewsCount.
  • description is only filled when fetchDetails is on.
  • listingId is the site UUID, the unique dedup/join key for dataset, webhook, Slack and Telegram alike.

See sample-output.json for real run data (2 items, fetchDetails on, 2026-11-18).

Example record (real run, 2026-11-18):

{
"listingId": "ebd636f4-03ec-4872-8168-ca17a74bc2db",
"title": "iPhone 18 Pro 512 GB.",
"category": "Elektronik",
"subCategory": "Telefon",
"brand": "Apple",
"listingUrl": "https://www.guloggratis.dk/annonce/ebd636f4-03ec-4872-8168-ca17a74bc2db/iphone-18-pro-512-gb",
"imageUrl": "https://assets.guloggratis.dk/images/6d6944c3-9916-4650-b60e-d352845b853e/6d6944c3-9916-4650-b60e-d352845b853e-640x480.webp",
"images": ["https://assets.guloggratis.dk/images/6d6944c3-9916-4650-b60e-d352845b853e/6d6944c3-9916-4650-b60e-d352845b853e-640x480.webp"],
"imageCount": 4,
"price": 8500,
"currency": "DKK",
"priceText": "8.500 kr.",
"originalPrice": 12999,
"originalCurrency": "DKK",
"condition": "Aldrig brugt",
"location": "4220 Korsør",
"sellerType": "private",
"postedDate": "2026-11-18T11:20:20.676Z",
"description": "Helt ny iPhone 18 Pro 512 GB sælges. Den er kun lige åbnet aldrig taget i brug. ...",
"specs": {"cf-hukommelse": "512 GB", "cf-maerke": "Apple", "cf-farve": "Hvid", "cf-produkttype": "Mobiltelefon", "cf-varens-stand": "Aldrig brugt", "cf-forsendelse": "Op til 1 kg", "categoryPath": "Elektronik > Telefon", "viewsCount": 3},
"isNew": true,
"searchUrl": "https://www.guloggratis.dk/kategori/elektronik?term=iphone",
"scrapedAt": "2026-11-18T16:29:14.797973Z"
}

(images truncated to 1 of 4 URLs and description shortened here; the full record is in sample-output.json.)

How it compares

This Actor (v0.1.0)DBA.dk Actor (santamaria, already on Apify)
MarketGuloggratis.dk — free classifieds, private sellersDBA.dk — Denmark's largest marketplace
Details (description / condition / category path)Yes (fetchDetails)No (list-only)
New-listing / price-change alertsYes (incremental + webhook/Slack/Telegram)Not seen
TechDirect GraphQL, datacenter IPs are enoughPlain HTTP, datacenter IPs are enough
Apify Store competition for GuloggratisNone found (site:apify.com, 0 results, 2026-11-18) — blank market—

Baselines (recorded for later comparison)

Measured 2026-11-18, see TEST_REPORT.md:

  • term:"iphone" + elektronik: total 817, first row ebd636f4 iPhone 18 Pro 512GB, 8,500 DKK (orig. 12,999 DKK), posted 2026-11-18T11:20:20Z.
  • term:"iphone" + elektronik + 5000–6000 DKK: 44 rows, all prices within the band.
  • term:"iphone" whole site: total 887. Whole site: ~472,029 ads; elektronik category page: 22,822 ads.
  • Functional tests 9/9 + notification unit tests all pass on AWS (see TEST_REPORT.md).

First rows shift as new ads are posted; totals are the stable reference.

Run locally

python3 -m venv .venv && .venv/bin/pip install -r requirements.txt
.venv/bin/python test_functional.py # list/category/price/pagination/details/incremental
.venv/bin/python test_notifications.py # Slack/Telegram/webhook message builders + POST mechanics
# Apify way: apify run (or build the Actor in Console)