RealEstateAgent schema: a practical guide
Published 15 November 2026. Updated 15 November 2026.
Tunji Williams-Fulwood, Luminara Digital
What the type is for
schema.org/RealEstateAgent defines the type as a real-estate agent. The property list on that page is mostly inherited. LocalBusiness contributes hours, a price range text, and payment notes. Organization contributes name, url, logo, address, telephone, and sameAs. areaServed is the property for the geographic area where the service is provided. You do not need a private vocabulary. You need the fields that are true on the page.
Google's structured data introduction calls structured data explicit clues about what a page means. Google recommends JSON-LD when your site can support it, and says the markup must describe content that is visible. Do not create an empty page just to hold a script. Google also says you should follow the general guidelines or the markup can be ineligible for rich results, and that supplying complete accurate fields matters more than filling every optional property. Nothing on that page promises that a RealEstateAgent script produces a special real estate panel.
Treat the script as a typed copy of the office, not as a ranking lever. If the visible page and the JSON disagree, fix the page first and then the script. An assistant or a search engine that trusts the wrong one will quote the wrong phone.
Fields that earn their place
name is the trading name, spelled the way the H1 spells it. url is the canonical page for that office, not a campaign link with tracking parameters. telephone is the number printed on the page, in international form. address is a PostalAddress with the locality, region, and country you show in the footer. If you do not publish a street number, do not invent one for the script.
areaServed is a list of places you will take work in. Use the same names as the area pages. A string is enough when the place is a suburb or district name. sameAs is for profile URLs that are actually yours: the Google Business Profile, the company page on a network you control, the licensing board entry if it is a public URL. Do not point sameAs at a competitor or at a portal search you do not own.
openingHours follows the text schema.org documents: two-letter days, 24-hour times, a hyphen between the start and the end. If the office hours on the page say by appointment, write that in the visible paragraph and skip a fake nine-to-five in the script. image and logo only if the file is the logo you show. description is one sentence, the same idea as the llms.txt blockquote.
A template to replace
This JSON-LD is an example for a fictional office. Replace every value, including the phone. Delete a field you cannot show on the page. Do not publish example.com.
{
"@context": "https://schema.org",
"@type": "RealEstateAgent",
"name": "Example Agency",
"url": "https://example.com/",
"telephone": "REPLACE_WITH_THE_NUMBER_ON_THE_PAGE",
"description": "Sales and leasing from one office in Northbridge.",
"address": {
"@type": "PostalAddress",
"addressLocality": "Northbridge",
"addressRegion": "NSW",
"addressCountry": "AU"
},
"areaServed": ["Northbridge", "Cammeray"],
"sameAs": ["https://example.com/team"]
}
Put it on the page a person sees
Paste the object inside script type="application/ld+json" on the office page. The first paragraph of that page should already say Example Agency, Northbridge, sales and leasing, and the phone. The suburb links in the nav should include Northbridge and Cammeray if those strings are in areaServed. Google's intro says not to mark up information a user cannot see, even when the information is accurate. Hidden accuracy is still hidden.
For a suburb page, you can repeat a smaller RealEstateAgent object that links back to the office url, or you can rely on the office page and make the suburb page ordinary HTML that names the same agency. Do not publish two telephone numbers. If the suburb page is the one you hope will be quoted, the agency name and phone still need to be in the visible text. The script does not replace that sentence. The suburb guide is the outline for the prose.
FAQ markup is a separate type. Add it only for questions and answers that are visible on that same page, worded the same way. The schema generator will attach up to three questions you type, and it tells you to use questions that already appear. It does not add review stars. Run it in the browser, copy the script, and hand it to whoever edits the site if that is not you.
Check the published page
Developers on a React or Vite site should render the JSON from the same data as the footer, not from a second hardcoded object. One component, one set of strings. Escape the script so a name cannot break out of the JSON. Server-render it if the marketing page is what crawlers fetch first. A script that appears only after a client fetch is a script some fetchers will miss.
- View source on the live URL and find application/ld+json. Confirm the name and phone match the pixels on the page.
- Open Google's Rich Results Test and paste the URL after it is public. Read the errors. A warning about a missing field you chose to omit is a choice, not an emergency.
- Search the script for aggregateRating. If you did not mean to mark up reviews, delete that block.
- When you change the phone or the areas, change the HTML and the JSON on the same deploy. Then update llms.txt if the links moved.
What this guide does not measure
The steps above change what a crawler can read and what your pages say. They are not a tally of mentions. Live answers from specific AI products stay Not measured unless you are on Agency or you connect your own search login. Measured, Estimated, and Not measured are defined on the methodology page.
Common questions
RealEstateAgent or LocalBusiness?
schema.org defines RealEstateAgent as a real-estate agent and lists it with the properties it inherits from LocalBusiness. Use RealEstateAgent for an office that sells or leases property. Use LocalBusiness if the business is local and is not a real estate office. The free generator offers both.
Will the markup create a star rating?
This guide leaves ratings out. Put a rating in markup only when the reviews are visible on that page and you are allowed to mark them up. The generator does not invent stars. Google's structured data intro says markup should describe content a person can see.
Where does the script go?
In the page it describes, usually the office page or the area page, inside a script tag of type application/ld+json. Google says JSON-LD can sit in the head or the body. One page should describe itself, not a different office.
Sources: schema.org RealEstateAgent · schema.org LocalBusiness · schema.org areaServed · Google structured data intro · Rich Results Test
More guides: All guides · Schema generator · Suburb pages · llms.txt for agencies
All guides · Run the free check