---
title: Rate Plans
---

[Skip to content](#_top)

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

[Billing](https://developers.cloudflare.com/api/typescript/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/typescript/resources/billing/subresources/rate_plans/methods/get)

client.billing.ratePlans.get(stringpublicKey, RequestOptionsoptions?): [RatePlanGetResponse](<https://developers.cloudflare.com/api/typescript/resources/billing#(resource)%20billing.rate_plans%20%3E%20(model)%20rate_plan_get_response%20%3E%20(schema)>) {id, components, currency, public\_name }

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

##### ModelsExpand Collapse

<details>

<summary>

RatePlanGetResponse {id, components, currency, public\_name }

</summary>

id?: string

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?: Array&lt;Record&lt;string, unknown&gt;&gt;

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?: string

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?: string

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)>)