PROD

The feed generation is performed every day at 2 AM UTC

This is a list of links with some descriptions of our Realestate inventory. These links are intended for redirecting us traffic from your portal. Contact us if you want start consuming these feeds.

Resource information
AuthenticationRequired
HTTP MethodGET
ResponseGZIP
Version1

Resource URL

https://mapaprop.app/api/action/feed-static-v1/download

Parameters

KeyTypeRequiredDescription
countrystringyesThe ISO code for the country. Constants

Sample code

GET /api/action/feed-static-v1/download?country=AR HTTP/1.1
Host: mapaprop.app
Authorization: Bearer ya29.1.AADtN_UxybTdjLw9jX6lg_SXIgc3wTtek4q2WvfETzSrz7Q6loEYoJEWd1x4qvlpGw

Response

Will download a gzip file containing the XML of the generated feed for the current date. There is going to be a list of property objects with ads inside it. Each ad has the following format.

ObjectFieldTypeRequiredDescription
AdadObjectyesThe main ad object
idStringyesThe property unique identifier
urlStringyesThe URL of the property in our portal
titleStringyesThe title of the property
typeStringyesThe type of operation "For sale", "For rent","Short term rental",  "For Barter", "For Share", "For Transfer"
currencyStringyesThe currency of the property
agencyStringyesThe name of the agency or realtor publishing the property
contentStringyesA general description of the property
priceIntegeryesThe price of the property
property_typeStringyesThe type of the property (Appartment, House, etc)
roomsIntegernoThe number of bedrooms
bathroomsIntegernoThe number of bathrooms
parkingIntegernoThe number of car garage
addressStringyesThe address of the property
cityStringyesThe city of the property
regionStringyesThe region of the property
latitudeDoublenoThe latitude of the property
longitudeDoublenoThe longitude of the property
dateStringyesThe date the property was published DD/MM/YYYY
expiration_dateStringyesThe date the property publication expires. Almost always gets renewed
orientationStringnoCardinal orientation of the property (este, oeste, norte...)
conditionStringnoCondition of the property (how good or bad is it)
is_furnishedStringnoIf the property has furniture or not. Useful for temp rentals.

Sample

<?xml version="1.0" encoding="UTF-8"?>
<properties>
  <ad>
    <id><![CDATA[56272]]></id>
    <url>https://www.memudoya.com/en/property/venta-de-departamento-en-caballito-capital-federal-317-253763/6b8dd3bc51a74cc5d0b4144278d55e9d]]></url>
    <title><![CDATA[Piso 3 dor. con vistas a la playa]]></title>
    <type><![CDATA[For Sale]]></type>
    <agency><![CDATA[Real Estate]]></agency>
    <content><![CDATA[CODIGO: 2214A-V020 ubicado en: calle Pola de Siero -  Publicado por: REAL ESTATE. Departamento en Venta en Torrevieja, Vega Baja del Segura, Alicante. El precio es EUR 95000. El estado es Excelente. Su antigüedad es de 15 años. La superficie cubierta es de 90 metros cuadrados. Su orientacion es Este. Servicios en el Departamento: . El Departamento cuenta con: 3 Dormitorios. 2 Baños. Cochera. Publicado a través de Mapaprop]]></content>
    <currency><![CDATA[EUR]]></currency>
    <price><![CDATA[95000]]></price>
    <property_type><![CDATA[Departamento]]></property_type>
    <rooms><![CDATA[3]]></rooms>
    <bathrooms><![CDATA[2]]></bathrooms>
    <parking><![CDATA[1]]></parking>
    <address><![CDATA[calle Pola de Siero]]></address>
    <city><![CDATA[Vega Baja del Segura]]></city>
    <region><![CDATA[Alicante]]></region>
    <latitude><![CDATA[37.9842926]]></latitude>
    <longitude><![CDATA[-36.0000047]]></longitude>
    <date><![CDATA[01/05/2014]]></date>
    <expiration_date><![CDATA[25/01/2017]]></expiration_date>
    <orientation><![CDATA[Este]]></orientation>
    <condition><![CDATA[Excelente]]></condition>
    <is_furnished><![CDATA[1]]></is_furnished>
  </ad>
</properties>

Examples

<?php

// init the URL
$ch = curl_init("https://mapaprop.app/api/action/feed-static-v1/download?country=AR");
// set your user agent
curl_setopt($ch, CURLOPT_USERAGENT, "YourCompany/1.0");
$headers = array('Authorization: Bearer ' . $YOURTOKEN); // here your token!
curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);
// execute the file download
$output = curl_exec($ch);

// Close the cURL resource, and free system resources
curl_close($ch);
?>