BETA

This service gives you the total number of properties that you can read from our system. The recomended use of this method is just once. After that, you have the total number of properties you can start getting by pages using of get-properties with from/to.

Resource information
Authentication Required
HTTP Method GET
Response JSON
Version 1

Resource URL

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

Parameters

Key Type Required Description
country string yes The ISO code for the country. Only 1 country at a time. ‣
types string yes Comma separated values of types. 1 or more types at a time. ‣
operations string yes Comma separated values of operations. 1 or more operations at a time. ‣

Sample code

GET /api/action/feed-v1/get-total?country=ES&types=1,2,7,16&operations=sale HTTP/1.1
Host: mapaprop.app
Content-Type: application/x-www-form-urlencoded
Content-Length: 0
Authorization: Bearer ya29.1.AADtN_UxybTdjLw9jX6lg_SXIgc3wTtek4q2WvfETzSrz7Q6loEYoJEWd1x4qvlpGw

Response

A simple number with the total properties in our system in JSON.

Object Field Type Required Description
Response total integer yes The total of properties ready to be queried by further calls

Sample code

{
    "total": 161484
}