Get an ad

GET /advertising/v1.0/ads/{adId}

Endpoint for retrieving advertisement by provided id.

Path parameters

  • adId string Required

    Id of an advertisement. It is either id that was provided in the response of the insert endpoint or it can be thirdPartyId, if it has been provided in the request body of the advertisement insert endpoint.

Responses

  • 200 application/json

    Advertisement successfully retrieved

    Hide response attributes Show response attributes object
    • success boolean Required
    • data object Required

      Additional properties are NOT allowed.

      Hide data attributes Show data attributes object
      • thirdPartyId string

        Optional custom id that can later be used instead of normal id in insert, update, delete etc. endpoints

      • status string

        This field controls the publicity status of the ad. Ads with status open and reserved will be publicly visible. Others will be hidden. If the advertised property was sold, use status sold. If the advertised property failed to sell and should be hidden, use the status lost. If you don't have the information about whether the property was sold or failed to sell or you want to hide it for any other reason, use the status inactive. If not provided upon insertion, it will default to open.

        Values are open, reserved, sold, lost, or inactive.

      • type string Required

        Values are sell, rent, auction, or share.

      • advertiserId string Required

        Id of a company. It is either id that was provided in the response of the insert endpoint or it can be thirdPartyId, if it has been provided in the request body of the company insert endpoint.

      • advertisingCompanyId string | null

        Id of a company. It is either id that was provided in the response of the insert endpoint or it can be thirdPartyId, if it has been provided in the request body of the company insert endpoint.

      • price number(float) | null

        Use total price for type sell and monthly rent for type rent.

      • currency string | null

        Values are czk, usd, or eur.

      • priceNote string | null
      • location string Required

        Most accurate location description of a location. Preferably exact address in the format common for the given country. If that isn't possible, provide us with the most accurate location description possible. (eg. '{street name}, {city}')

      • locationAccuracy string | null

        Accuracy of the provided location. If not provided upon insertion, will default to exact.

        • If accuracy is missing or is set to exact we will display the exact location that was provided.
        • If accuracy is set to other value we will try to find the closest entity of provided type, if we don't find it we will display the nearest non-exact entity we can find (eg. street)

        Values are exact, street, municipality_part, municipality, cadastral_area, or nearest_non_exact_geo_entity.

      • description string | null
      • referenceId string | null

        Also known as 'advert_code' on other platforms.

      • matterportUrl string | null
      • possibleMoveInDate string(date-time) | null
      • estimatedOtherCosts number(float) | null
      • point object | null

        Additional properties are NOT allowed.

        Hide point attributes Show point attributes object | null
        • latitude number(float) Required
        • longitude number(float) Required
      • property object Required

        Any of:
      • id string Required
      • advertiserThirdPartyId string
      • advertisingCompanyThirdPartyId string
      • previewUrl string
  • 404

    Advertisement does not exist.

GET /advertising/v1.0/ads/{adId}
curl \
 --request GET 'http://apis.reas.cz/advertising/v1.0/ads/63d9007e66fc41b2cd1057c6' \
 --header "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
  "success": true,
  "data": {
    "thirdPartyId": "1000025",
    "status": "open",
    "type": "sell",
    "advertiserId": "63d9007e66fc41b2cd1057c6",
    "advertisingCompanyId": "63d9007e66fc41b2cd1057c6",
    "price": 42.0,
    "currency": "czk",
    "priceNote": "string",
    "location": "Jablonecká 415/4, Praha 9",
    "locationAccuracy": "exact",
    "description": "string",
    "referenceId": "string",
    "matterportUrl": "string",
    "possibleMoveInDate": "2025-05-04T09:42:00Z",
    "estimatedOtherCosts": 42.0,
    "point": {
      "latitude": 42.0,
      "longitude": 42.0
    },
    "property": {
      "type": "flat",
      "subType": "flat",
      "floor": 42.0,
      "ownership": "private",
      "disposition": "1+kk",
      "floorArea": 42.0,
      "utilityArea": 42.0,
      "constructionType": "brick",
      "elevator": true,
      "floorsCount": 42.0,
      "balcony": true,
      "balconyArea": 42.0,
      "loggia": true,
      "loggiaArea": 42.0,
      "cellar": true,
      "cellarArea": 42.0,
      "terrace": true,
      "terraceArea": 42.0,
      "parkingSpace": true,
      "parkingSpaceCount": 42.0,
      "accessibility": true,
      "heatingKind": [
        "solid_fuels"
      ],
      "energyClass": "A",
      "sauna": true,
      "fireplace": true
    },
    "id": "string",
    "advertiserThirdPartyId": "string",
    "advertisingCompanyThirdPartyId": "string",
    "previewUrl": "string"
  }
}