---
title: "Hostemi REST API"
description: "The Hostemi REST API: what it covers, the base URL, how a request and an answer look, and where the full endpoint reference is."
canonical: https://hostemi.com/docs/api
source: https://hostemi.com/docs/api.md
---

# Hostemi REST API

The Hostemi REST API: what it covers, the base URL, how a request and an answer look, and where the full endpoint reference is.

#### On this page

1. [What it covers](#what-it-covers)
2. [Base URL and versions](#base-url-and-versions)
3. [Your first call](#your-first-call)
4. [Access without a sales step](#access-without-a-sales-step)
5. [How writes work](#how-writes-work)
6. [Machine-readable](#machine-readable)

## What it covers

The Hostemi REST API is the same workspace the app shows, from your own code: properties and listings, the calendar and availability, nightly prices and stay rules, bookings, guests, messages, connected platforms, the booking website and reports. It calls the same domain operations as the app, the [MCP server](https://hostemi.com/docs/mcp) and the [hostemi CLI](https://hostemi.com/docs/cli), under the same permissions, limits and approval rules.

264 routes today (116 that read, 148 that write), all under one versioned base URL, all JSON.

## Base URL and versions

```text
https://api.hostemi.com/public/v1
```

The version is in the path. A breaking change would ship as `/public/v2`, and v1 keeps its contract; additions (a new optional field, a new route, a new enum value) happen inside v1, so ignore fields you do not know. A route that is going away answers with `Deprecation: true` and a `Sunset` date at least 180 days ahead. Nothing is deprecated today.

## Your first call

`/status` answers without a key: version, server time, where the OpenAPI document, the MCP server and the scopes are.

```bash
curl -s https://api.hostemi.com/public/v1/status
```

With a key (see [authentication](https://hostemi.com/docs/api/authentication)), list your listings:

```bash
export HOSTEMI_KEY=hst_your_key
curl -s https://api.hostemi.com/public/v1/units -H "Authorization: $HOSTEMI_KEY"
```

## Access without a sales step

Sign up at `https://hostemi.com/signup`: no sales call, no demo request. Every plan starts with a 7\-day free trial. You create the key yourself in the app under Settings, AI & apps; it is shown once. The API is part of Pro and Complete, the trial included.

## How writes work

A write goes through the workspace's approval setting. In the default, "Ask before changes", a write answers `202` `APPROVAL_REQUIRED` with a link for the host, and nothing changes until they approve in the app. [Changes and approvals](https://hostemi.com/docs/api/operations) explains the whole flow.

## Machine-readable

| Document | Address |
| --- | --- |
| OpenAPI 3 | `https://hostemi.com/openapi.json` |
| Full endpoint reference | [https://hostemi.com/api](https://hostemi.com/api) |
| OAuth resource metadata | `https://api.hostemi.com/.well-known/oauth-protected-resource` |
| For AI assistants | `https://hostemi.com/llms.txt` |

Documentation pages

Something missing from this page? Write to [hello@hostemi.com](mailto:hello@hostemi.com), or use the form on the [Help](https://hostemi.com/help) page.
