REALTY-DATA.
Property APIGuides

Photo URLs

Store MediaURL once and replace only its token when your credentials change

Every Media record carries a first-party MediaURL. Fetch it with a plain GET: it needs no header, so it can be used directly as an image source in a browser. The platform never returns a provider's own image URL.

MediaURL has two shapes. Your account receives one of them; which one is part of your onboarding handoff.

Stable photo URLs

https://media.property.intelliagent.com/m/s1/{OriginatingSystemName}/{ListingKey}/{MediaKey}/original?token={media token}
  • The path identifies the photo and nothing else. It is built from the record's own OriginatingSystemName, ListingKey and MediaKey, and it is the same in every environment and for every credential.
  • token is your media token. It is the same value on every MediaURL you receive with one credential.

Store the URL. When your credentials change, replace the token value. You do not need to re-read Media from OData to refresh stored links.

EventWhat changes in a stored URL
You move from pre-production to production credentialstoken only
You rotate your API credentialtoken only
Nothing changedNothing; the URL does not expire

To get the new value, read any one Media record with the new credential and copy the token query value from its MediaURL. During a rotation the old and the new token both work until the old credential is revoked, so you can replace stored values without an outage.

The media token is not your API key

The media token only reads photos your account is entitled to. It cannot call the API, and your API key never appears in a URL. Because the token is visible to anyone who is given a photo URL, treat it as shareable but revocable: ask your platform contact to rotate it if it is used somewhere you did not intend. Send the token as the only query parameter; a URL with any other parameter, or without a token, returns 404.

Opaque photo URLs

https://media.property.intelliagent.com/m/v3/{opaque value}

Accounts that are not on stable photo URLs receive this shape. The whole value is specific to one photo and one credential, so it must be re-read from OData after a credential change. Links you already stored keep working for as long as the credential that issued them is active, including after your account moves to stable photo URLs.

When a photo URL stops working

A photo URL is re-authorized on every request. Either shape returns 404 when:

  • the token or link was issued in a different environment;
  • the credential behind it was revoked, or the account is suspended;
  • the listing is outside your current entitlement;
  • the listing no longer carries that photo.

A 503 with Retry-After means the photo is being prepared; retry after the stated delay. Do not cache a 404 or 503 as a permanent result for the listing: re-read Media to learn whether the photo was removed.

On this page