Rental management
Mortgage advisors help you understand what you can afford before you start. Most of our homes sell within six weeks, often above the asking price.
Overview
Honest advice comes first, even when it means waiting for the right home. Price alerts tell you the moment a home that fits your search comes on the market. Every listing is checked by our team, so the photos match what you see in person.
Installation
Install the SDK with the package manager your project already uses. It needs Node 18 or newer.
$ npm install @vivid-studio/sdk$ yarn add @vivid-studio/sdk$ pnpm add @vivid-studio/sdkConfiguration
Book viewings online and take a 3D tour before you leave the house. Our team has done this many times, so you never have to guess. Create a file named vivid-studio.config.json in the project root:
{
"project": "vivid-studio",
"region": "us-east",
"categories": ["apartments", "houses", "villas"],
"retries": 5,
"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
Start in minutes and get help from a real person whenever you need it.
- 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 "@vivid-studio/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_3306", "name": "Family house", "price": 114 }
],
"has_more": true
}Troubleshooting
Next steps
Every listing is checked by our team, so the photos match what you see in person.