POST
/
v2
/
protected
/
experimental
/
estimate
const request = require('request');

const options = {
  method: 'POST',
  url: 'https://api.fluximmo.io/v2/protected/experimental/estimate',
  headers: {'content-type': 'application/json', 'x_api_key': 'REPLACE_KEY_VALUE'},
  body: {
    property: {
      bedroomsCount: 0,
      isRecent: true,
      landSurfaceArea: 0,
      lat: 0,
      lon: 0,
      newProperty: true,
      pool: true,
      propertyType: 'HOUSE',
      roomsCount: 0,
      surfaceArea: 0,
      workToDo: true
    }
  },
  json: true
};

request(options, function (error, response, body) {
  if (error) throw new Error(error);

  console.log(body);
});
{
  "error": {
    "code": 123,
    "message": "<string>"
  }
}

Authorizations

x-api-key
string
headerrequired

Body

application/json
property
object
required

Properties to estimate

Response

400 - application/json
error
object
required

Error object

Was this page helpful?