Get a listing's link-preview image
Access: Public, no token needed.
Serves the 1200x630 JPEG preview card (Open Graph image) for a listing, drawn from its first photo, title, price and location. 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.
file is the property id followed by .jpg (the suffix is optional and case-insensitive). A card exists only for listings that are not deleted and whose status is listed, rented or sold; verification is not required. Cards are cached in memory for 24 hours per listing version, and the ?v= value the meta tags append is only a cache-buster that the server ignores.
This endpoint never returns an error status: for a malformed id, a missing or private listing, a failed lookup or a failed render it answers 302 to the site-wide default image (<SITE_URL>/og-image.jpg).
file*string<propertyId>.jpg. The .jpg suffix may be omitted.
v?stringCache-busting version string; ignored by the server.
The listing's preview card as binary JPEG. Sent with Cache-Control: public, max-age=86400, stale-while-revalidate=604800.
curl -X GET 'http://localhost:4000/og/property/string'
HomeLink Hub