PRODUCTION

This webservice returns the delta of properties (added vs removed) using the date parameters.

Resource information
Authentication Required
HTTP Method GET
Response JSON
Version 1

Resource URL

<https://mapaprop.app/api/action/feed-v1/get-delta>

Parameters

Key Type Required Description
country string yes The ISO code for the country. Only one country at a time. Check available countries
types string yes Comma separated values of types. Check available types here
operations string yes Comma separated values of operations. Check available operations here
startDate string no The start date for the additions vs removals. Format dd-mm-yyyy [check info]
endDate string no The end date for the additions vs removals. Format dd-mm-yyyy [check info]
locale string no The iso country code representing a locale to have texts translated to the particular country. Check available countries

<aside> ℹ️

Start and End date

If dateFrom is set you also must set endDate. If there is one missing you will get a bad request error. If no startDate or endDate is set, the delta will be for the last 24 hs UTC. The max delta between dates is 5 days. If that gap is longer an error will be thrown.

</aside>

Sample code

GET /api/action/feed-v1/get-delta?country=AR&types=1,3,18&operations=sale,temp HTTP/1.1
Host: mapaprop.app
Content-Type: application/x-www-form-urlencoded
Content-Length: 0
Authorization: Bearer ya29.1.AADtN_UxybTdjLw9jX6lg_SXIgc3wTtek4q2WvfETzSrz7Q6loEYoJEWd1x4qvlpGw

Response

Response will contain 2 arrays under removed and added properties. The first array will tell you what was removed mentioning property IDs just with the string value of it. The second array will be the same format as the get-properties method. GET /api/action/feed-v1/get-properties.

Object Field Type Required Description
Response removed Array of string yes The array of removed IDs View notes
added Array of Property yes The array of added properties. GET /api/action/feed-v1/get-properties
updated Array of Property yes The array of updated properties. GET /api/action/feed-v1/get-properties
Videos Array of Strings no Array of Updated videos
attributes attributes Array of json attributes no All property attributes
descriptionFormatted description string no Description with new formatting that accepts line breaks
attributes attributes Array of json attributes no All property attributes
descriptionFormatted description string no Description with new formatting that accepts line breaks

<aside> ℹ️

Removed notes

For performance issues removed IDs will be shown without having in consideration the operation and type parameters, only the dates. If there is a removed ID that is not in your list, just discard it.

</aside>

Sample code

{
    "removed": [
        "9962cff6870945141f04d152e7f6f887",
        "341ce07b6427914620c2f4bda5ffd86b",
        "19fe5cd586fb80e5b0e96b92c9e79596",
        "62aa4570ac6f66cd568d3041835d7286",
        "3d3e6760d3fdbdd17b225f69bdb42d17",
        "576d7047db7b2d1e93582f232389fce1",
        "b4ffbaa131421be16d6de39ef4f34ca3",
        "72e6f9dcd810b1a88d71f7dac40a4960",
        "ae81947557d3037d06b7f01e6c8fffe6",
        "fdeb833ede59e8f8be425b0718c54499"
    ],
    "updated": [
        {
    	    "id": "9c35a707b8c38e87e9a980400b7a9d3f",
	        "propertyCode": "813-168",
            "type": "apartment",
            "operation": "sale",
            "url": "<http://romanprops.com/p/5474864>",
            "title": "Departamento de 2 ambientes..!",
            "description": "CODIGO: MYRIF899 ubicado en: Sourdeuax 823 - Departamento en Bella Vista, Buenos Aires. Publicado a través de Mapaprop",
            "price": "199000",
            "expenses": "180",
            "lastUpdate": "198819819198199",
            "currency": "ARS",
            "builtArea": 45,
            "totalArea": 45,
            "bedrooms": 2,
            "bathrooms": 1,
            "yearsOld": 50,
            "totalFloors": 8,
            "apartmentsPerFloor": 5,
            "floors": 1,
            "orientation": "NORESTE",
            "ubication": "Frente",
            "balconyType": "Corrido",
            "location": {
                "latitude": "-33.5234234235",
                "longitude": "-59.0293482309",
                "country": "Argentina",
                "state": "Buenos Aires",
                "city": "Bella Vista",
                "address": "Sourdeaux 823",
                "zipCode": "1661"
            },
            "images": [
                "<http://gestion.mapaprop.com/images/photos/155/49998/56166.jpg>",
                "<http://gestion.mapaprop.com/images/photos/155/49998/261515.jpg>",
                "<http://gestion.mapaprop.com/images/photos/155/49998/56156.jpg>"
            ],
            "videos": [
                {
                    "description": "Hermosa isla",
                    "source": "<iframe width=\\"560\\" height=\\"315\\" src=\\"<https://www.youtube.com/embed/7nQ2oiVqKHw\\>" title=\\"YouTube video player\\" frameborder=\\"0\\" allow=\\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture\\" allowfullscreen></iframe>",
                },
            ],
            "agency": {
                "id": "ECID022222201EN",
                "name": "Roma Propiedades",
                "address": "Av Cramer 515",
                "phone": "84485145",
                "mobile": "541184485145",
                "email": "[email protected]",
                "logo": "<http://romaprop.com/img/logo.png>"
            },
            "amenities": [
                "Seguridad",
                "Baulera",
                "Calefaccion central",
                "Linea telefonica",
                "Encargado de edificio",
                "SUM"
            ]
        }, {...}
    ],
    "added": [
        {
    	    "id": "9c35a707b8c38e87e9a980400b755d3f",
	        "propertyCode": "813-166",
            "type": "house",
            "operation": "sale",
            "url": "<http://gonzalezprops.com/propiedades/id=3223923>",
            "title": "Propiedad con vista al mar, excelente oportunidad!",
            "description": "CODIGO: 1520- MYR1504 ubicado en: a 0.2km de la ciudad - Campo en Venta en Lobos, Buenos Aires. Publicado a través de Mapaprop",
            "price": "180000",
            "expenses": "150",
            "lastUpdate": "198819819198199",
            "paymentPeriod": "weekly",
            "currency": "USD",
            "builtArea": 180,
            "totalArea": 220,
            "occupancy": 5,
            "bedrooms": 4,
            "ambiences": 2,
            "bathrooms": 1,
            "location": {
                "latitude": "-33.23932932",
                "longitude": "-59.30203230",
                "country": "Argentina",
                "state": "Buenos Aires",
                "city": "Mar del Plata",
                "address": "De la Fuente 3993"
            },
            "images": [
                "<http://gestion.mapaprop.com/images/photos/1520/49998/343298.jpg>",
                "<http://gestion.mapaprop.com/images/photos/1520/49998/5155.jpg>",
                "<http://gestion.mapaprop.com/images/photos/1520/49998/23235.jpg>"
            ],
            "agency": {
                "id": "8441239688441236",
                "name": "Gonzalez Propiedades",
                "address": "Gorostiaga 9393",
                "phone": "666 7114",
                "mobile": "54351665685145",
                "email": "[email protected]",
                "logo": "<http://gonzalezprops.com/img/logo.png>"
            },
            "amenities": [
                "Patio",
                "Garage",
                "Aire acondicionado",
                "Linea telefonica",
                "Pileta",
                "Seguridad"
            ]
        }, 
        "descriptionFormatted": "CODIGO: 2544-Chañ ubicado en: Av. Los Chañares -  Publicado por: FÉLIX RUIZ. Terreno en Venta en Oro Verde, Paraná, Entre Ríos. El precio es de USD 17000 null. La superficie total es de 300 metros cuadrados. Servicios en el Terreno: . El Terreno cuenta con: Cochera. . Comodidades: Electricidad | Parrilla | Lavarropas | Apto profesional | Seguridad | Cloacas |  Publicado a través de Mapaprop",
        "attributes": [
            {
                "group_sub": "label",
                "country": "ar",
                "group_subtype": "services",
                "id": "electricity",
                "label": "Electricidad",
                "locale": "es_AR",
                "type": "bool",
                "group": "propertyAttribute",
                "status": true
            },
            {
                "group_sub": "label",
                "country": "ar",
                "group_subtype": "ammenities",
                "id": "grill",
                "label": "Parrilla",
                "locale": "es_AR",
                "type": "bool",
                "group": "propertyAttribute",
                "status": true
            },
            {
                "group_sub": "label",
                "country": "ar",
                "group_subtype": "ammenities",
                "id": "laundry-machine",
                "label": "Lavarropas",
                "locale": "es_AR",
                "type": "bool",
                "group": "propertyAttribute",
                "status": true
            },
            {
                "group_sub": "label",
                "country": "ar",
                "group_subtype": "extras",
                "id": "professional-available",
                "label": "Apto profesional",
                "locale": "es_AR",
                "type": "bool",
                "group": "propertyAttribute",
                "status": true
            },
            {
                "group_sub": "label",
                "country": "ar",
                "group_subtype": "services",
                "id": "security",
                "label": "Seguridad",
                "locale": "es_AR",
                "type": "bool",
                "group": "propertyAttribute",
                "status": true
            },
            {
                "group_sub": "label",
                "country": "ar",
                "group_subtype": "services",
                "id": "sewers",
                "label": "Cloacas",
                "locale": "es_AR",
                "type": "bool",
                "group": "propertyAttribute",
                "status": true
            }
        ]        
    ]
}