Haraj Classifieds Search & Seller Listings Scraper
Pricing
from $0.49 / 1,000 results
Haraj Classifieds Search & Seller Listings Scraper
Scrape Haraj (haraj.com.sa) - Saudi Arabia's largest classifieds marketplace. Search by keyword, browse by category/city, look up listings by ID, or pull a seller's listings. Get price (SAR), city, description, images, and posted date.
Pricing
from $0.49 / 1,000 results
Rating
0.0
(0)
Developer
vexaloom-labs
Maintained by CommunityActor stats
0
Bookmarked
1
Total users
0
Monthly active users
4 days ago
Last modified
Categories
Features
Share
Collect live ads from Haraj (haraj.com.sa), Saudi Arabia's largest classifieds marketplace — cars, real estate, electronics, jobs, furniture, services, animals and more. The actor uses Haraj's own public JSON API, so it runs without login, cookies or a proxy. Search by keyword, browse by section or region, resolve specific ad IDs/URLs, download a seller's active inventory, or pull the public store profile behind a seller name.
Modes
| Mode | What it returns |
|---|---|
search | Ads matching a free-text keyword, optionally narrowed by section, region, price, recency, media and seller type |
browse | The same listing feed without a keyword — by section, region, or the site-wide latest feed |
byId | One record per ad ID or ad URL you provide |
byAuthor | Every active ad from one seller (accepts a display name, @handler, or /users/... link) |
seller | A seller/store profile: join date, followers, rating, verified badges, store description, public store phone/email, store pages and map point |
trending | Haraj's own trending search keywords (not ads) |
All 21 sections are selectable, including Jobs (وظائف). There are 21 regions (20 Saudi regions plus Kuwait, UAE and Bahrain), and cities lets you combine several regions in one run.
Listing filters
- Recency:
postedWithin— last 24 hours, 3 days, week or month - Price:
priceMin/priceMaxin SAR;onlyWithPricedrops "message me" ads - Media:
onlyWithImage,onlyWithVideo - Section:
category,excludeCategory, free-textsubTag(brand/model/generic tag),carBodyType - Place: one
city, severalcities, or an exactneighborhood - Seller type:
hideShowRoomshides dealer/showroom accounts - Cars:
carCondition,fuelType,transmission,sellOrWaiver,is4WD,mileageMinKm,mileageMaxKm,modelYearMin,modelYearMax - Volume:
splitByCityruns the same query once per region and merges the results; this is the way past Haraj's roughly 300-row window for a single query
Listing output
Core fields: id, title, description, priceSAR, priceFormatted, category, categories[], subcategory, city, geoCity, geoNeighborhood, geoHash, latitude, longitude, images[], thumbnailUrl, imageCount, url, authorUsername, authorId, sellerUrl, postedDate, updatedDate, hasImage, hasVideo, isPromoted, postType, commentsEnabled, commentCount, upvotes, downvotes, recordType, scrapedAt.
Optional:
specs— key/value attributes Haraj stored (phone model/storage/colour, laptop specs, …)car—listingType,is4WheelDrive,modelYear,mileageThousandKm(raw Haraj value),mileageKm(actual kilometres),fuelType,transmission,condition,vehicleType,bank,make,modelNamerealEstate— REGA advertiser registration and authorization numbersjob— offer type, experience, contract type, qualification, commercial register, job familyphones[]— phone numbers the seller wrote in the ad, normalised to+9665…seller— compact seller/store object whenincludeSeller=truelikeCount— whenincludeLikeCounts=truecomments[]— whenincludeComments=true(author, body, date, reply marker)similarListings[]— whenmode=byIdandincludeSimilarListings=true
Empty values are always omitted — never null, "", [] or {}.
Seller profile output (mode=seller)
id, username, url, handler, profileType (USER/STORE), description, registrationDate, lastSeen, followerCount, rating (upvotes, downvotes, upvotesPaid, downvotesPaid, average), badges[], verifications[], isRealtor, linkedViaNafath, vatNumber, phoneNumbers[], emails[], latitude, longitude, storePages[], recordType=sellerProfile.
Trending output (mode=trending)
keyword, score, rangeInDays, recordType=trendingKeyword, scrapedAt.
Input
| Field | Type | Default | Notes |
|---|---|---|---|
mode | select | search | search / browse / byId / byAuthor / seller / trending |
searchQuery | string | — | Keyword in Arabic or English; required for search |
category | select | any | 21 top-level sections incl. Jobs |
subTag | string | — | A specific brand/model/category tag; wins over category for narrowing |
carBodyType | select | any | 12 body styles; wins over subTag/category for narrowing |
city | select | any | One region; عسير is accepted as an alias of أبها |
cities | array | [] | Several regions at once; OR-combined with city |
neighborhood | string | — | Exact finer town/district (geoCity); AND-combined with city filters |
excludeCategory | select | none | Drop one top-level section |
postIds | array | [] | Ad IDs or full ad URLs; required for byId |
authorUsername | string | — | Seller name, @handler, or /users/... link; used by byAuthor and seller |
includeSimilarListings | bool | false | Attach related ads (mode=byId) |
trendingRangeDays | int | 1 | 1–14 days (mode=trending) |
postedWithin | select | any | 1days / 3days / 1week / 1months |
priceMin / priceMax | int | — | SAR bounds |
onlyWithPrice | bool | false | Skip ads without a stated price |
onlyWithImage / onlyWithVideo | bool | false | Media presence |
hideShowRooms | bool | false | Hide dealer/showroom sellers (search, browse) |
carCondition | select | any | NEW, USED, quality grades, DAMGED |
fuelType | select | any | GASOLINE, DIESEL, HYBRID, ELECTRIC |
transmission | select | any | AUTO, MANUAL |
sellOrWaiver | select | any | SELL, WAIVER |
is4WD | bool | false | Require four-wheel drive |
mileageMinKm / mileageMaxKm | int | — | Kilometre bounds |
modelYearMin / modelYearMax | int | — | Model-year bounds |
sortBy | select | recentlyActive | recentlyActive or newestPosted |
splitByCity | bool | false | Run per region and merge (gets past the single-query window) |
includeSeller | bool | false | Attach a compact seller object to each ad |
includeLikeCounts | bool | false | Add likeCount (one request per ad) |
includeComments | bool | false | Add comments[] (one request per ad page) |
maxCommentsPerListing | int | 10 | 1–100; used with includeComments |
maxItems | int | 30 | 1–1000 emitted records |
Examples
Keyword search with a price band and recency:
{ "mode": "search", "searchQuery": "ايفون", "postedWithin": "3days", "priceMin": 1000, "priceMax": 3000, "maxItems": 50 }
Browse a section and region, newest first:
{ "mode": "browse", "category": "حراج السيارات", "city": "جده", "sortBy": "newestPosted", "onlyWithImage": true, "maxItems": 50 }
Car filters:
{ "mode": "browse", "category": "حراج السيارات", "carCondition": "USED", "fuelType": "GASOLINE", "transmission": "AUTO", "mileageMaxKm": 150000, "modelYearMin": 2018, "maxItems": 100 }
Seller inventory + profile snippet:
{ "mode": "byAuthor", "authorUsername": "https://haraj.com.sa/users/da3.9", "includeSeller": true, "maxItems": 100 }
Seller/store profile:
{ "mode": "seller", "authorUsername": "@Ayman_354" }
Specific ads with engagement:
{ "mode": "byId", "postIds": ["186610241"], "includeSeller": true, "includeLikeCounts": true, "includeComments": true }
More results for a broad query:
{ "mode": "browse", "category": "حراج الأجهزة", "splitByCity": true, "maxItems": 500 }
Use cases
- Price monitoring for cars, phones and property across Saudi regions
- New-ad alerts by keyword, section or seller
- Seller/store due diligence from public profile and verification data
- Lead lists with seller names, store phones and ad text phone numbers
- Automotive market analysis with model year, mileage, fuel and condition
- Jobs-market sampling (all job ads are reachable through the Jobs section)
FAQ and honest limits
Does it need a login, cookie or proxy? No. Every shipped field comes from Haraj's public API and works with a plain HTTP request.
Why do some sellers have no phone number? Haraj only exposes store-profile phone numbers publicly on business (STORE) profiles. Personal sellers' contact numbers require a logged-in Haraj session, which this actor never uses, so that field is omitted for them. Numbers a seller writes in the ad text are still returned in phones[].
Why does a broad query stop before maxItems? Haraj's own pagination returns roughly 300 unique ads per query and then repeats. The actor stops and says so in the status message. Enable splitByCity (and/or narrow by section, brand or region) to collect more.
Are real-estate area/room/bathroom fields included? Haraj's public API does not expose structured property attributes; only the REGA licence numbers are structured. Size/room details remain in the free-text description. This is a site limitation, not a missing selector.
Why is mileageKm different from Haraj's raw mileage number? Haraj stores mileage in thousands of kilometres. mileageThousandKm preserves the raw value; mileageKm is the converted distance in kilometres. Both are provided so either convention can be used.
What is mode=trending? Haraj's own trending-search-keyword feed for the chosen 1–14 day window, useful for choosing a keyword before a search run.
Can I monitor only new ads? This actor is stateless by design and does not keep cross-run history. Use a schedule and deduplicate on id in your storage.
What about map-area searches? Haraj accepts a near parameter on its API, but in live probing it returned the same unrelated set for distinct values, so the actor does not expose it as a filter. Region, city and neighbourhood filters cover the supported location axes.
Independent third-party tool using Haraj's public API. Not affiliated with or endorsed by Haraj.