Wix set up
Wix Prompt to Build a Real Estate Site With MLS Listings
A starting point for Wix: the site structure, the feed rules and the board items, in one prompt.
Part of the Wix MLS API Integration guide · Last reviewed 2026-11-20

For Wix, the code is a Velo backend file plus page code. The prompt below is for an AI assistant writing that code. It keeps the feed call in backend/mls.web.js, has the page call the web method, and shows the board items on every listing.
Key takeaways
- Store the key first, so the prompt only names the secret.
- Fill in the brackets: agent name, area, board notice text.
- The prompt tells the builder to show only real listings from the feed.
- Check the result in Wix before adding more pages.
Need the data feed for this? Saige is an approved MLS data vendor in BC. Send a request and our team will contact you.
Before you paste
- Velo is on, and both secrets are in the Secrets Manager (Store Your MLS API Key in Wix).
- You have your board's required notice text.
- You have added a repeater on the page for the listing cards.
The prompt
Copy it, fill in the parts in square brackets, and paste it as one message.
Build a real estate website for [agent name], a REALTOR with [brokerage name] in [area], BC.
Listing data:
- Listings come from an MLS feed in the RESO Web API format (OData v4), with RESO Data Dictionary field names.
- The API key is in the secret SAIGE_MLS_API_KEY. The feed address is in the secret SAIGE_MLS_API_URL.
- Send the key as the header "Authorization: Bearer <key>". Never put the key or the feed address in page code, and never log the key.
- This is a Wix site with Velo. Call the feed only in backend/mls.web.js, reading both secrets with secrets.getSecretValue wrapped in elevate, and using wix-fetch. Export webMethods with Permissions.Anyone for listings.
- Page code imports getListings from 'backend/mls.web' and fills the repeater #listings. Listing pages use a dynamic page or a router.
- Create one server-side function, getListings(filters), that builds the $filter, $select, $orderby and $top query, calls {SAIGE_MLS_API_URL}/Property, follows @odata.nextLink when more results are asked for, and returns clean JSON to the pages.
- Use these fields: ListingKey, ListingId, StandardStatus, ListPrice, BedroomsTotal, BathroomsTotalInteger, LivingArea, PropertyType, PropertySubType, UnparsedAddress, City, MLSAreaMajor, MLSAreaMinor, Latitude, Longitude, PublicRemarks, ListOfficeName, OnMarketDate, ModificationTimestamp. Get photos from the Media resource, in Order.
- Show only listings with StandardStatus 'Active'.
Pages:
- Home, Search, a listing page at /listing/[ListingKey], About, Contact.
- Every listing card and listing page shows the listing brokerage (ListOfficeName) and this notice: [paste the notice text your board requires].
- Each listing page has a contact form: name, email and phone (all required) and a message. Send the ListingKey and address with the form.
Do not invent listings or sample data. If the feed returns an error, show "Listings are not available right now" and log the error on the server.Check what it built
- Preview and publish, then check listings load on the live site.
- View the live page source and search for the key: it must not appear.
- Check a listing shows the brokerage and the board notice.
Frequently asked questions
Does Velo work in the Wix preview?
Backend code runs in preview, but some member features only fully work on the published site, according to Wix's docs. Test on the live site.
Related pages in this guide
Sources
Every claim on this page that could be checked against a primary source is linked below. Where something is not publicly documented by a vendor, the page says so rather than filling the gap with an estimate.
- getSecretValue() (Wix)
- webMethod() (Wix)
- Current member (frontend) (Wix)
- Data Dictionary 2.0: Property resource (Real Estate Standards Organization (RESO))