<aside> ℹ️ The feed generation is performed every day at 2 AM UTC
</aside>
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 | |
---|---|
Authentication | Required |
HTTP Method | GET |
Response | GZIP |
Version | 1 |
<https://mapaprop.app/api/action/feed-static-v1/download>
Key | Type | Required | Description |
---|---|---|---|
country | string | yes | The ISO code for the country. ‣ |
GET /api/action/feed-static-v1/download?country=AR HTTP/1.1
Host: mapaprop.app
Authorization: Bearer ya29.1.AADtN_UxybTdjLw9jX6lg_SXIgc3wTtek4q2WvfETzSrz7Q6loEYoJEWd1x4qvlpGw
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.
Object | Field | Type | Required | Description |
---|---|---|---|---|
Ad | ad | Object | yes | The main ad object |
id | String | yes | The property unique identifier | |
url | String | yes | The URL of the property in our portal | |
title | String | yes | The title of the property | |
type | String | yes | The type of operation "For sale", "For rent","Short term rental", "For Barter", "For Share", "For Transfer" | |
currency | String | yes | The currency of the property | |
agency | String | yes | The name of the agency or realtor publishing the property | |
content | String | yes | A general description of the property | |
price | Integer | yes | The price of the property | |
property_type | String | yes | The type of the property (Appartment, House, etc) | |
rooms | Integer | no | The number of bedrooms | |
bathrooms | Integer | no | The number of bathrooms | |
parking | Integer | no | The number of car garage | |
address | String | yes | The address of the property | |
city | String | yes | The city of the property | |
region | String | yes | The region of the property | |
latitude | Double | no | The latitude of the property | |
longitude | Double | no | The longitude of the property | |
date | String | yes | The date the property was published DD/MM/YYYY | |
expiration_date | String | yes | The date the property publication expires. Almost always gets renewed | |
orientation | String | no | Cardinal orientation of the property (este, oeste, norte...) | |
condition | String | no | Condition of the property (how good or bad is it) | |
is_furnished | String | no | If the property has furniture or not. Useful for temp rentals. |
<?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>
<?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);
?>