Skip to main content

Retrieve a pricing

GET 

https://api.freemius.com/v1/products/{product_id}/plans/{plan_id}/pricing/{pricing_id}.json

Auth:Bearer TokenSCOPE: PRODUCT

Product-scoped API tokens allow you to operate on the product itself. This token usually allows read-only access to the product configuration and write access to several operations on subscriptions, customers, payments, and more. For most SaaS or app integrations, this is the token you will need.

  1. Go to the Freemius Developer Dashboard.
  2. Open the Settings page of the relevant product.
  3. Click the API & Keys tab.
  4. Copy the API Bearer Authorization Token from the UI.

Retrieve a specific plan pricing by ID.

Request

Path Parameters

    product_id integer<int64>required

    The ID of the product.

    Possible values: >= 1

    Example: 1234
    plan_id integer<int64>required

    The ID of the plan.

    Possible values: >= 1

    Example: 1234
    pricing_id integer<int64>required

    The ID of the Pricing.

    Possible values: >= 1

    Example: 1234

Query Parameters

    fields string

    Comma separated list of fields to return in the response. If not specified, all fields are returned.

    Example: id,name,slug

Responses

The plan pricing.

Schema
pricing object

The pricing represents the cost of a quota and billing cycles of a plan.

idstring<int64>

The unique identifier of the entity.

Possible values: >= 1

Example: 123456
createdstring<date-time>

The date and time the entity was created, under UTC timezone.

Example: 2025-01-01 00:00:00
updatedstring<date-time>nullable

The date and time the entity was updated, under UTC timezone. If null then the entity was never updated since its creation.

Example: 2025-01-01 00:00:00
currencystring

3-char currency code.

Possible values: >= 3 characters and <= 3 characters, [usd, eur, gbp]

plan_idstring<int64>

The ID of the plan.

Possible values: >= 1

Example: 1234
licensesintegernullable

The number of activations or quota supported by the license that will be created through the pricing (Using Freemius Checkout). Use null for unlimited activations or quota.

Example: 10
monthly_pricenumber<float>nullable

The price for a single month.

Example: 59.99
annual_pricenumber<float>nullable

The price for one year.

Example: 159.99
lifetime_pricenumber<float>nullable

The lifetime price.

Example: 359.99
is_whitelabeledboolean

Whether to whitelabel the license that will be created from this pricing upon successful Checkout.

is_hiddenboolean

Whether to hide the pricing from checkout and the pricing page in the WP dashboard.

We use essential cookies to enable our site to function. With your consent, we also use analytics and advertising cookies to understand how visitors interact with our site and to improve our services.
Learn More