Skip to content

RealEstateListing

A RealEstateListing is a listing of a property for sale or to rent, what an agent publishes. The property is an Accommodation (about) with its rooms, size and year built; the price and terms are Offers (businessFunction Sell or LeaseOut, availabilityStarts for the move-in date). The property stays while listings come and go. See Real estate listings.

Modeled on schema.org/RealEstateListing · JSON Schema · ABAC object type RealEstateListing

Example

Create one with POST /realestatelistings:

{
  "name": [
    {
      "at_language": "en",
      "at_value": "3 bedrooms near the park"
    }
  ],
  "datePosted": "2026-12-02T09:00:00Z",
  "about": {
    "at_id": "https://apis.objectsgrid.com/accommodations/2a3b4c5d-6e7f-4a8b-9c0d-1e2f3a4b5c6d"
  },
  "offers": [
    {
      "at_id": "https://apis.objectsgrid.com/offers/8c9d0e1f-2a3b-4c5d-8e6f-7a8b9c0d1e2f"
    }
  ],
  "leaseLength": {
    "value": 12,
    "unitCode": "MON"
  }
}

Fields

Required: name.

Field Type Required Description
at_context https://schema.org JSON-LD @context, always https://schema.org.
at_type RealEstateListing JSON-LD @type, the object's type name.
at_id URL The object's ObjectsGrid URL, https://apis.objectsgrid.com/<path>/<id>, its JSON-LD @id: what References to it hold. Assigned by ObjectsGrid.
id string The object's id. Assigned by ObjectsGrid when the object is created.
identifier string The object's id, as Schema.org identifier. Assigned by ObjectsGrid.
url URL The object's own URL, https://apis.objectsgrid.com/<path>/<id>. Assigned by ObjectsGrid.
name list of LanguageTaggedString Yes The RealEstateListing name. See schema.org/name.
description list of LanguageTaggedString The RealEstateListing description. See schema.org/description.
image list of URL Image URLs
mainEntityOfPage URL The listing's page on your site
datePosted date-time When it was posted
leaseLength QuantitativeValue For a rent, the lease's length: unitCode MON or ANN
about Reference to Accommodation or Place The property listed: an Accommodation, or a Place such as a building
offers list of References to Offer The Offers: price, businessFunction (Sell, LeaseOut), availabilityStarts for the move-in date
provider Reference to Organization or Person The agent or owner listing it
tags list of Tag Tags your ABAC policy decides on. Created empty when not sent, kept by a PUT that leaves them out, cleared by null or [].
meta ObjectMeta Read-only metadata: version, type, creation and last update.

REST API

Base URL https://apis.objectsgrid.com. Every request sends the X-ObjectsGrid-AccessPoint and Authorization: Bearer <access token> headers; see the REST API guide.

Operation Request
Create POST /realestatelistings
List and search GET /realestatelistings
Create up to 100 at once POST /realestatelistings/batch
Retrieve GET /realestatelistings/{id}
Retrieve as a JSON-LD document for your pages GET /realestatelistings/{id} with Accept: application/ld+json; see JSON-LD for your pages
Replace PUT /realestatelistings/{id}
Update some fields PATCH /realestatelistings/{id}
Delete DELETE /realestatelistings/{id}

The OpenAPI contract, with every parameter and response: RealEstateListings (JSON).

GraphQL

Endpoint POST https://apis.objectsgrid.com/graphql; see the GraphQL guide.

Operation Field
Query realEstateListing(id: ID!, version: String): RealEstateListing
Query realEstateListings(where: RealEstateListingWhereInput, orderBy: [RealEstateListingOrderByInput!], first: Int, after: String): RealEstateListingConnection!
Query realEstateListingsGroupBy(by: [RealEstateListingGroupByField!]!, where: RealEstateListingWhereInput, having: RealEstateListingHavingInput, orderBy: [RealEstateListingGroupByOrderByInput!], first: Int, after: String): RealEstateListingGroupByConnection!
Mutation createRealEstateListing(input: CreateRealEstateListingInput!): RealEstateListing!
Mutation updateRealEstateListing(input: UpdateRealEstateListingInput!, expectedVersion: String): RealEstateListing!
Mutation deleteRealEstateListing(id: ID!, expectedVersion: String): Boolean!

Webhook events

Subscribe to these events in your webhook configuration to be called when a RealEstateListing changes:

RealEstateListingCreated, RealEstateListingUpdated, RealEstateListingPatched, RealEstateListingDeleted.