---
title: "Get host allowlist"
method: GET
path: "/bus/hosts/allowlist"
tags: ["bus"]
---

# Get host allowlist

`GET /bus/hosts/allowlist`

Returns the list of allowed host public keys. If the allowlist is empty, all hosts are allowed. If the allowlist is not empty, only hosts with public keys that are in the allowlist are allowed and used to form contracts with.

## Response `200`

List of allowed host public keys

- PublicKey[]

## Other responses

- `500` — Internal server error

---

[API](https://skmtc.net/siafoundation/apis/renterd-api.md) · [All operations](https://skmtc.net/siafoundation/apis/renterd-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/siafoundation/renterd-api/versions/184a3d5207da/schema)
