Skip to Content
HomeLink Hub
Link Previews

Get the listings sitemap

GET
/og/sitemap-listings.xml

Access: Public, no token needed.

XML sitemap of every public listing, for search engines; the web app's robots.txt points at it. It contains one <url> per listing that is listed, verified and not deleted (the same set /api/v1/property/browse serves), most recently updated first, capped at 45,000 URLs, each with <loc><SITE_URL>/app/property/<id></loc> and a <lastmod> taken from the listing's updatedAt. The document is rebuilt at most once an hour. Mounted at /og on the API host, outside /api/v1. It is meant to be reached through the web app's static site, which rewrites /og/* and /app/property/* to this service, and is consumed by link-preview crawlers and search engines rather than by API clients. It does not use the JSON envelope.

Response Body

The sitemap. Sent with Cache-Control: public, max-age=3600.

response?stringapplication/xml
Example Request
curl -X GET 'http://localhost:4000/og/sitemap-listings.xml'
Example Response
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<urlset xmlns=\"http://www.sitemaps.org/schemas/sitemap/0.9\">\n  <url><loc>https://www.homelinkhub.org/app/property/665f1c2e9b1d4a0012ab34cd</loc><lastmod>2026-11-20T10:15:00.000Z</lastmod></url>\n</urlset>\n"