Skip to main content
Runnable examples in cURL, Node.js, Python and Go. Each example makes one bounded request; no automatic retries or pagination.

Get the examples

Clone the public examples repository: https://github.com/realtycrawl/realtycrawl-api-examples. Use Node.js 22+, Python 3.9+, or Go 1.22+. Set REALTYCRAWL_API_KEY in your environment for authenticated operations.
First inspect capabilities for your platform and country. Set REALTYCRAWL_IDEMPOTENCY_KEY to a new unique value for a new logical search; keep it for a deliberate retry. The sample Zillow sale search has limit=1 and X-Max-Credits=50. Stored listing reads cost 1 credit. Run examples individually.

Keep the evidence

Read data together with meta.completeness, meta.sources, warnings and pagination. Keep price currency, period, area units, source URL and observation time. Never replace unknown values with zero.

Read collected stay context

Replace STAY_ID with your account-owned Booking.com, Agoda or Trip.com observation ID. Read context or replace context with media for the collected photos. Each request costs 1 credit and preserves the original search dates; it does not refresh availability or create a booking quote.
Check the Booking.com capability first. This illustrative search keeps its Paris region, USD currency and two-adult context, adds a source nightly price band and source star class, and reserves 50 credits. The returned price can still be a total-stay observation; preserve its period. Airbnb, VRBO and Trip.com accept different filter sets.

Read retained energy observations

Use the listing ID returned by your own supported source search or detail request. This read costs 1 credit and does not refresh the source. Missing energy observations remain unavailable; an unknown unit is never supplied by inference.

Read advertised commercial lease terms

Use a listing_id returned by your own supported commercial search. This one-credit read returns the ranges and labeled rates already collected; it does not refresh the source or confirm availability.

Filter an exact Domain bedroom count

The source URL contract accepts equal min/max for 1, 2 or 3 bedrooms, apartment type and native price ordering in the existing Sydney NSW 2000 rental window. This is a documentation-backed beta request, not a fresh live sample.