---
title: "Check whether any past rentals exist"
method: GET
path: "/v2/on-demand/has-rental-history"
tags: ["rentals"]
---

# Check whether any past rentals exist

`GET /v2/on-demand/has-rental-history`

## Request

- Base URL: `https://api.hyperbolic.ai`
- URL: `https://api.hyperbolic.ai/v2/on-demand/has-rental-history`
- Auth: HTTP bearer

Whether the caller has at least one rental that has ended.

## Query parameters

- `includePrivateCloud` boolean: Count ended private-cloud rentals too. Defaults to true.

## Response `200`

Successful response

- boolean

## Other responses

- `400`: Invalid input data
- `401`: Authorization not provided
- `403`: Insufficient access
- `404`: Not found
- `500`: Internal server error

## Changes

- **2026-10-02** `ebd897f09c16`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/hyperbolic/apis/castle-api/changes/v2/on-demand/has-rental-history/get.md)

---

[API](https://skmtc.dev/hyperbolic/apis/castle-api.md) - [All operations](https://skmtc.dev/hyperbolic/apis/castle-api/llms.txt) - [OpenAPI document](https://skmtc.dev/hyperbolic/apis/castle-api/revisions/d4d4f25214b8?raw)
