Guloggratis.dk Scraper — Free Classifieds, Prices & Alerts
Pricing
Pay per usage
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
Maintained by CommunityActor stats
0
Bookmarked
1
Total users
0
Monthly active users
3 days ago
Last modified
Categories
Features
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:
| Probe | Result |
|---|---|
| API | POST https://api.guloggratis.dk/graphql — 200, ~0.4–1 s, no login, no auth, no Cloudflare challenge |
| Search query | search(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 query | listing(id: "<uuid>") ($id: UUID!) |
| Prices | price { text, raw }, raw in øre — divide by 100 for DKK (850000 → 8500); originalPrice is a bare Float, also øre |
| Images | url(size: Listing640x640) (enum: Listing320 / Listing640x640 / Listing1280x1280, recovered from the SSR page's __INITIAL_STATE_GRAPHQL__) |
| Categories | List 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") |
| Sorting | Roughly 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.
| Group | Field | Notes |
|---|---|---|
| Search | searchTerms, searchUrls, category | category: 13 top-level slugs (default "" = whole site); searchUrls wins and its category path + ?term= are parsed out of the URL |
| Filters | priceMin / 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 |
| Limits | maxItems (default 100), maxPagesPerSearch (0 = unlimited) | Multiple terms are merged and deduplicated by listingId; maxItems counts after filtering and de-duplication |
| Details | fetchDetails (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 |
| Proxy | proxyConfiguration | Apify Proxy on by default; Guloggratis.dk does not block datacenter IPs, so it also runs without it |
| Alerts / incremental | incremental, resetState, webhookUrl, webhookHeaders, slackWebhookUrl, telegramBotToken, telegramChatId | A 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) + verbatimpriceText(8.500 kr.— the dot is a thousands separator, not a decimal point). A free ad hasprice: 0,priceText: "Gratis". categoryis the top-level category title,subCategorythe leaf title (e.g.Elektronik/Telefon; three levels:Elektronik/TVwithspecs.categoryPath"Elektronik > Lyd & billede > TV") — the same convention as the DBA.dk Actor. In list mode they come from the row'scategoryUrlvia a slug→title map (known slugs use the site's own Danish titles; unknown leaf slugs are prettified);fetchDetailsoverwrites them with the real titles from the detail query, and puts the full path inspecs.categoryPath("Elektronik > Telefon").brandis thecf-maerkelisting field;conditionis thecf-varens-standtext 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.specsis a non-fixed object: keys differ per listing (cf-maerke,cf-hukommelse,cf-farve, …); treat it as "use it when present, empty otherwise". WithfetchDetailson, values are the richerfullValueandspecsalso gainscategoryPathandviewsCount.descriptionis only filled whenfetchDetailsis on.listingIdis 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) | |
|---|---|---|
| Market | Guloggratis.dk — free classifieds, private sellers | DBA.dk — Denmark's largest marketplace |
| Details (description / condition / category path) | Yes (fetchDetails) | No (list-only) |
| New-listing / price-change alerts | Yes (incremental + webhook/Slack/Telegram) | Not seen |
| Tech | Direct GraphQL, datacenter IPs are enough | Plain HTTP, datacenter IPs are enough |
| Apify Store competition for Guloggratis | None 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 rowebd636f4iPhone 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;elektronikcategory 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)