Enable your AI agent to search MLS listings in real-time, helping website visitors find properties that match their criteria through natural conversation.
6 min read
Updated May 2026
Trestle, now part of Cotality (formerly CoreLogic), brings one of the largest RESO-standard MLS data feeds in the country into ChatSpark. Visitors describe what they're looking for, your AI agent searches and responds in the same conversation. Connect your Client ID and Client Secret from the Cotality developer portal and you are live.
Before setting up the Trestle integration, you'll need:
Trestle access requires MLS board approval. If you do not yet have API access, visit the Cotality developer portal to apply.
| Field | Required | Description |
|---|---|---|
| Client ID | Yes | Your client_id from the Cotality developer portal |
| Client Secret | Yes | Your client_secret from the Cotality developer portal |
| Originating System Name | No | Optional. If your Trestle account is connected to more than one MLS board, enter the system name for the board you want this AI Action to search. Example: MRED |
| Website URL | Yes | Your website base URL. Example: https://myrealtorsite.com |
| Listing URL Path | Yes | Path appended to your Website URL for each listing link. Use {mls_id} and {address} as variables. Example: /listing/{mls_id}/ |
Visitors can search by any combination of the following:
Each result displays as a property card with a photo, price, address, beds/baths/sqft, and a link to the full listing.
Open your AI Agent widget and ask: “Show me homes for sale in [your area].” You should see matching listings returned. If no results appear, verify that your credentials are correct and that your MLS board has active listings accessible through Trestle.
Add a button to any listing page and turn property views into conversations. When a visitor clicks, ChatSpark opens with that address pre-filled, your AI agent pulls the listing details from Trestle, and can capture their contact details as the conversation continues.
Add the cs-trigger-agent class and a data-triggerattribute to any HTML element on your listing pages:
<button class="cs-trigger-agent" data-trigger="Tell me about 456 Willow Way, Nashville, TN 37202">
Ask AI
</button>Use the full street address as it appears in your MLS data. See AI Agent Triggers for full setup options.
Trestle is designed to aggregate data across multiple MLS boards under a single account. By default, a search will return listings from all boards your account has access to.
If you want to limit searches to one specific board, add the Originating System Name for that board in the AI Action configuration. You can find this value in the Cotality developer portal or by reviewing the data returned from your feed. It is typically a short identifier such as MRED or CARETS.
If the credential test fails:
If searches return no results:
If your Trestle account covers more than one board and results are pulling from the wrong one, add your Originating System Name to the AI Action configuration to scope all searches to the correct board.
Make sure both your Website URL and Listing URL Path are set in the AI Action configuration. The Listing URL Path must include the {mls_id} variable to generate valid links.
A 401 or 403 error means the credentials could not authenticate. Re-enter your Client ID and Client Secret in the AI Action configuration. A 400 error may indicate a search filter issue. Try simplifying your query.