---
title: Quota
---

[Skip to content](#%5Ftop) 

[API Reference](https://developers.cloudflare.com/api/python)

[Custom Hostnames](https://developers.cloudflare.com/api/python/resources/custom%5Fhostnames)

Copy Markdown

Open in **Claude**

Open in **ChatGPT**

Open in **Cursor**

---

**Copy Markdown**

**View as Markdown**

# Quota

##### [Get Custom Hostname Quota](https://developers.cloudflare.com/api/python/resources/custom%5Fhostnames/subresources/quota/methods/get)

custom\_hostnames.quota.get(QuotaGetParams\*\*kwargs)  \-> [QuotaGetResponse](https://developers.cloudflare.com/api/python/resources/custom%5Fhostnames#%28resource%29%20custom%5Fhostnames.quota%20%3E%20%28model%29%20quota%5Fget%5Fresponse%20%3E%20%28schema%29)

GET/zones/{zone\_id}/custom\_hostnames/quota

##### ModelsExpand Collapse 

class QuotaGetResponse: …

allocated: int

The allocated custom hostname quota.

formatint64

exceeded: bool

Whether the current usage has exceeded the allocated quota.

hard\_cap: int

The maximum number of custom hostnames allowed before create requests are rejected.

formatint64

used: int

The number of custom hostnames currently in use.

formatint64