Skip to content
Happy Endpoint
Haraj API
API v1.0 Haraj

Haraj API

Saudi classifieds data from Haraj: used cars, real estate, phones, furniture and more, with listing details, sellers, reviews, stores and comments.

Overview

The Haraj API provides Saudi classifieds data from haraj.com.sa (حراج), Saudi Arabia’s largest online marketplace. Search listings for used and new cars, real estate, apartments and villas, land, mobile phones, laptops, watches, furniture, livestock, jobs and services, with full details, photos, videos, prices and seller information.

Search and data coverage

/provinces, /cities and /neighborhoods return the exact place names the filters take, and /reverse-geocode maps a point to its district. /categories walks the category tree, including car makes and models, and /tag-suggestions turns a keyword into its category path. /search filters by keyword, category, city, car body style, price, mileage, condition and fuel. /listings browses a category without a keyword, /map-listings searches a map box and /listings-by-url runs a pasted haraj.com.sa link.

/listing-details returns the text, price, photos, location, seller and structured car, real estate, job and device fields, including REGA licence numbers on property ads. Related routes return similar listings, comments, videos and likes. Seller routes return profiles, buyer reviews, open listings, store pages and the real estate seller directory. /trending-keywords, /search-suggestions and /spelling-suggestions help with keyword research, and forum and live stream routes cover Haraj’s community features.

What you can build

  • Saudi used car and property listing search
  • Price tracking across Haraj categories and cities
  • Seller profiles, buyer reviews and store pages
  • Trending searches and keyword research in Arabic and English

Coverage and comparison tips

Most listing text is in Arabic, while categories carry English labels, so plan for both. City and district names must match the spelling /cities and /neighborhoods return. Many sellers post the same item more than once, so de-duplicate on seller and title before counting inventory.

Getting started

Start with /categories to discover the identifiers and filter values used by the routes above. Then test a focused request such as /search?query=camry and inspect its JSON response before adding more filters or pagination. The endpoint list below reflects the supplied OpenAPI specification.

Subscribe to the Haraj API on RapidAPI to get your API key and view current plans and request limits. Send your key in the X-RapidAPI-Key header and use X-RapidAPI-Host: haraj2.p.rapidapi.com for requests.

Compare this API with the other car data sources for the region in the Middle East car data guide. Explore OpenSooq API, Syarah API and Motory API, or browse the API library for other markets and platforms.

Disclaimer

This API is an independent service built by HappyEndpoint. It is not affiliated with, endorsed, or sponsored by Haraj. All data is retrieved from publicly available sources.

What you can do

Saudi used car and property listing search
Price tracking across Haraj categories and cities
Seller profiles, buyer reviews and store pages
Trending searches and keyword research in Arabic and English

Endpoints & Schema

MethodPathSummary
GET/statusCheck whether the Haraj API is available.
GET/provincesList the Saudi provinces Haraj files listings under, with Arabic and English names and the province_id that /cities takes.
GET/citiesList the cities of one Saudi province with coordinates; each name is the exact spelling the city filter of /search and /listings needs.
GET/neighborhoodsList the districts (neighborhoods) of one Haraj city with coordinates; each name is the district value /listings filters by.
GET/reverse-geocodeFind the Haraj district, city and province a latitude/longitude point lies in or is nearest to, with their ids and the distance to them.
GET/categoriesWalk the Haraj category tree one level at a time - sections, sub-categories, car makes and models, device brands, job roles - with Arabic tags and English labels.
GET/tag-suggestionsTurn a keyword (Arabic or English) into the Haraj category path it belongs to, most specific tag first, ready for the tag filter.
GET/tag-detailsLook up Haraj category tags by exact name and get each one's category_id and tree level; unknown names are reported back.
GET/search-suggestionsAutocomplete a Haraj search box: the popular search phrases that start with the text typed so far, optionally steered towards one category; pass one as the query of /search.
GET/spelling-suggestionsGet "did you mean" spelling corrections for a misspelled Haraj search word, best guess first, with confidence scores; pass the chosen word as the query of /search.
GET/trending-keywordsList the keywords trending in Haraj searches over the last 1 to 14 days, in the site's order, with relative scores - ready to pass as the query of /search.
GET/tag-regionsRank the Saudi regions by how many Haraj listings they have in one category, largest first - counts for comparing regions; each city label works as the city filter of /listings.
GET/attribute-valuesList the values of a device or watch attribute in one Haraj category, with listing counts for comparing values - the vocabulary of the attribute_filters filter of /listings.
GET/live-streamsList the live-shopping video streams open on Haraj right now, with title, cover image, seller, viewers and the stream's listing.
GET/escrow-feeCalculate the Haraj escrow (wasata) service fee and the buyer's total for an item at a given price in SAR - for example a listing's price.input_price from /listing-details.
GET/coin-packagesList the coin bundles Haraj sells to sellers for promoting their listings, with each bundle's price in SAR, the coins credited and the bonus coins included.
GET/searchSearch Haraj listings by keyword, with category, city, car body style, price, photos, video, date window, near-a-point, dealer, car condition, fuel and mileage filters - title...
GET/listingsBrowse Haraj listings by category and city without a keyword, with district, strict-city, car model-year, trim, body-style, device/watch attribute, photo and video filters - by...
GET/map-listingsList the Haraj listings located inside a map box given by its north, south, east and west edges, optionally for one category, as the map view shows them.
GET/listings-by-urlRun the listing search a pasted haraj.com.sa category, city, keyword-search or seller page link describes; returns the listings plus the applied filters and any ignored link parts.
GET/promoted-listingsList the featured listings Haraj shows for a category, make or model: community posts from that category's forum section, or with city the featured ads of that category in that city.
GET/listing-detailsRead one Haraj listing in full by listing_id: text, price, photos, location, seller and structured car, real-estate, jobs and device details; a closed listing comes back with...
GET/listing-details-by-urlRead a Haraj listing in full from its haraj.com.sa page link - the same response as /listing-details without extracting the id first.
GET/similar-listingsList the listings Haraj shows as similar to one listing on its page, in the labelled groups the page shows (up to 15 listings each), as full listing rows. Takes a listing_id.
GET/listing-commentsRead the public comments on one Haraj listing (questions, offers and seller replies), newest or oldest first, a page at a time.
GET/related-videosList the related video listings Haraj plays after one listing, each with a playable MP4 link, title, seller and location.
GET/listing-likesRead the like count of one Haraj listing by listing_id - the number of people who liked it, as its page shows next to the heart button; separate from the up and down votes on a...
GET/listing-videoRead the video a seller attached to one Haraj listing by listing_id - a playable MP4 link and its cover image; listing rows only say whether a video exists (has_video).
GET/seller-listingsList one seller's open Haraj listings by username, most recent activity first. Take the username from the author_username of a /search or /listings row.
GET/seller-profileRead a Haraj seller's public profile by username (the author_username of a /search or /listings row) - registration date, last seen, followers, buyer rating summary, badges and...
GET/seller-profile-by-idRead a Haraj seller's public profile by seller id (the author_id of a /search or /listings row, or the user_id of a /sellers row) - registration date, last seen, followers...
GET/seller-reviewsRead the reviews buyers left on one Haraj seller - positive and negative, with the buyer's comment and the seller's reply - newest first, a page at a time, by username.
GET/sellersList the entries of Haraj's real-estate seller directory - one per advertiser listing, most recently posted first - optionally by real-estate category and city, each with the...
GET/seller-contactRead the phone number a real-estate advertiser publishes in Haraj's seller directory; the input is the contact_request_id of a /sellers row, and phone is null when none is...
GET/store-detailsRead a Haraj seller's store page by store handle (the seller's handle from /seller-profile without the @) - description, map location, published contacts, verification badges...
GET/forum-postsRead the Haraj community forum feed, newest posts first, with each post's up and down votes, optionally for one category or one seller; consecutive pages can share a few posts.
GET/forum-post-detailsRead one Haraj forum post by post_id (from /forum-posts, or a listing id): title, full text, photos, author, tags, comment count and up and down votes; comments via...
GET/forum-commentsRead the comments on one Haraj forum post with each comment's up and down votes, oldest or newest first, a page at a time.

Frequently asked questions

What does the Haraj API return?+
Saudi classifieds data from Haraj: used cars, real estate, phones, furniture and more, with listing details, sellers, reviews, stores and comments.
How do I get an API key?+
Subscribe to this API on RapidAPI. You'll get keys, usage dashboards, and plan management out of the box.
Is there a free tier?+
Check the pricing tab on RapidAPI for current plans and testing allowances.
Can I try the data before subscribing?+
Free samples are available for several platforms - see available samples.