APIs / Fotocasa / Map Search

Fotocasa: Map Search

Map Search from Fotocasa as JSON. 1 credit per successful call.

GET /v1/fotocasa/map-search

Parameters

Send parameters in the query string.

ParameterTypeRequiredAllowed values
property_typeintegerOptional2, 3, 4, 5, 6, 7, 8
transaction_typeintegerOptional1, 3, 5, 7
location[]list of stringOptionalAny
pageintegerOptionalAny
sizeintegerOptionalAny
sortstringOptionalscoring, publicationDate, price
sort_order_descbooleanOptionalAny
new_constructionbooleanOptionalAny
latitudenumberRequiredAny
longitudenumberRequiredAny

Example request

Fotocasa
GET/v1/fotocasa/map-search?latitude=40.4168&longitude=-3.7038&property_type=2&transaction_type=1&size=5
{
  "success": true,
  "data": {
    "page": 1,
    "served_page": 1,
    "page_size": 5,
    "items": [
      {
        "id": "1_186303595",
        "property_id": "186303595",
        "surface": 304,
        "rooms": 3,
        "baths": 3,
        "price": 440000,
        "location": {
          "latitude": "41.3738025",
          "longitude": "1.8935169",
          "accuracy": 1
        },
        "photo_url": "https://static.fotocasa.es/images/ads/f9f9f9d4-ea9a-4e06-978f-671cfd428dc9?rule=original",
        "has_map_visibility": true
      },
      {
        "id": "1_189454498",
        "property_id": "189454498",
        "surface": 132,
        "rooms": 3,
        "baths": 1,
        "price": 360000,
        "location": {
          "latitude": "41.3823932",
          "longitude": "1.9272289",
          "accuracy": 1
        },
        "photo_url": "https://static.fotocasa.es/images/ads/297d797b-e264-4d6f-94e9-44994c34dbef?rule=original",
        "has_map_visibility": true
      },
      {
        "id": "1_189457955",
        "property_id": "189457955",
        "surface": 132,
        "rooms": 3,
        "baths": 1,
        "price": 360000,
        "location": {
          "latitude": "41.3828144",
          "longitude": "1.9279434",
          "accuracy": 1
        },
        "photo_url": "https://static.fotocasa.es/images/ads/9d5899b0-0314-4862-975d-f8fdae063ea6?rule=original",
        "has_map_visibility": true
      }
    ]
  },
  "meta": {
    "duration_ms": 325,
    "endpoint_family": "map_search"
  }
}
200 OKJSONX-Credits-Used: 1
Recorded 12 Nov 2026 and shortened.

Run this endpoint in the playground with your own parameters. 1 credit per successful call; failed calls are free.

Response fields

Each item in data.items has these 9 fields, read from a recorded call that returned 5 items. The recording leaves out fields that were empty, so a live call can return more.

FieldType
idstring
property_idstring
surfaceinteger
roomsinteger
bathsinteger
priceinteger
locationobject
photo_urlurl
has_map_visibilityboolean