Docs / Reference
Lookups and Metadata: Allowed Values and Field Types
Where to read the exact fields, types and allowed values your key can use.
Two places tell you exactly what the server holds. The metadata document lists every resource and field your key can read, with its type. The Lookup resource lists the allowed values of lookup fields, such as the values of StandardStatus or PropertyType. Read both before you write filters, so every filter uses a value the feed has.
Requests
GET{SAIGE_MLS_API_URL}/Lookup
List allowed values
Returns the allowed values of list fields. Filter by LookupName, then copy a LookupValue into your filters exactly.
Query options
$filterstringKeep only records that match. Operators: eq, ne, gt, ge, lt, le, and, or, not. Text values go in single quotes.
Example: StandardStatus eq 'Active' and ListPrice le 1200000
$selectstringComma-separated fields to return. Ask only for what the page shows.
Example: ListingKey,ListPrice,BedroomsTotal,City
$orderbystringSort order: a field, then asc or desc. Add the key as a second field so pages stay stable.
Example: ListPrice asc,ListingKey asc
$topintegerLargest number of records to return in this answer.
Example: 24
$skipintegerNumber of records to skip, for page 2 and on. Follow @odata.nextLink when the answer has one.
Example: 24
$countbooleanWhen true, the answer carries @odata.count, the number of matching records.
Example: true
Headers
AuthorizationstringRequiredBearer followed by your key. Send it from server code only.
Example: Bearer {SAIGE_MLS_API_KEY}
Acceptstringapplication/json for data requests. $metadata answers in XML.
Example: application/json
Returns a list of Lookup records in the value array.
curl -G "$SAIGE_MLS_API_URL/Lookup" \ -H "Authorization: Bearer $SAIGE_MLS_API_KEY" \ -H "Accept: application/json" \ --data-urlencode "\$filter=LookupName eq 'PropertyType'" \ --data-urlencode "\$select=LookupName,LookupValue,StandardLookupValue"
{
"@odata.context": "{SAIGE_MLS_API_URL}/$metadata#Lookup",
"value": [
{
"LookupName": "PropertyType",
"LookupValue": "...",
"StandardLookupValue": "Residential"
}
]
}GET{SAIGE_MLS_API_URL}/$metadata
Get the metadata document
Returns an XML document that lists every resource and field your key can read, with each field's type.
Headers
AuthorizationstringRequiredBearer followed by your key. Send it from server code only.
Example: Bearer {SAIGE_MLS_API_KEY}
Acceptstringapplication/json for data requests. $metadata answers in XML.
Example: application/json
curl "$SAIGE_MLS_API_URL/\$metadata" \ -H "Authorization: Bearer $SAIGE_MLS_API_KEY"
<?xml version="1.0" encoding="UTF-8"?>
<edmx:Edmx Version="4.0" xmlns:edmx="http://docs.oasis-open.org/odata/ns/edmx">
<edmx:DataServices>
<Schema Namespace="...">
<EntityType Name="Property">
<Key><PropertyRef Name="ListingKey"/></Key>
<Property Name="ListingKey" Type="Edm.String"/>
...
</EntityType>
</Schema>
</edmx:DataServices>
</edmx:Edmx>The metadata document
Every RESO Web API server publishes XML metadata at $metadata under the service root. It names each resource, each field and its type, and how resources link to each other, such as Property to Media. AI coding assistants can read it too: paste it into the chat when you ask for code.
GET {SAIGE_MLS_API_URL}/$metadataAllowed values from Lookup
The Lookup resource is described by RESO as metadata about the lookups available on a server. Ask for one lookup by name to get its values.
GET {SAIGE_MLS_API_URL}/Lookup
?$filter=LookupName eq 'PropertyType'
&$select=LookupName,LookupValue,StandardLookupValueUsing lookup values in filters
Write a lookup value in quotes in a filter, exactly as the Lookup resource gives it: PropertyType eq 'Residential'. A value with a different spelling or case matches nothing. Fields that hold several values at once, such as Appliances, use any() in a filter; the page Filter Operators and Search Page Examples shows the form.
The Lookup record
The allowed values of each list field, such as every PropertyType value the feed uses. Key field: LookupKey. Your metadata document lists the fields your key can read.
LookupKeyStringUnique key of the lookup value.LookupNameStringName of the list, such as PropertyType.LookupValueStringThe value as the server uses it. Copy it into filters exactly.StandardLookupValueStringThe matching RESO standard value.LegacyODataValueStringOlder form of the value.ModificationTimestampTimestampWhen the value last changed.
Names and types from the RESO Data Dictionary 2.0.
Common questions
Why does my PropertyType filter return nothing?
The value is spelled differently in the feed. Read the PropertyType values from the Lookup resource and copy one exactly.
Is the metadata document JSON?
It is XML, as the RESO Web API Core specification requires. Data answers are JSON.
How often do lookup values change?
Rarely, but they can. Check ModificationTimestamp on Lookup records when you update your site.
What is StandardLookupValue for?
It maps the server's value to the RESO standard value, so code can work across feeds.
Can I give the metadata to ChatGPT or Claude?
Yes. Paste it with your question, and the assistant can use the exact field names. Never paste your key.
Where do I find area names for neighbourhood pages?
Read distinct MLSAreaMinor values from active listings, as the one-neighbourhood guide shows.
Does the metadata need my key?
Send your Authorization header with every request, including $metadata.
What are multi-valued fields?
Fields that hold a list, such as Appliances. Filter them with any().
Specifications
- Data Dictionary 2.0: Lookup resource (Real Estate Standards Organization (RESO))
- Web API Core specification (RESO Transport Workgroup)
- OData Version 4.01, Part 2: URL Conventions (OASIS)
Last reviewed 2026-11-20