darak
The official Python client for the Darak API: every live rental and sale listing in Saudi Arabia, deduplicated across 13+ sources. Standard library only, Python 3.9+.
pip install darak
from darak import Darak, DarakError
darak = Darak() # reads DARAK_API_KEY
page = darak.listings.search(city="riyadh", listing_type="rent", beds=3, limit=25)
print(page["data"][0]["price"]["yearly_sar"])
# Every result, fetching pages as you go (stops at your plan's paging depth).
for listing in darak.listings.search_all(city="jeddah", listing_type="sale"):
print(listing["id"], listing["location"]["neighborhood_name_en"])
try:
darak.listings.get(1)
except DarakError as e:
print(e.status, e.code, e.request_id)
Get a key at platform.darak.app.
- Lists are sent comma-separated:
property_type=["apartment", "villa"]. 429and5xx(and network errors) are retried, honoringRetry-After. A monthly-quota429isn't waited out; it raises.- Methods:
listings.search / search_all / count / get / batch / price_history,cities.list / neighborhoods / directions,enums(),broker_listings(...), andrequest(method, path, query, body)for anything else.
Tests: python3 -m unittest discover -s tests.
Release files for darak 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| darak-0.1.0.tar.gz | 5.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| darak-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 10.7 kB
Release files / darak-0.1.0.tar.gz
| Download URL | darak-0.1.0.tar.gz |
|---|---|
| Size | 5.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0bd3ef18e39d0d2dd4127b62fe1d182eb84d8c8d0391d031332358b3510294fa
|
|
BLAKE2b-256 checksum How to use checksums |
bb50c2544db48ae068b32a9e59ad3481fee3cc61c6d003edef13d6023093d920
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 23, 2026.
Transparency logRelease files / darak-0.1.0-py3-none-any.whl
| Download URL | darak-0.1.0-py3-none-any.whl |
|---|---|
| Size | 5.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
804918d672d40888de494c92822e6670f8864a3b53488978dd88139b4e724c6a
|
|
BLAKE2b-256 checksum How to use checksums |
1a5a74e9991c4e9ea8c216ed963f95d89d39f9eb68f203408d4da06a8d223397
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 23, 2026.
Transparency log