---
title: Rate Plans
---

[Skip to content](#_top)

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

[Billing](https://developers.cloudflare.com/api/python/resources/billing)

Copy Markdown

Open in **Claude**Open in **ChatGPT**Open in **Cursor**

---

**Copy Markdown****View as Markdown**

# Rate Plans

##### [Get Rate Plan by Public Key](https://developers.cloudflare.com/api/python/resources/billing/subresources/rate_plans/methods/get)

billing.rate\_plans.get(strpublic\_key) -> [RatePlanGetResponse](<https://developers.cloudflare.com/api/python/resources/billing#(resource)%20billing.rate_plans%20%3E%20(model)%20rate_plan_get_response%20%3E%20(schema)>)

GET/billing/rate\_plans/{public\_key}

##### ModelsExpand Collapse

<details>

<summary>

class RatePlanGetResponse: …

</summary>

id: Optional\[str]

The uppercase rate plan public key.

<a href="#(resource)%20billing.rate_plans%20%3E%20(model)%20rate_plan_get_response%20%3E%20(schema)%20%3E%20(property)%20id">Link to this property</a>

components: Optional\[List\[Dict\[str, object]]]

Pricing components that make up this rate plan.

<a href="#(resource)%20billing.rate_plans%20%3E%20(model)%20rate_plan_get_response%20%3E%20(schema)%20%3E%20(property)%20components">Link to this property</a>

currency: Optional\[str]

Currency of the rate plan pricing.

<a href="#(resource)%20billing.rate_plans%20%3E%20(model)%20rate_plan_get_response%20%3E%20(schema)%20%3E%20(property)%20currency">Link to this property</a>

public\_name: Optional\[str]

Human-readable description of the rate plan.

<a href="#(resource)%20billing.rate_plans%20%3E%20(model)%20rate_plan_get_response%20%3E%20(schema)%20%3E%20(property)%20public_name">Link to this property</a>

</details>

[Link to this property](<#(resource)%20billing.rate_plans%20%3E%20(model)%20rate_plan_get_response%20%3E%20(schema)>)