Docs / Guides
Use These Docs With ChatGPT, Claude and Gemini
Give an AI assistant the plain-text docs, and it writes working Saige API code.
These docs are also published as one plain-text file at /saige-mls-api-docs.md, written so an AI assistant can read the whole API in one go. Give the file's address or its text to ChatGPT, Claude, Gemini, Cursor or Lovable, describe the page you want, and the assistant has the resource names, field names, filters and paging rules it needs.
A prompt that works
Paste this into ChatGPT, Claude, Gemini or your builder, with the docs attached or linked.
Read the Saige MLS API documentation at https://www.realsaige.com/saige-mls-api-docs.md. Write a server-side function getListings(filters) for [Lovable / WordPress / Node]. - Read the service root from the secret SAIGE_MLS_API_URL and the key from SAIGE_MLS_API_KEY. - Send the key as Authorization: Bearer. Never put it in page code or logs. - Ask the Property resource for StandardStatus 'Active', with $select for the fields a search card shows. - Support price range, minimum bedrooms and the area field MLSAreaMinor. - Follow @odata.nextLink for a Show more button. - Double apostrophes in text values and convert numbers before they go into $filter. - Show the listing brokerage (ListOfficeName) on every card. Do not invent field names: use only names from the documentation.
What to give the assistant
The more exact the context, the closer the first answer is to working code:
- The docs file, or the address of the page you need, such as Filter Operators and Search Page Examples.
- The OpenAPI file at https://www.realsaige.com/saige-mls-api-openapi.json. It lists every request, query option and field type in the standard format that Postman, Swagger, Cursor and custom GPT actions read.
- Your metadata document from {SAIGE_MLS_API_URL}/$metadata, so it uses the exact fields your key can read.
- Your builder's name and where its server code runs.
- The page you want: search, map, one neighbourhood, sold prices.
Check what the assistant writes
Before you publish, check four things:
- The key is read from a secret, in server code only.
- Every field name appears in these docs or in your metadata document.
- Text values from visitors are quoted and escaped.
- The page shows the brokerage credit and the notice your board requires.
Common questions
Can ChatGPT read the Saige API docs?
Yes. Give it the address of the plain-text docs, or paste the text, and ask for code.
Should I paste my API key into the chat?
No. Tell the assistant the secret's name, SAIGE_MLS_API_KEY, and keep the key in your builder's secret storage.
Which assistants work?
Any that can read a web page or a pasted file: ChatGPT, Claude, Gemini, Cursor, Claude Code, Lovable and the rest.
Why give it my metadata document too?
It lists the exact fields your key can read, so the code does not ask for a field your feed lacks.
The assistant invented a field. What now?
Ask it to use only names from the docs or your metadata document, and paste the field list again.
Can the assistant test the code for me?
It can write the code. Run it yourself in your builder or on your server, where your key is stored.
Can the assistant get me a key?
No. Keys come from our team after the review. Send the request form on this page.
Where are the builder-specific prompts?
Each builder guide has a build prompt, a search page prompt, a one-area prompt and a sold data prompt.
Specifications
- RESO Web API (Real Estate Standards Organization (RESO))
- Secrets Management Cheat Sheet (OWASP Foundation)
Last reviewed 2026-11-20