habitaclia+API.SH

habitaclia API

Spanish property listings, prices, price history and estate agencies from habitaclia as clean JSON.

The API.SH habitaclia API turns public pages from habitaclia, the Spanish property portal for pisos y casas en venta y alquiler, into structured JSON. Search homes, offices, retail premises, land, garages and buildings for sale, rent or transfer, plus new homes, with the site's filters for place, price, area, rooms, features, bank-owned and private sellers. Each listing has price, price history, price per m², rooms, area, energy rating and coordinates; agencies come with business details, listing counts and price ranges.

  • 5 endpoints
  • from $1 / 1,000 calls
  • 1,000 free credits / month
  • failed calls free
habitaclia property search
GET https://api.api.sh/habitaclia/v1/search
{ "success": true }
1 credit · $1 per 1,000 calls

What you can build with the habitaclia API

Spanish housing market analysis

Search Barcelona, Girona, Tarragona or any place by price, area and rooms and compare asking prices per m² across districts.

Price drop and rental monitoring

Sort by price drop or newest and open listings for their price history to track alquiler and venta prices over time.

Investment deal sourcing

Filter bank-owned, new-build or commercial listings and read each one's description, energy rating and agency.

Agency research and lead lists

List the inmobiliarias working in a place with their contact details, listing counts and price ranges, then open an agency's own listings.

habitaclia data you get

Field names from real responses. Numbers come parsed, URLs absolute, dates in ISO 8601.

habitaclia API endpoints and prices

Every habitaclia endpoint costs 1 credit per call: credits are $1 per 1,000 on a monthly plan, $2 pay-as-you-go. Pricing

Search and discovery2
habitaclia place suggestions
/habitaclia/v1/places
$1 · $2 PAYG
1 credit
habitaclia property search
/habitaclia/v1/search
$1 · $2 PAYG
1 credit
Products, listings and places2
habitaclia agencies in a place
/habitaclia/v1/agencies
$1 · $2 PAYG
1 credit
habitaclia listing
/habitaclia/v1/listing
$1 · $2 PAYG
1 credit
More data1
habitaclia agency
/habitaclia/v1/agency
$1 · $2 PAYG
1 credit

Call the habitaclia API

habitaclia property search: GET https://api.api.sh/habitaclia/v1/search

curl "https://api.api.sh/habitaclia/v1/search?location=Barcelona" \
  -H "x-api-key: $APISH_KEY"
  1. Create a free accountConfirm your email and get 1,000 free credits every month. No card needed.
  2. Create an API keyOne key works for all 482 platforms.
  3. Send the requestJSON back in one call. Add output=csv or output=ndjson for files.

Why API.SH for habitaclia data

  • Public data only: no habitaclia login, cookies or account needed
  • One key and one response shape for habitaclia and 481 other platforms
  • Built and maintained by API.SH, not third-party publishers
  • Pay per call; errors on our side cost nothing
  • Live status for every endpoint

API.SH vs the official habitaclia API

habitaclia has no public data API; its feeds are for agencies publishing their own listings. API.SH returns the public search, listing and agency data as JSON. A private seller's name and contact are never returned.

Rather than building a habitaclia scraper or paying per page on a scraping API, call API.SH: one key, fixed price per call and the same JSON shape as other Spanish and European property portals.

habitaclia API questions

What habitaclia data can I get?+

Property search with the site's filters (/habitaclia/v1/search), full listing details with price history and photos (/habitaclia/v1/listing), place suggestions for location codes (/habitaclia/v1/places), agencies in a place (/habitaclia/v1/agencies) and one agency with its listings (/habitaclia/v1/agency).

How much does the habitaclia API cost?+

Every habitaclia endpoint costs 1 credit per call. On a monthly plan 1,000 credits cost $1 (Starter is $50/month for 50,000 credits). Pay-as-you-go is $2 per 1,000 credits, with top-ups from $15 that never expire.

Is there a free trial?+

Yes. Every account gets 1,000 free credits every month. That is 1,000 calls to /habitaclia/v1/agencies at 1 credit each.

Is there an official habitaclia API?+

Not a public one for reading listings. API.SH reads the public habitaclia site and returns structured JSON.

Do I need a habitaclia account or login?+

No. API.SH reads public habitaclia pages only. No endpoint uses a login, cookies or anyone's account.

Does it cover rentals, new homes and commercial property?+

Yes. Set transaction to buy, rent, transfer or new_homes, and property_type to homes, offices, premises, industrial, land, garages or buildings.

Can I filter by price drop or bank-owned homes?+

Yes. Search can sort by price drop, newest, price or price per m², and filter bank-owned, new-build and private-seller listings.

How do I get started?+

1. Sign up at api.sh. 2. Copy your API key. 3. Call /habitaclia/v1/search with location=Barcelona and transaction=rent. Every parameter is in the docs at https://api.sh/docs. You can also use the JS or Python SDK, Google Sheets, Zapier, Make, n8n or the MCP server at https://api.sh/mcp.

More real estate APIs all real estate APIs →

Start with 1,000 free credits
Every month, on every account. One key works for all 482 platforms.
Get a free API key