Skip to content

Generate area text

Generate a description for an area.

POST /restapi/api/ai/v1.0/nlg/listing/area/generate

Supported media types:
JSON

Request

JSON (minimal example):

1
2
3
4
5
{
  "location": {
    "city": "Berlin"
  }
}

JSON (full example):

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
{
  "location": {
    "street": "Hannoversche Str.",
    "number": "15",
    "postalCode": "10115",
    "city": "Berlin",
    "district": "Mitte",
    "geoCoordinates": {
      "lambertEuCoordinatesX": 1.2,
      "lambertEuCoordinatesY": 3.4,
      "latitude": 5.6,
      "longitude": 7.8
    }
  }
}

Response

JSON:

1
2
3
{
  "areaText": "Die Immobilie liegt in Berlin Mitte."
}

Possible Errors

400 - Invalid or missing request object. 401 - Invalid or expired authorization token. 500 - Unexpected service error.