Fotocasa

get/fotocasa/search

Request

  • Base URL: https://scrappa.co/api
  • URL: https://scrappa.co/api/fotocasa/search
  • Auth: API key in header X-API-KEY

Query parameters

property_typeinteger nullable

Numeric propertyType: 2 home, 3 garage, 4 land, 5 commercial, 6 office, 7 storage room, 8 other.

transaction_typeinteger nullable

Numeric transactionType: 1 sale, 3 rent, 5 share, 7 rent with option to buy.

location[]string[]

9-slot combinedLocationIds chain(s) from /autocomplete.

pageinteger

1-based page number.

sizeinteger

Page size, 1-1000.

sort'scoring' | 'publicationDate' | 'price' | 'null' nullable

scoring (relevance), publicationDate, or price.

sort_order_descboolean nullable

Reverse the sort order. Default true.

new_constructionboolean nullable

Filter to obra nueva. This is a flag, not a property type.

latitudenumber nullable
longitudenumber nullable

Response

string required

Changes

No recorded changes to this operation across all 3 revisions of this API.