hasdata real-estate APIs

Homes and short-term rentals from Zillow, Redfin, and Airbnb. Use this skill for listings, sold comps, houses for rent, or one property URL. Triggers on "Zillow listings in", "homes for sale in", "houses for rent in", "Redfin search", "sold comps for", "Airbnb in", "vacation rentals". Hotels, Booking.com, and "where to stay" are hasdata-hotels, not this skill.

When to use it. - User wants for-sale, for-rent, or sold listings in a city or zip code - User wants full details on a Zillow, Redfin, or Airbnb URL - User wants to filter by price, beds, baths, square footage, lot size, or HOA - User wants an Airbnb for specific dates and a party size

This is a skill for AI agents. Install for Cursor, Claude, Codex, and other agents with npx oli-skills install hasdata-realestate.

  • Cursor reads .cursor/skills/ and the rule created by npx oli-skills init.
  • Claude Code reads .claude/skills/.
  • Codex reads .codex/skills/ and .agents/skills/.

Source: hasdata

/hasdata-realestate@hasdata-realestate

Listings and property details from Zillow, Redfin, and Airbnb. Hotels and Booking.com are hasdata-hotels.

How to fetch

  1. If a HasData tool is connected, call the one in the table. Read its schema. Do not run a shell command, and skip the CLI fallback, while that tool exists. Do not call api.hasdata.com yourself.
  2. If no HasData tool is connected, ask the user to press Connect. In Claude Code, authenticate with /mcp. Do not install a binary and do not ask for an API key.
  3. The CLI fallback is only when the connector cannot be connected and hasdata is already on PATH.
AskTool name containsPass
Zillow searchzillow_listingkeyword and type (forSale, forRent, or sold)
One Zillow homezillow_propertyurl
Redfin searchredfin_listingkeyword (a zip code) and type
One Redfin homeredfin_propertyurl
Airbnb searchairbnb_listinglocation, checkIn, checkOut. Ask for dates if they are missing
One Airbnb listingairbnb_propertyurl

Do not set extractAgentEmails unless the user asked for the listing agent's public contact. Hotels are not this skill.

When to use

  • User wants for-sale, for-rent, or sold listings in a city or zip code
  • User wants full details on a Zillow, Redfin, or Airbnb URL
  • User wants to filter by price, beds, baths, square footage, lot size, or HOA
  • User wants an Airbnb for specific dates and a party size

APIs in this group

CommandPurposeCost
zillow-listingZillow search — for-sale / for-rent / sold by location5
zillow-propertyFull Zillow property details by URL5
redfin-listingRedfin search by zipcode with rich filters5
redfin-propertyFull Redfin property details by URL5
airbnb-listingAirbnb search by location, dates, party size5
airbnb-propertyFull Airbnb listing details by URL5
booking-searchBooking.com search by destination and stay dates10
booking-placeFull Booking.com property details plus available rooms10

CLI fallback

Only when the connector cannot be connected and hasdata is already on PATH. Otherwise ignore this section, including the Booking.com examples. Hotels are hasdata-hotels.

Zillow

# For-sale homes in NYC, $500k–$1M, 2+ beds
hasdata zillow-listing --keyword "New York, NY" --type forSale \
  --price-min 500000 --price-max 1000000 --beds-min 2 \
  --pretty -o .hasdata/zillow-nyc-sale.json

# For-rent
hasdata zillow-listing --keyword "Brooklyn, NY" --type forRent --pretty -o .hasdata/zillow-bk-rent.json

# Sold (comps)
hasdata zillow-listing --keyword "Austin, TX" --type sold --days-on-zillow "12m" --pretty -o .hasdata/zillow-atx-sold.json

# Full property details
hasdata zillow-property --url "https://www.zillow.com/homedetails/.../31543731_zpid/" --pretty -o .hasdata/zillow-prop.json

# With agent emails (slightly higher cost)
hasdata zillow-property --url "https://www.zillow.com/homedetails/..." --extract-agent-emails --pretty -o .hasdata/zillow-prop-emails.json

Redfin

# For-sale, 3+ beds, 2+ baths. Redfin searches by zipcode, not city name.
hasdata redfin-listing --keyword "98101" --type forSale --beds-min 3 --baths "two" \
  --pretty -o .hasdata/redfin-seattle.json

# Full property
hasdata redfin-property --url "https://www.redfin.com/IL/Chicago/.../home/12694628" --pretty -o .hasdata/redfin-prop.json

Airbnb

Stay dates are placeholders. Both Airbnb and Booking.com reject dates in the past, so resolve <CHECK_IN> / <CHECK_OUT> against today's date before running a command — never copy a literal date from this file.

# Search by location, dates, guests
hasdata airbnb-listing --location "Lisbon, Portugal" \
  --check-in "<CHECK_IN>" --check-out "<CHECK_OUT>" --adults 2 \
  --pretty -o .hasdata/airbnb-lisbon.json

# Full listing details
hasdata airbnb-property --url "https://www.airbnb.com/rooms/7777642" --pretty -o .hasdata/airbnb-prop.json

# Pagination
hasdata airbnb-listing --location "Paris" --check-in "<CHECK_IN>" --check-out "<CHECK_OUT>" \
  --next-page-token "<token>" --pretty -o .hasdata/airbnb-paris-p2.json

Booking.com

# Hotels in Paris for two adults, no children
hasdata booking-search --keyword "Paris" \
  --check-in-date "<CHECK_IN>" --check-out-date "<CHECK_OUT>" \
  --adults 2 --children 0 --rooms 1 \
  --pretty -o .hasdata/booking-paris.json

# Full property details plus available rooms for those dates
hasdata booking-place --url "https://www.booking.com/hotel/fr/le-bristol-paris.html" \
  --check-in-date "<CHECK_IN>" --check-out-date "<CHECK_OUT>" \
  --adults 2 --children 0 --rooms 1 \
  --pretty -o .hasdata/booking-bristol.json

Common Booking.com flags

FlagPurpose
--keyword <query>Required for search — city, region, neighborhood, or property name
--url <url>Required for booking-place — full booking.com property URL
--check-in-dateRequired — YYYY-MM-DD, must be in the future
--check-out-dateRequired — YYYY-MM-DD, later than check-in
--adults <n>Required — adult guests across all rooms
--children <n>Required — pass 0. Non-zero is broken in the CLI, see Tips
--rooms <n>Required — number of rooms to book
--currencyResponse currency, or hotelCurrency to keep each property's own
--facilitiesFilter by property facilities, values combined with OR
--bedrooms / --bathroomsMinimum counts

Common Zillow flags

FlagPurpose
--keyword <location>Required — location string (e.g., "Brooklyn, NY")
--typeRequired — forSale, forRent, sold
--price-min / --price-maxPrice range
--beds-min / --beds-maxBeds range
--baths-min / --baths-maxBaths range
--square-feet-min / --square-feet-maxSqft range
--lot-size-min / --lot-size-maxLot size range
--home-typesArray (e.g. Houses, Townhomes, Condos)
--days-on-zillow6m, 12m, 24m, 36m
--hoa <max>HOA fee cap
--keywordsFree-form keyword (e.g. "renovated, garage")
--sorthomesForYou, priceHighToLow, priceLowToHigh, newest, bedrooms, …
--page <n>Pagination
--petsArray of pet options
--must-have-garageFilter to garage-only

Common Airbnb flags

FlagPurpose
--locationRequired — location (e.g., "Paris, France")
--check-inRequired — YYYY-MM-DD
--check-outYYYY-MM-DD
--adults / --children / --infants / --petsParty composition
--next-page-tokenPagination token from previous response

Tips

  • Hotels and Booking.com are hasdata-hotels. Do not call api.hasdata.com directly and do not send the user there to paste a key.
  • Search → property fan-out is the standard pattern for getting full details on multiple listings:
    hasdata zillow-listing --keyword "Austin, TX" --type forSale --pretty -o .hasdata/zillow.json
    for url in $(jq -r '.properties[].detailUrl' .hasdata/zillow.json | head -10); do
      hasdata zillow-property --url "$url" --pretty -o ".hasdata/zillow-$(basename $url).json" &
    done
    wait
    
  • For comps, use zillow-listing --type sold --days-on-zillow 6m (recently sold) — the property API returns full sold history per home.
  • Airbnb dates are required — without --check-in, search returns very limited data.
  • --extract-agent-emails on Zillow property is a paid upgrade — only enable for lead-gen workflows.
  • Both Redfin and Zillow have rich filter sets (40+ flags). Run hasdata zillow-listing --help / hasdata redfin-listing --help for the full list.

Working with results

# Zillow listing → address, price, beds/baths, URL
jq -r '.properties[] | "\(.address)\t$\(.price)\t\(.beds)bd/\(.baths)ba\t\(.detailUrl)"' .hasdata/zillow.json

# Redfin → similar
jq -r '.listings[] | "\(.address)\t$\(.price)\t\(.beds)bd/\(.baths)ba"' .hasdata/redfin.json

# Airbnb → name, price/night, rating, link
jq -r '.listings[] | "\(.title)\t$\(.price.total // .price.amount)\t\(.rating // "-")★\t\(.url)"' .hasdata/airbnb.json

See also

  • hasdata-maps — Google Maps for non-listing local-business data
  • hasdata-scrape — for non-Zillow/Redfin/Airbnb real-estate sites
Skills Mixer