Home valuation
We keep things simple, so you can focus on what matters to you. Every listing is checked by our team, so the photos match what you see in person.
Overview
Start in minutes and get help from a real person whenever you need it. Neighbourhood guides cover transport, schools and things to do. Get a free, no-obligation valuation of your home within 48 hours. Sellers get professional photos, floor plans and a marketing plan included.
Installation
Install the SDK with the package manager your project already uses. It needs Node 18 or newer.
$ npm install @miraly/sdk$ yarn add @miraly/sdk$ pnpm add @miraly/sdkConfiguration
Most of our homes sell within six weeks, often above the asking price. We handle the paperwork, so you can focus on planning the move. Create a file named miraly.config.json in the project root:
{
"project": "miraly",
"region": "ap-south",
"categories": ["apartments", "houses", "villas"],
"retries": 4,
"timeoutMs": 6000,
"webhooks": { "enabled": true }
}| Option | Type | Default | Description |
|---|---|---|---|
project | string | - | Your project key from the dashboard. |
region | string | "us-east" | Data centre closest to your buyers. |
retries | number | 3 | How often a failed call is retried. |
timeoutMs | number | 10000 | Time before a request is cancelled. |
webhooks.enabled | boolean | false | Send events to your endpoint. |
Your first request
Thousands of buyers already trust us, and we work hard to keep it that way.
- Create an API keyOpen the dashboard, choose Settings › API keys and copy a new secret key.
- Store it safelyKeep the key in an environment variable, never in your source code.
- Make the callRun the snippet below; it prints the first page of results.
import { Client } from "@miraly/sdk";
const client = new Client({ apiKey: process.env.API_KEY });
// list the newest propertys in one category
const page = await client.propertys.list({ category: "apartments", limit: 20 });
for (const item of page.data) {
console.log(item.name, item.price);
}API reference
Every endpoint returns JSON and uses standard HTTP status codes.
/v1/propertiesList properties with paging and filters./v1/propertiesCreate a new property./v1/properties/{id}Update some fields of a property./v1/properties/{id}Archive a property; it can be restored for 30 days.{
"data": [
{ "id": "property_6092", "name": "Garden villa", "price": 108 }
],
"has_more": true
}Troubleshooting
Next steps
We measure success by how many buyers come back and tell their friends.