Supabase pages
Sold Prices Behind a Sign-Up in Supabase
A VOW page in Supabase: visitors register first, then see recent sales. Each sign-up reaches the agent.
Part of the Supabase MLS API Integration guide · Last reviewed 2026-11-20

A sold prices page on Supabase uses Supabase Auth for the registration board rules require. The getSoldListings Edge Function checks the visitor's session before asking the VOW feed, and a profiles table stores the phone number and the date the visitor accepted the terms.
Key takeaways
- Sold data needs a VOW feed, where your board allows it.
- The server checks the visitor is signed in before asking for sold data.
- Your board sets what the sign-up and terms must include.
- Each registration goes to the agent as a lead.
Need the data feed for this? Saige is an approved MLS data vendor in BC. Send a request and our team will contact you.
Sign-in in Supabase
Supabase Auth supports email and password sign-up. Store the phone number and terms acceptance in a profiles table, with row level security so each visitor reads only their own row.
The prompt
Fill in the terms text your board requires before pasting.
Add a recent sales page at /sold, using a second server-side function, getSoldListings(filters), that calls the VOW feed. Sign-up rules: - Use Supabase Auth with email and password. Store phone and terms acceptance in a profiles table with row level security. - getSoldListings is an Edge Function that verifies the user's session before calling the feed. - The sign-up form asks for name, email and phone (all required) and shows these terms, which the visitor must tick to accept: [paste the terms your board requires]. - Save the date and time each visitor accepted the terms. - Add a separate, unticked checkbox: "Email me new sales and listings in this area." Save whether it was ticked. - Send each new registration to [agent email] with the visitor's details. Sold data: - getSoldListings must check on the server that the visitor is signed in. If not, return an error and no data. - Ask for StandardStatus 'Closed' in the site's area, CloseDate in the last [12] months, newest first. - Show: address, CloseDate, ListPrice, ClosePrice, beds, baths, LivingArea and the listing brokerage. 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.
What to confirm with your board
What the registration must include, what terms the visitor accepts, how far back sales may be shown, and which sold fields may appear. Our team goes through these for your board when we contact you. The difference between IDX and VOW is explained on IDX vs VOW: Which MLS Feed Your Website Needs.
Frequently asked questions
How does the function know who is signed in?
The page sends the user's session token with the call, and the function checks it with Supabase Auth before calling the feed.
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.
- Environment variables and secrets for Edge Functions (Supabase)
- Scheduling Edge Functions (Supabase)
- Auth (Supabase)
- Data Dictionary 2.0: Property resource (Real Estate Standards Organization (RESO))
- Canada's anti-spam legislation (Innovation, Science and Economic Development Canada)